setTimeout |
45000 |
|
open |
index.php/gameRewards/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyTextPresent |
Create |
|
verifyTextPresent |
Update |
|
verifyTextPresent |
Export |
|
verifyTextPresent |
Delete |
|
verifyTextPresent |
Advanced |
|
verifyTextPresent |
Columns |
|
type |
GameRewardsSearchForm_anyMixedAttributes |
Test Game Reward ${randomSuffix} |
keyUp |
GameRewardsSearchForm_anyMixedAttributes |
\10 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr/td[2]/a |
Test Game Reward ${randomSuffix} |
verifyTextPresent |
Test Game Reward ${randomSuffix} |
|
verifyValue |
GameRewardsSearchForm_anyMixedAttributes |
Test Game Reward ${randomSuffix} |
click |
//div[@id='list-view']/div[2]/table/tbody/tr/td[2]/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
3000 |
|
waitForTextPresent |
Test Game Reward ${randomSuffix} |
|
assertText |
link=Edit |
Edit |
clickAndWait |
link=Edit |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
0 |
|
assertText |
save |
Save |
verifyValue |
GameReward_name |
Test Game Reward ${randomSuffix} |
verifyValue |
GameReward_cost |
1000 |
verifyValue |
GameReward_quantity |
10 |
type |
GameReward_cost |
2000 |
type |
GameReward_quantity |
20 |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='GameRewardDetailsAndRelationsView']/div/div/ul/li[1]/div[1]/h3 |
Test Game Reward ${randomSuffix} |
waitForText |
//div[@id='GameRewardDetailsPortletView']/div/div/div/table/tbody/tr[2]/td |
2,000 |
waitForText |
//div[@id='GameRewardDetailsPortletView']/div/div/div/table/tbody/tr[3]/td |
20 |
waitForText |
//div[@id='GameRewardDetailsPortletView']/div/div/div/table/tbody/tr[5]/td |
Game Rewards Description |
assertText |
//div[@id='GameRewardDetailsAndRelationsView']/div/div/ul/li[1]/div[1]/h3 |
Test Game Reward ${randomSuffix} |
assertText |
//div[@id='GameRewardDetailsPortletView']/div/div/div/table/tbody/tr[2]/td |
2,000 |
assertText |
//div[@id='GameRewardDetailsPortletView']/div/div/div/table/tbody/tr[3]/td |
20 |
assertText |
//div[@id='GameRewardDetailsPortletView']/div/div/div/table/tbody/tr[5]/td |
Game Rewards Description |
open |
index.php/gameRewards/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=clear-search-link |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextNotPresent |
Criteria Selected |
|