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
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']
assertTextPresent Your request processed successfully.
assertTextPresent Coupon Test
This is a coupon test.