exampleOpen |
smartgwt |
layout_nesting |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Label||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Navigation||scRole=label]/ |
|
click |
scLocator=//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Label||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Navigation||scRole=label]/ |
|
assertEval |
var myLabel = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Label||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Navigation||scRole=label]/");selenium.getAutWindow().isc.navigationWidth = myLabel.getWidth();myLabel = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=Label||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Listing||scRole=label]/");selenium.getAutWindow().isc.listingHeight = myLabel.getHeight();selenium.getAutWindow().isc.listingWidth = myLabel.getWidth();myLabel = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=Label||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Details||scRole=label]/");selenium.getAutWindow().isc.detailsHeight = myLabel.getHeight();selenium.getAutWindow().isc.detailsWidth = myLabel.getWidth();true; |
true |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/resizeBar[Class=Snapbar||index=0||length=1||classIndex=0||classLength=1]/ |
|
dragAndDrop |
scLocator=//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/resizeBar[Class=Snapbar||index=0||length=1||classIndex=0||classLength=1]/ |
+175,0 |
assertEval |
var myLabel = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Label||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Navigation||scRole=label]/"); (myLabel.getWidth() == selenium.getAutWindow().isc.navigationWidth + 175) |
true |
assertEval |
var myLabel = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=Label||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Listing||scRole=label]/"); (myLabel.getWidth() == selenium.getAutWindow().isc.listingWidth - 175) |
true |
assertEval |
var myLabel = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=Label||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Details||scRole=label]/"); (myLabel.getWidth() == selenium.getAutWindow().isc.detailsWidth - 175) |
true |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/resizeBar[Class=Snapbar||index=0||length=1||classIndex=0||classLength=1]/ |
|
dragAndDrop |
scLocator=//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/resizeBar[Class=Snapbar||index=0||length=1||classIndex=0||classLength=1]/ |
0,+160 |
assertEval |
var myLabel = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=Label||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Listing||scRole=label]/"); (myLabel.getHeight() == selenium.getAutWindow().isc.listingHeight + 160) |
true |
assertEval |
var myLabel = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=Label||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Details||scRole=label]/"); (myLabel.getHeight() == selenium.getAutWindow().isc.detailsHeight - 160) |
true |