AddCouponTest
waitForElementPresent link=Shopping Test Page
clickAndWait link=Shopping Test Page
clickAndWait link=Coupons
clickAndWait //input[@value='Add Coupon']
assertElementPresent _34_autoCodeCheckbox
click _34_autoCodeCheckbox
assertChecked _34_autoCodeCheckbox
typeKeys _34_name Friends and Famil Discount
type _34_name Friends and Family Discount
typeKeys _34_description This discount is for everyone who is considered a friend or part of the famil.
type _34_description This discount is for everyone who is considered a friend or part of the family.
typeKeys _34_discount 0.50
type _34_discount 0.50
clickAndWait //input[@value='Save']
assertTextPresent Your request processed successfully.
assertTextPresent Friends and Family Discount
clickAndWait link=Return to Full Page