| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Communities |
|
| type |
_134_name |
Shopping Order Community |
| clickAtAndWait |
//input[@value='Search'] |
|
| clickAtAndWait |
//td[2]/a |
Open |
| clickAtAndWait |
link=Shopping Order Community |
|
| clickAtAndWait |
link=Cart |
|
| clickAtAndWait |
//input[@value='Checkout'] |
|
| type |
_34_billingStreet |
1234 Sesame Street |
| type |
_34_billingCity |
Gotham City |
| select |
_34_billingStateSel |
label=California |
| type |
_34_billingZip |
90028 |
| type |
_34_billingCountry |
USA |
| type |
_34_billingPhone |
626-589-1453 |
| click |
_34_shipToBillingCheckbox |
|
| select |
_34_ccType |
label=Visa |
| type |
_34_ccNumber |
4111111111111111 |
| select |
_34_ccExpYear |
label=2011 |
| type |
_34_comments |
Please take care of my order. |
| clickAtAndWait |
//input[@value='Continue'] |
|
| assertText |
//tr[5]/td[2] |
1234 Sesame Street |
| clickAndWait |
//input[@value='Finished'] |
|
| assertText |
//div[2]/div/div/div |
Thank you for your purchase. |
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Communities |
|
| type |
_134_name |
Shopping Order Community |
| clickAtAndWait |
//input[@value='Search'] |
|
| clickAtAndWait |
//td[2]/a |
Open |
| clickAtAndWait |
link=Shopping Order Community |
|
| clickAtAndWait |
link=Orders |
|
| clickAtAndWait |
//td[2]/a |
Order Number |
| assertPartialText |
//form |
Please take care of my order. |