exampleOpen |
smartgwt |
grid_dataoperations_fetch |
waitForGridDone |
scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list] |
|
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.getLength() |
0 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=HStack||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=1||length=4||classIndex=0||classLength=3||roleIndex=0||roleLength=3||title=Fetch%20Code%3AUS||scRole=button]/ |
|
click |
scLocator=//testRoot[]/child[Class=HStack||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=1||length=4||classIndex=0||classLength=3||roleIndex=0||roleLength=3||title=Fetch%20Code%3AUS||scRole=button]/ |
|
waitForGridDone |
scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list] |
|
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.getLength() |
1 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=HStack||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=2||length=4||classIndex=1||classLength=3||roleIndex=1||roleLength=3||title=Fetch%20Continent%3AEurope||scRole=button]/ |
|
click |
scLocator=//testRoot[]/child[Class=HStack||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=2||length=4||classIndex=1||classLength=3||roleIndex=1||roleLength=3||title=Fetch%20Continent%3AEurope||scRole=button]/ |
|
waitForGridDone |
scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list] |
|
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.getLength() |
44 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=HStack||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=3||length=4||classIndex=2||classLength=3||roleIndex=2||roleLength=3||title=Fetch%20All||scRole=button]/ |
|
click |
scLocator=//testRoot[]/child[Class=HStack||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=3||length=4||classIndex=2||classLength=3||roleIndex=2||roleLength=3||title=Fetch%20All||scRole=button]/ |
|
waitForGridDone |
scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list] |
|
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.getLength() |
216 |
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.rowIsLoaded(200) |
false |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/vscrollbar/peer[Class=VSimpleScrollThumb||index=0||length=1||classIndex=0||classLength=1||title=%26nbsp%3B||name=main]/ |
|
dragAndDropToObject |
scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/vscrollbar/peer[Class=VSimpleScrollThumb||index=0||length=1||classIndex=0||classLength=1||title=%26nbsp%3B||name=main]/ |
scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/vscrollbar/blank10 |
waitForGridDone |
scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list] |
|
assertEval |
var grid = selenium.browserbot.getCurrentWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/member[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]"); grid.data.rowIsLoaded(200) |
true |