| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Shopping Test Page |
|
| clickAtAndWait |
link=Shopping Test Page |
|
| 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 |
| store |
eval(selenium.isChecked('_34_shipToBillingCheckbox')) |
sameAsBillingChecked |
| gotoIf |
!${sameAsBillingChecked} |
SameAsBillingNotChecked |
| clickAt |
_34_shipToBillingCheckbox |
|
| label |
SameAsBillingNotChecked |
|
| type |
_34_shippingStreet |
1234 Sesame Street |
| type |
_34_shippingCity |
Gotham City |
| select |
_34_shippingStateSel |
label=Outside US |
| type |
_34_shippingZip |
90028 |
| type |
_34_shippingCountry |
USA |
| type |
_34_shippingPhone |
626-589-1453 |
| 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[7]/td[2] |
CA |
| assertText |
//td[2]/table/tbody/tr[7]/td[2] |
outside-us |