AddCouponTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Shopping Coupon Community
clickAtAndWait //input[@value='Search']
clickAtAndWait //td[2]/a Open
clickAtAndWait link=Shopping Coupon Page
clickAtAndWait link=Coupons
clickAndWait //input[@value='Add Coupon']
click _34_autoCodeCheckbox
type _34_name Coupon Test
type _34_description This is a coupon test.
type _34_discount 0.50
clickAtAndWait //input[@value='Save']
waitForText //div[2]/div/div/div Your request processed successfully.
assertText //div[2]/div/div/div Your request processed successfully.
waitForText //td[3]/a Coupon Test
This is a coupon test.
assertText //td[3]/a Coupon Test
This is a coupon test.