exampleOpen |
smartgwt |
grid_interaction_cellselection |
waitForGridDone |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/ |
|
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=IN||capital=New%20Delhi||3]/col[fieldName=capital||2] |
|
verifyValue |
scLocator=//testRoot[]/child[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=countries||title=Selected%20Cells||index=0||Class=TextAreaItem]/element |
[[3,2]] |
assertEval |
var myListGrid = selenium.getAutWindow().isc.AutoTest.getObject("scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/"); myListGrid.getEventColumn() == 2 && myListGrid.getEventRow() == 3 |
true |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||capital=London||5]/col[fieldName=capital||2] |
|
controlKeyDown |
|
|
keyDown |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||capital=London||5]/col[fieldName=capital||2] |
17 |
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||capital=London||5]/col[fieldName=capital||2] |
17 |
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||capital=London||5]/col[fieldName=capital||2] |
|
controlKeyUp |
|
|
keyUp |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||capital=London||5]/col[fieldName=capital||2] |
17 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/ |
|
verifyValue |
scLocator=//testRoot[]/child[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=countries||title=Selected%20Cells||index=0||Class=TextAreaItem]/element |
[[3,2],[5,2]] |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
|
controlKeyDown |
|
|
keyDown |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
17 |
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
17 |
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
|
controlKeyUp |
|
|
keyUp |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
17 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/ |
|
verifyValue |
scLocator=//testRoot[]/child[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=countries||title=Selected%20Cells||index=0||Class=TextAreaItem]/element |
[[1,2],[3,2],[5,2]] |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||capital=London||5]/col[fieldName=capital||2] |
|
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=UK||capital=London||5]/col[fieldName=capital||2] |
|
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
|
shiftKeyDown |
|
|
keyDown |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
16 |
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
16 |
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
|
shiftKeyUp |
|
|
keyUp |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=CH||capital=Beijing||1]/col[fieldName=capital||2] |
16 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/ |
|
verifyValue |
scLocator=//testRoot[]/child[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=countries||title=Selected%20Cells||index=0||Class=TextAreaItem]/element |
[[1,2],[2,2],[3,2],[4,2],[5,2]] |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=IN||capital=New%20Delhi||3]/col[fieldName=capital||2] |
|
controlKeyDown |
|
|
keyDown |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=IN||capital=New%20Delhi||3]/col[fieldName=capital||2] |
17 |
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=IN||capital=New%20Delhi||3]/col[fieldName=capital||2] |
17 |
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=IN||capital=New%20Delhi||3]/col[fieldName=capital||2] |
|
controlKeyUp |
|
|
keyUp |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=IN||capital=New%20Delhi||3]/col[fieldName=capital||2] |
17 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=GM||capital=Berlin||4]/col[fieldName=capital||2] |
|
controlKeyDown |
|
|
keyDown |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=GM||capital=Berlin||4]/col[fieldName=capital||2] |
17 |
keyPress |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=GM||capital=Berlin||4]/col[fieldName=capital||2] |
17 |
click |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=GM||capital=Berlin||4]/col[fieldName=capital||2] |
|
controlKeyUp |
|
|
keyUp |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=GM||capital=Berlin||4]/col[fieldName=capital||2] |
17 |
waitForElementClickable |
scLocator=//testRoot[]/child[Class=ListGrid||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/ |
|
verifyValue |
scLocator=//testRoot[]/child[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=countries||title=Selected%20Cells||index=0||Class=TextAreaItem]/element |
[[1,2],[2,2],[5,2]] |