setTimeout |
45000 |
|
open |
index.php/products/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create |
|
assertTextPresent |
Advanced |
|
assertTextPresent |
Columns |
|
type |
id=ProductsSearchForm_anyMixedAttributes |
Product ${randomSuffix} |
keyUp |
id=ProductsSearchForm_anyMixedAttributes |
\10 |
waitForText |
//div[@id='list-view']/table/tbody/tr/td[2] |
Product ${randomSuffix} |
verifyTextPresent |
Product ${randomSuffix} |
|
verifyValue |
ProductsSearchForm_anyMixedAttributes |
Product ${randomSuffix} |
click |
//div[@id='list-view']/table/tbody/tr/td[2]/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
3000 |
|
clickAndWait |
link=Edit |
|
setSpeed |
0 |
|
click |
id=Product_productTemplate_SelectLink |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=ProductTemplatesSearchForm_anyMixedAttributes |
A Gift of Monotheists |
keyUp |
id=ProductTemplatesSearchForm_anyMixedAttributes |
\10 |
verifyTextPresent |
A Gift of Monotheists |
|
verifyValue |
ProductTemplatesSearchForm_anyMixedAttributes |
A Gift of Monotheists |
click |
link=A Gift of Monotheists |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
3000 |
|
assertSelectedLabel |
Product_type_value |
Product |
assertSelectedLabel |
Product_priceFrequency_value |
Monthly |
assertSelectedLabel |
Product_stage_value |
Open |
setSpeed |
0 |
|
type |
Product_name |
Product ${randomSuffix} |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
Product_quantity |
40000 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
//div[@id='ProductEditAndDetailsView']/div/div/form/div[3]/div/div/a[2] |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertText |
//div[@id='ProductEditAndDetailsView']/div/div[2]/div/table/tbody/tr[3]/td |
40,000 |