exampleOpen |
smartgwt |
controls_category_notifications |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=text||title=Message||value=Download%20complete||index=1||Class=TextItem]/element |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=text||title=Message||value=Download%20complete||index=1||Class=TextItem]/element |
|
type |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=text||title=Message||value=Testing%20one%20two%20three||index=1||Class=TextItem]/element |
Testing one two three |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=location||title=Screen%20Location||value=T||index=2||Class=ComboBoxItem]/[icon="picker"] |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=location||title=Screen%20Location||value=T||index=2||Class=ComboBoxItem]/[icon="picker"] |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=location||title=Screen%20Location||value=T||index=2||Class=ComboBoxItem]/pickList/body/row[location=L||0]/col[fieldName=location||0] |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=location||title=Screen%20Location||value=T||index=2||Class=ComboBoxItem]/pickList/body/row[location=L||0]/col[fieldName=location||0] |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Send||scRole=button]/ |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Send||scRole=button]/ |
|
waitForCanvasDone |
scLocator=//autoID[Class=NotifyLabel||index=7||length=8||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Testing%20one%20two%20three||scRole=label]/ |
|
verifyText |
scLocator=//autoID[Class=NotifyLabel||index=7||length=8||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Testing%20one%20two%20three||scRole=label]/ |
Testing one two three |
verifyElementPositionLeft |
scLocator=//autoID[Class=NotifyLabel||index=7||length=8||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Testing%20one%20two%20three||scRole=label]/ |
0 |
assertEval |
var canvas = window.isc.AutoTest.getObject("scLocator=//autoID[Class=NotifyLabel||index=7||length=8||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Testing%20one%20two%20three||scRole=label]/"); Math.ceil(window.isc.Page.getHeight()/2 - canvas.getPageTop() - canvas.getVisibleHeight()/2) < 100 |
true |
waitForElementNotPresent |
scLocator=//autoID[Class=NotifyLabel||index=7||length=8||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Testing%20one%20two%20three||scRole=label]/ |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=location||title=Screen%20Location||value=L||index=2||Class=ComboBoxItem]/[icon="picker"] |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=location||title=Screen%20Location||value=L||index=2||Class=ComboBoxItem]/[icon="picker"] |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=location||title=Screen%20Location||value=L||index=2||Class=ComboBoxItem]/pickList/body/row[location=T||2]/col[fieldName=location||0] |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=location||title=Screen%20Location||value=L||index=2||Class=ComboBoxItem]/pickList/body/row[location=T||2]/col[fieldName=location||0] |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=text||title=Message||value=ABC||index=1||Class=TextItem]/element |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=text||title=Message||value=ABC||index=1||Class=TextItem]/element |
|
waitForElementReadyForKeyPresses |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=text||title=Message||value=ABC||index=1||Class=TextItem]/element |
|
type |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=text||title=Message||value=ABC||index=1||Class=TextItem]/element |
ABC |
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=dismiss||title=Add%20button%20to%20immediately%20dismiss||index=5||Class=CheckboxItem]/valueicon |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=dismiss||title=Add%20button%20to%20immediately%20dismiss||index=5||Class=CheckboxItem]/valueicon |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Send||scRole=button]/ |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Send||scRole=button]/ |
|
waitForCanvasDone |
scLocator=//autoID[Class=NotifyLabel||index=8||length=9||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC||scRole=label]/ |
|
verifyText |
scLocator=//autoID[Class=NotifyLabel||index=8||length=9||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC||scRole=label]/ |
ABC |
waitForElementClickable |
scLocator=//autoID[Class=NotifyLabel||index=8||length=9||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC||scRole=label]/closeButton/ |
|
click |
scLocator=//autoID[Class=NotifyLabel||index=8||length=9||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC||scRole=label]/closeButton/ |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=window||title=Add%20link%20to%20launch%20a%20window||index=6||Class=CheckboxItem]/valueicon |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=window||title=Add%20link%20to%20launch%20a%20window||index=6||Class=CheckboxItem]/valueicon |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Send||scRole=button]/ |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Send||scRole=button]/ |
|
waitForCanvasDone |
scLocator=//autoID[Class=NotifyLabel||index=8||length=9||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC%20Launch...%3C%24fs%24button%3E||scRole=label]/action |
|
click |
scLocator=//autoID[Class=NotifyLabel||index=8||length=9||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC%20Launch...%3C%24fs%24button%3E||scRole=label]/action |
|
waitForElementPresent |
scLocator=//autoID[Class=Window||index=10||length=11||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Notification%20Action||scRole=dialog]/item[1][Class="Img"]/ |
|
waitForElementClickable |
scLocator=//autoID[Class=NotifyLabel||index=8||length=11||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC%20Launch...||scRole=label]/closeButton/ |
|
click |
scLocator=//autoID[Class=NotifyLabel||index=8||length=11||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC%20Launch...||scRole=label]/closeButton/ |
|
waitForElementNotPresent |
scLocator=//autoID[Class=NotifyLabel||index=8||length=11||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC%20Launch...||scRole=label]/closeButton/ |
|
waitForElementClickable |
scLocator=//autoID[Class=Window||index=10||length=11||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Notification%20Action||scRole=dialog]/closeButton/ |
|
click |
scLocator=//autoID[Class=Window||index=10||length=11||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Notification%20Action||scRole=dialog]/closeButton/ |
|
waitForElementClickable |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Send||scRole=button]/ |
|
click |
scLocator=//testRoot[]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=Button||index=1||length=2||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=Send||scRole=button]/ |
|
waitForCanvasDone |
scLocator=//autoID[Class=NotifyLabel||index=8||length=11||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC%20Launch...%3C%24fs%24button%3E||scRole=label]/ |
|
verifyText |
scLocator=//autoID[Class=NotifyLabel||index=8||length=11||classIndex=0||classLength=1||roleIndex=0||roleLength=1||title=ABC%20Launch...%3C%24fs%24button%3E||scRole=label]/ |
ABC Launch... |