| AddCouponTest | ||
| open | /user/joebloggs/home/ | |
| waitForElementPresent | link=Communities I Own | |
| clickAtAndWait | link=Communities I Own | |
| type | _29_name | Shopping Coupon Community |
| clickAtAndWait | //input[@value='Search Communities'] | |
| clickAtAndWait | //td[2]/a | Open |
| waitForElementPresent | link=Shopping Coupon Page | |
| clickAtAndWait | link=Shopping Coupon Page | |
| clickAtAndWait | link=Coupons | |
| clickAtAndWait | //input[@value='Add Coupon'] | |
| assertElementPresent | _34_autoCodeCheckbox | |
| clickAt | _34_autoCodeCheckbox | |
| assertChecked | _34_autoCodeCheckbox | |
| type | _34_name | Coupon Test |
| type | _34_description | This is a coupon test. |
| type | _34_discount | 0.50 |
| clickAtAndWait | //input[@value='Save'] | |
| assertText | //div[2]/div/div/div | Your request processed successfully. |
| assertText | //td[3]/a | Coupon Test This is a coupon test. |