columnOrder-showCapitals.rctest
exampleOpen | smartgwt | grid_appearance_columnorder
waitForElementClickable | scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=US||0]/col[fieldName=countryCode||0] |
click | scLocator=//testRoot[]/child[Class=IButton||index=2||length=3||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Show%20Capitals||scRole=button] |
waitForElementClickable | scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=US||continent=North%20America||0]/col[3] |
verifyText | scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=JA]/col[fieldName=capital||2] | Tokyo
click | scLocator=//testRoot[]/child[Class=IButton||index=1||length=3||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Hide%20Capitals||scRole=button] |
waitForElementNotPresent | scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=US||continent=North%20America||0]/col[3] |
verifyText | scLocator=//testRoot[]/child[Class=ListGrid||index=0||length=3||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=list]/body/row[countryCode=GM]/col[fieldName=continent||3] | Europe