exampleOpen |
smartgwt |
grid_autofit_space |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=SectionStack||index=0||length=5||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=section0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[itemID=1||itemName=Adding%20Machine%20Roll%2057x57mm%20Standard||0]/col[fieldName=itemName||0] |
|
waitForSystemDone |
|
|
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=isc_SectionStackSection_0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.getVisibleRows() |
0,6 |
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=isc_SectionStackSection_0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); var width = grid.getScrollWidth(); Math.abs(449 - width) < 10 |
true |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=isc_SectionStackSection_0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/resizeBar[Class=Snapbar||index=0||length=1||classIndex=0||classLength=1]/ |
|
click |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=isc_SectionStackSection_0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/resizeBar[Class=Snapbar||index=0||length=1||classIndex=0||classLength=1]/ |
|
waitForSystemDone |
|
|
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=isc_SectionStackSection_0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.getVisibleRows() |
0,6 |
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=isc_SectionStackSection_0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); var width = grid.getScrollWidth(); Math.abs(640 - width) < 10 |
true |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Details||scRole=heading||name=isc_SectionStackSection_1]/ |
|
click |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Details||scRole=heading||name=isc_SectionStackSection_1]/ |
|
waitForSystemDone |
|
|
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=isc_SectionStackSection_0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.getVisibleRows() |
0,14 |
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=1||classIndex=0||classLength=1]/section[Class=SectionHeader||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Summary||scRole=heading||name=isc_SectionStackSection_0]/item[Class=HLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); var width = grid.getScrollWidth(); Math.abs(640 - width) < 10 |
true |