| SearchCouponTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Shopping Test Page | |
| clickAtAndWait | link=Shopping Test Page | |
| clickAtAndWait | link=Coupons | |
| storeText | //td[2]/a | codeSearch |
| type | _34_code | ${codeSearch} |
| clickAtAndWait | //input[@value='Search'] | |
| assertTextPresent | Coupon Test This is a coupon test. |
|
| open | /web/guest/home/ | |
| waitForElementPresent | link=Shopping Test Page | |
| clickAtAndWait | link=Shopping Test Page | |
| clickAtAndWait | link=Coupons | |
| type | _34_code | ${codeSearch} |
| typeKeys | _34_code | 1 |
| clickAtAndWait | //input[@value='Search'] | |
| assertTextNotPresent | Coupon Test This is a coupon test. |
|