| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Shopping Test Page |
|
| clickAtAndWait |
link=Shopping Test Page |
|
| clickAtAndWait |
link=Configuration |
|
| waitForElementPresent |
_86_current_cc_types |
|
| store |
eval(selenium.isPartialText('_86_available_cc_types','MasterCard')) |
masterCardPresent |
| gotoIf |
!${masterCardPresent} |
MasterCardNotPresent |
| addSelection |
_86_available_cc_types |
label=MasterCard |
| label |
MasterCardNotPresent |
|
| store |
eval(selenium.isPartialText('_86_available_cc_types','American Express')) |
americanExpressPresent |
| gotoIf |
!${americanExpressPresent} |
AmericanExpressNotPresent |
| addSelection |
_86_available_cc_types |
label=American Express |
| label |
AmericanExpressNotPresent |
|
| clickAt |
//div/table/tbody/tr/td[2]/a[2]/img |
|
| pause |
5000 |
|
| clickAtAndWait |
//input[@value='Save'] |
|
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Manage Pages |
|
| clickAtAndWait |
link=Manage Pages |
|
| store |
eval(selenium.isElementPresent('//div/ul/li/ul/li[2]/a/span')) |
page1Present |
| gotoIf |
!${page1Present} |
Page1NotPresent |
| clickAtAndWait |
//div/ul/li/ul/li[2]/a/span |
|
| clickAtAndWait |
link=Page |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page1NotPresent |
|
| store |
eval(selenium.isElementPresent('//div/ul/li/ul/li[2]/a/span')) |
page2Present |
| gotoIf |
!${page2Present} |
Page2NotPresent |
| clickAtAndWait |
//div/ul/li/ul/li[2]/a/span |
|
| clickAtAndWait |
link=Page |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page2NotPresent |
|
| store |
eval(selenium.isElementPresent('//div/ul/li/ul/li[2]/a/span')) |
page3Present |
| gotoIf |
!${page3Present} |
Page3NotPresent |
| clickAtAndWait |
//div/ul/li/ul/li[2]/a/span |
|
| clickAtAndWait |
link=Page |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page3NotPresent |
|
| store |
eval(selenium.isElementPresent('//div/ul/li/ul/li[2]/a/span')) |
page4Present |
| gotoIf |
!${page4Present} |
Page4NotPresent |
| clickAtAndWait |
//div/ul/li/ul/li[2]/a/span |
|
| clickAtAndWait |
link=Page |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page4NotPresent |
|
| store |
eval(selenium.isElementPresent('//div/ul/li/ul/li[2]/a/span')) |
page5Present |
| gotoIf |
!${page5Present} |
Page5NotPresent |
| clickAtAndWait |
//div/ul/li/ul/li[2]/a/span |
|
| clickAtAndWait |
link=Page |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page5NotPresent |
|