| ViewInvoiceTest | ||
| waitForElementPresent | link=Shopping Test Page | |
| clickAndWait | link=Shopping Test Page | |
| clickAndWait | link=Orders | |
| assertText | //tr[3]/td[5] | Joe Bloggs |
| clickAndWait | link=Checkout | |
| assertTextPresent | 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 | |