List View Hide Show Columns
setTimeout 45000
open index.php/gameRewards/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=select-list-attributes-link
click id=list-attributes-reset
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=select-list-attributes-link
assertText css=#GameRewardsSearchForm_selectedListAttributes > option[value="name"] Name
click id=list-attributes-apply
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[2]/a Name
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[3]/a Cost in Coins
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[4]/a Quantity Available
click id=select-list-attributes-link
removeSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Created By User
removeSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Created Date Time
removeSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Description
removeSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Expiration Date Time
removeSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Id
removeSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Modified By User
removeSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Modified Date Time
removeSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Owner
addSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Description
click id=yw2moveRight
addSelection id=GameRewardsSearchForm_selectedListAttributes_hidden label=Expiration Date Time
click id=yw2moveRight
click id=list-attributes-apply
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[5]/a Description
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[2]/a Name
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[3]/a Cost in Coins
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[4]/a Quantity Available
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[5]/a Description
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[6]/a Expiration Date Time
click id=select-list-attributes-link
click id=list-attributes-reset
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForNotText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[2]/a Description
waitForNotText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[3]/a Description
waitForNotText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[4]/a Description
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[2]/a Name
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[3]/a Cost in Coins
assertText //div[@id='GameRewardsListView']/div/div[2]/table/thead/tr/th[4]/a Quantity Available