| 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} |
SameAsBillingChecked |
| clickAt |
_34_shipToBillingCheckbox |
|
| label |
SameAsBillingChecked |
|
| assertChecked |
_34_shipToBillingCheckbox |
|
| select |
_34_ccType |
label=Visa |
| type |
_34_ccNumber |
4111111111111111 |
| select |
_34_ccExpYear |
label=2011 |
| type |
_34_ccVerNumber |
526 |
| clickAtAndWait |
//input[@value='Continue'] |
|
| assertText |
//table[3]/tbody/tr[2]/td[2] |
$0.77 |
| assertText |
//table[3]/tbody/tr[4]/td[2] |
$10.76 |