| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Shopping Test Page |
|
| clickAtAndWait |
link=Shopping Test Page |
|
| clickAtAndWait |
link=Configuration |
|
| addSelection |
_86_current_cc_types |
label=MasterCard |
| clickAt |
//div/table/tbody/tr/td[2]/a[1]/img |
|
| addSelection |
_86_current_cc_types |
label=American Express |
| clickAt |
//div/table/tbody/tr/td[2]/a[1]/img |
|
| pause |
5000 |
|
| clickAtAndWait |
//input[@value='Save'] |
|
| assertText |
//div[@id='p_p_id_86_']/div/div |
You have successfully updated the setup. |
| assertText |
_86_current_cc_types |
Visa Discover |
| assertText |
_86_available_cc_types |
MasterCard American Express |