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() > 295 && myWindow.getHeight() < 315 | 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() > 345 && myWindow.getHeight() < 365 && myWindow.getWidth() > 355 && myWindow.getWidth() < 365 | 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.getWidth() == 100 && myWindow.body.getScrollHeight() > myWindow.body.getHeight() | 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