| open |
/user/joebloggs/home/ |
|
| waitForElementPresent |
link=Communities I Own |
|
| clickAtAndWait |
link=Communities I Own |
|
| type |
_29_name |
Shopping Order Community |
| clickAtAndWait |
//input[@value='Search Communities'] |
|
| clickAtAndWait |
//td[2]/a |
Open |
| waitForElementPresent |
link=Shopping Order Page |
|
| clickAtAndWait |
link=Shopping Order 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_comments |
Please take care of my order. |
| clickAtAndWait |
//input[@value='Continue'] |
|
| assertTextPresent |
1234 Sesame Street |
|
| clickAtAndWait |
//input[@value='Finished'] |
|
| assertTextPresent |
Thank you for your purchase. |
|
| open |
/user/joebloggs/home/ |
|
| waitForElementPresent |
link=Communities I Own |
|
| clickAtAndWait |
link=Communities I Own |
|
| type |
_29_name |
Shopping Order Community |
| clickAtAndWait |
//input[@value='Search Communities'] |
|
| clickAtAndWait |
//td[2]/a |
Open |
| waitForElementPresent |
link=Shopping Order Page |
|
| clickAtAndWait |
link=Shopping Order Page |
|
| clickAtAndWait |
link=Orders |
|
| assertText |
//div[4]/table/tbody/tr[2]/td[5] |
Joe Bloggs |
| clickAtAndWait |
link=Checkout |
|
| assertTextPresent |
Please take care of my order. |
|