AddConsumerARTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=WSRP
clickAtAndWait link=Producers
clickAtAndWait //td[1]/a Amazon Rankings Producer Name
storeText //form[@name='_1_WAR_wsrpportlet_fm']/table/tbody/tr[2]/td[2]/a wsrpUrl
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=WSRP
clickAtAndWait link=Consumers
clickAtAndWait //input[@value='Add Consumer']
type _1_WAR_wsrpportlet_name Amazon Rankings Consumer Name
type _1_WAR_wsrpportlet_url ${wsrpUrl}
clickAtAndWait //input[@value='Save']
assertText //section/div/div/div/div[1] Your request processed successfully.
assertText //td[1]/a Amazon Rankings Consumer Name