exampleOpen |
smartgwt |
grid_editing_mass_update |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=IButton||index=1||length=4||classIndex=0||classLength=3||roleIndex=0||roleLength=3||title=Edit%20New||scRole=button]/ |
|
assertEval |
var dataSource = selenium.browserbot.getCurrentWindow().isc.AutoTest.getLocatorCanvas("//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]").dataSource; dataSource.autoCacheAllData = true; dataSource.setClientOnly(true); true |
true |
waitForCondition |
var dataSource = selenium.browserbot.getCurrentWindow().isc.AutoTest.getLocatorCanvas("//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]").dataSource; dataSource.hasAllData() |
5000 |
click |
scLocator=//testRoot[]/child[Class=IButton||index=1||length=4||classIndex=0||classLength=3||roleIndex=0||roleLength=3||title=Edit%20New||scRole=button]/ |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Bolivia||index=0||Class=TextItem]/element |
|
type |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Bolivia||index=0||Class=TextItem]/element |
Bolivia |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Bolivia||index=0||Class=TextItem]/element |
|
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Bolivia||index=0||Class=TextItem]/element |
09 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/[icon="picker"] |
|
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/[icon="picker"] |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=South%20America||4]/col[fieldName=continent||0] |
|
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=South%20America||4]/col[fieldName=continent||0] |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=10000000||index=3||Class=TextItem]/element |
|
type |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=10000000||index=3||Class=TextItem]/element |
10000000 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=10000000||index=3||Class=TextItem]/element |
|
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=10000000||index=3||Class=TextItem]/element |
13 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=IButton||index=1||length=4||classIndex=0||classLength=3||roleIndex=0||roleLength=3||title=Edit%20New||scRole=button]/ |
|
click |
scLocator=//testRoot[]/child[Class=IButton||index=1||length=4||classIndex=0||classLength=3||roleIndex=0||roleLength=3||title=Edit%20New||scRole=button]/ |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Argentina||index=0||Class=TextItem]/element |
|
type |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Argentina||index=0||Class=TextItem]/element |
Argentina |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/[icon="picker"] |
|
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/[icon="picker"] |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=South%20America||4]/col[fieldName=continent||0] |
|
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=South%20America||4]/col[fieldName=continent||0] |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=17000000||index=3||Class=TextItem]/element |
|
type |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=17000000||index=3||Class=TextItem]/element |
17000000 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=17000000||index=3||Class=TextItem]/element |
|
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=17000000||index=3||Class=TextItem]/element |
13 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=IButton||index=2||length=4||classIndex=1||classLength=3||roleIndex=1||roleLength=3||title=Save||scRole=button]/ |
|
click |
scLocator=//testRoot[]/child[Class=IButton||index=2||length=4||classIndex=1||classLength=3||roleIndex=1||roleLength=3||title=Save||scRole=button]/ |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=IButton||index=1||length=4||classIndex=0||classLength=3||roleIndex=0||roleLength=3||title=Edit%20New||scRole=button]/ |
|
click |
scLocator=//testRoot[]/child[Class=IButton||index=1||length=4||classIndex=0||classLength=3||roleIndex=0||roleLength=3||title=Edit%20New||scRole=button]/ |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Brasil||index=0||Class=TextItem]/element |
|
type |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=countryName||title=Country||value=Brasil||index=0||Class=TextItem]/element |
Brasil |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/[icon="picker"] |
|
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/[icon="picker"] |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=South%20America||4]/col[fieldName=continent||0] |
|
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=continent||title=Continent||index=1||Class=SelectItem]/pickList/body/row[continent=South%20America||4]/col[fieldName=continent||0] |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=2400000||index=3||Class=TextItem]/element |
|
type |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=2400000||index=3||Class=TextItem]/element |
2400000 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=2400000||index=3||Class=TextItem]/element |
|
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=4||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/editRowForm/item[name=population||title=Population||value=2400000||index=3||Class=TextItem]/element |
13 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=IButton||index=3||length=4||classIndex=2||classLength=3||roleIndex=2||roleLength=3||title=Discard||scRole=button]/ |
|
click |
scLocator=//testRoot[]/child[Class=IButton||index=3||length=4||classIndex=2||classLength=3||roleIndex=2||roleLength=3||title=Discard||scRole=button]/ |
|