| setSpeed |
3000 |
|
| setTimeout |
45000 |
|
| open |
index.php/products/default |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
link=Categories |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| click |
link=CategoryTest ${randomSuffix} |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertText |
//div[@id='ProductCategoryDetailsView']/div/div[2]/div/table/tbody/tr[1]/td |
CategoryTest ${randomSuffix} |
| clickAndWait |
link=Edit |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertText |
//div[@id='ProductCategoryEditAndDetailsView']/div/h1/span/span |
CategoryTest ${randomSuffix} |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
ProductCategory_name |
CategoryTest1 ${randomSuffix} |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
//div[@id='ProductCategoryEditAndDetailsView']/div/div/form/div[3]/div/div/a[2] |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertTextPresent |
CategoryTest1 ${randomSuffix} |
|