| ViewInvoiceTest | ||
| waitForElementPresent | link=Orders | |
| clickAndWait | link=Orders | |
| waitForTextPresent | Joe Bloggs | |
| waitForElementPresent | link=Checkout | |
| clickAndWait | link=Checkout | |
| waitForTextPresent | Please take care of my order. | |
| waitForElementPresent | //input[@value='Invoice'] | |
| click | //input[@value='Invoice'] | |
| selectWindow | undefined | |
| waitForTextPresent | Invoice | |
| close | ||
| selectWindow | null | |
| clickAndWait | link=Return to Full Page | |