windowsDragging-1.rctest
exampleOpen smartgwt layout_windows_dragging
waitForElementClickable scLocator=//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]/B
dragAndDrop scLocator=//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]/B +0,+120
assertEval var myWindow = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]"); myWindow.getHeight() > 350 && myWindow.getHeight() < 370 true
waitForElementClickable scLocator=//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]/BR
dragAndDrop scLocator=//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]/BR +48,+50
assertEval var myWindow = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]"); myWindow.getHeight() > 390 && myWindow.getHeight() < 420 && myWindow.getWidth() > 330 && myWindow.getWidth() < 370 true
waitForElementClickable scLocator=//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]/headerLabel/
dragAndDrop scLocator=//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]/headerLabel/ +200,+100
assertEval var myWindow = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]"); myWindow.getTop() > 95 && myWindow.getTop() < 105 && myWindow.getLeft() > 195 && myWindow.getLeft() < 205 true
waitForElementClickable scLocator=//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]/R
dragAndDrop scLocator=//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]/R -300,+0
assertEval var myWindow = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/child[Class=Window||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Severity%20Levels||scRole=dialog]"); myWindow.body.getScrollHeight() > myWindow.body.getHeight() true