freezeTree-autoFitTreeColumn.rctest
exampleOpen | smartgwt | tree_frozen_columns
waitForElementClickable | scLocator=//testRoot[]/member[Class=TreeGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tree]/header/headerButton[fieldName=Name]/ |
assertEval | window.isc.AutoTest.getObject('scLocator=//testRoot[]/member[Class=TreeGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tree]').getColumnWidth(0) > 140 | true
waitForElementClickable | scLocator=//testRoot[]/member[Class=TreeGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tree]/header[Class=Toolbar||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||scRole=toolbar]/headerButton[fieldName=Name]/ |
click | scLocator=//testRoot[]/member[Class=TreeGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tree]/header[Class=Toolbar||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||scRole=toolbar]/headerButton[fieldName=Name]/ |
waitForElementClickable | scLocator=//testRoot[]/member[Class=TreeGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tree]/header[Class=Toolbar||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||scRole=toolbar]/headerButton[fieldName=Name]/ |
secondClick | scLocator=//testRoot[]/member[Class=TreeGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tree]/header[Class=Toolbar||index=1||length=2||classIndex=1||classLength=2||roleIndex=1||roleLength=2||scRole=toolbar]/headerButton[fieldName=Name]/ |
waitForElementClickable | scLocator=//testRoot[]/member[Class=TreeGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tree]/header/headerButton[fieldName=Name]/ |
assertEval | window.isc.AutoTest.getObject('scLocator=//testRoot[]/member[Class=TreeGrid||index=0||length=1||classIndex=0||classLength=1||roleIndex=0||roleLength=1||scRole=tree]').getColumnWidth(0) > 120 | true