exampleOpen |
smartgwt |
layout_sections_expand_collapse |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/section[Class=SectionHeader||index=1||length=4||classIndex=1||classLength=4||roleIndex=1||roleLength=4||title=HTML%20Flow||scRole=tab||name=isc_SectionStackSection_1]/item[Class=HTMLFlow||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=article]/ |
|
click |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/section[Class=SectionHeader||index=1||length=4||classIndex=1||classLength=4||roleIndex=1||roleLength=4||title=HTML%20Flow||scRole=tab||name=isc_SectionStackSection_1]/item[Class=HTMLFlow||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=article]/ |
|
assertEval |
var mySection = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/"); mySection.sectionIsExpanded(1) |
true |
assertEval |
var mySection = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/"); mySection.sectionIsExpanded(0) |
true |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Collapse%20Blue||scRole=button]/ |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||title=Collapse%20Blue||scRole=button]/ |
|
assertEval |
var mySection = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/"); mySection.sectionIsExpanded(0) |
false |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Expand%20Blue||scRole=button]/ |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=1||length=2||classIndex=0||classLength=1]/member[Class=IButton||index=0||length=2||classIndex=0||classLength=2||roleIndex=0||roleLength=2||title=Expand%20Blue||scRole=button]/ |
|
assertEval |
var mySection = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/"); mySection.sectionIsExpanded(0) |
true |
assertEval |
var mySection = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/"); mySection.sectionIsExpanded(2) |
true |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/section[Class=SectionHeader||index=2||length=4||classIndex=2||classLength=4||roleIndex=2||roleLength=4||title=Green%20Pawn||scRole=tab||name=isc_SectionStackSection_2]/ |
|
click |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/section[Class=SectionHeader||index=2||length=4||classIndex=2||classLength=4||roleIndex=2||roleLength=4||title=Green%20Pawn||scRole=tab||name=isc_SectionStackSection_2]/ |
|
assertEval |
var mySection = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/"); mySection.sectionIsExpanded(2) |
true |
assertEval |
var mySection = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/"); mySection.sectionIsExpanded(3) |
false |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/section[Class=SectionHeader||index=3||length=4||classIndex=3||classLength=4||roleIndex=3||roleLength=4||title=Yellow%20Piece||scRole=tab||name=isc_SectionStackSection_3]/ |
|
click |
scLocator=//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/section[Class=SectionHeader||index=3||length=4||classIndex=3||classLength=4||roleIndex=3||roleLength=4||title=Yellow%20Piece||scRole=tab||name=isc_SectionStackSection_3]/ |
|
assertEval |
var mySection = selenium.getAutWindow().isc.AutoTest.getObject("//testRoot[]/member[Class=SectionStack||index=0||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tablist]/"); mySection.sectionIsExpanded(3) |
true |