| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Shopping Test Page |
|
| clickAtAndWait |
link=Shopping Test Page |
|
| clickAtAndWait |
link=Configuration |
|
| store |
eval(selenium.isPartialText('_86_available_cc_types','MasterCard')) |
masterCardAvailable |
| gotoIf |
!${masterCardAvailable} |
MasterCardNotAvailable |
| addSelection |
_86_available_cc_types |
label=MasterCard |
| clickAt |
//div/table/tbody/tr/td[2]/a[2]/img |
|
| label |
MasterCardNotAvailable |
|
| store |
eval(selenium.isPartialText('_86_available_cc_types','American Express')) |
americanExpressAvailable |
| gotoIf |
!${americanExpressAvailable} |
AmericanExpressNotAvailable |
| addSelection |
_86_available_cc_types |
label=American Express |
| clickAt |
//div/table/tbody/tr/td[2]/a[2]/img |
|
| label |
AmericanExpressNotAvailable |
|
| pause |
5000 |
|
| clickAtAndWait |
//input[@value='Save'] |
|
| assertText |
//div[@id='p_p_id_86_']/div/div |
You have successfully updated the setup. |
| open |
/web/guest/home/ |
|
| waitForElementPresent |
//li[@class='first manage-page']/a |
|
| clickAndWait |
//li[@class='first manage-page']/a |
|
| waitForVisible |
link=Guest |
|
| waitForVisible |
//a[@class='lfr-tree-controls-label'] |
|
| clickAt |
//a[@class='lfr-tree-controls-label'] |
|
| waitForVisible |
//ul[@class='aui-tree-container'] |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page1Present |
| gotoIf |
!${page1Present} |
Page1NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//li[@id='_88_tabs3pageTabsId']/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page1NotPresent |
|
| waitForVisible |
//ul[@class='aui-tree-container'] |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page2Present |
| gotoIf |
!${page2Present} |
Page2NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//li[@id='_88_tabs3pageTabsId']/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page2NotPresent |
|
| waitForVisible |
//ul[@class='aui-tree-container'] |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page3Present |
| gotoIf |
!${page3Present} |
Page3NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//li[@id='_88_tabs3pageTabsId']/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page3NotPresent |
|
| waitForVisible |
//ul[@class='aui-tree-container'] |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page4Present |
| gotoIf |
!${page4Present} |
Page4NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//li[@id='_88_tabs3pageTabsId']/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page4NotPresent |
|
| waitForVisible |
//ul[@class='aui-tree-container'] |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page5Present |
| gotoIf |
!${page5Present} |
Page5NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//li[@id='_88_tabs3pageTabsId']/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page5NotPresent |
|