Mass Update Catalog Items
setTimeout 45000
open index.php/productTemplates/demo/loadProductTemplatesSampler
waitForPageToLoad
open index.php
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/nav/div[1]/a
click //html/body/section/nav/div[1]/a
waitForText //html/body/section/nav/div[1]/ul/li[9]/a/span Products
clickAndWait //html/body/section/nav/div[1]/ul/li[9]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Products work in Zurmo?
clickAndWait //html/body/section/div[1]/div[2]/div[1]/div[1]/nav[1]/div[2]/a[1]/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Products work in Zurmo?
sendKeys //html/body/section/div[1]/div[2]/div[2]/div/form/div[2]/table/tbody/tr/td/input Product Template
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[1]/td[2]/a Product Template 1
verifyValue //html/body/section/div[1]/div[2]/div[2]/div/form/div[2]/table/tbody/tr/td/input Product Template
waitForElementPresent //html/body/section/div[1]/div[2]/div[1]/div[1]/nav[1]/div[4]/ul/li[1]/a
click //html/body/section/div[1]/div[2]/div[1]/div[1]/nav[1]/div[4]/ul/li[1]/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertAlert At least 1 record must be selected
waitForElementPresent //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[1]/td[1]/label/input
click //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[1]/td[1]/label/input
click //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[2]/td[1]/label/input
clickAndWait //html/body/section/div[1]/div[2]/div[1]/div[1]/nav[1]/div[4]/ul/li[1]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div/h1/span/span Mass Update: Catalog Items
waitForText //html/body/section/div[1]/div/div/div/form/span 2 records selected for updating. Please tick the boxes next to the fields you wish to update and then select the value you wish to be used.
click //html/body/section/div[1]/div/div/div/form/div/div/a[1]/span[3]
waitForText //html/body/section/div[2]/div/div/div/span[2] You must select at least one field to modify.
click //html/body/section/div[1]/div/div/div/form/table/tbody/tr[1]/th[1]/label
click //html/body/section/div[1]/div/div/div/form/table/tbody/tr[2]/th[1]/label
click //html/body/section/div[1]/div/div/div/form/table/tbody/tr[3]/th[1]/label
click //html/body/section/div[1]/div/div/div/form/div/div/a[1]/span[3]
waitForText //html/body/section/div[1]/div/div/div/form/table/tbody/tr[1]/td/div[2] Status cannot be blank.
waitForText //html/body/section/div[1]/div/div/div/form/table/tbody/tr[2]/td/div[2] Type cannot be blank.
select //html/body/section/div[1]/div/div/div/form/table/tbody/tr[1]/td/div/select Inactive
select //html/body/section/div[1]/div/div/div/form/table/tbody/tr[2]/td/div/select Service
select //html/body/section/div[1]/div/div/div/form/table/tbody/tr[3]/td/div/select Annually
click //html/body/section/div[1]/div/div/div/form/div/div/a[1]/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Products work in Zurmo?
waitForText //html/body/section/div[2]/div/div/div/span[2] Successfully updated 2 records.
clickAndWait //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[1]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/h1/span/span Product Template 1
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[1]/td Product Template 1
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[4]/td Inactive
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[5]/td Service
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[6]/td Annually
clickAndWait //html/body/section/div[1]/div[1]/div/a[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Products work in Zurmo?
clickAndWait //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[2]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/h1/span/span Product Template 10
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[1]/td Product Template 10
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[4]/td Inactive
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[5]/td Service
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[6]/td Annually
clickAndWait //html/body/section/div[1]/div[1]/div/a[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Products work in Zurmo?
clickAndWait //html/body/section/div[1]/div[2]/div[1]/div[1]/nav[1]/div[4]/ul/li[2]/a
waitForText //html/body/section/div[1]/div/h1/span/span Mass Update: Catalog Items
waitForText //html/body/section/div[1]/div/div/div/form/span 12 records selected for updating. Please tick the boxes next to the fields you wish to update and then select the value you wish to be used.
click //html/body/section/div[1]/div/div/div/form/table/tbody/tr[1]/th[1]/label
click //html/body/section/div[1]/div/div/div/form/table/tbody/tr[2]/th[1]/label
click //html/body/section/div[1]/div/div/div/form/table/tbody/tr[3]/th[1]/label
select //html/body/section/div[1]/div/div/div/form/table/tbody/tr[1]/td/div/select Inactive
select //html/body/section/div[1]/div/div/div/form/table/tbody/tr[2]/td/div/select Service
select //html/body/section/div[1]/div/div/div/form/table/tbody/tr[3]/td/div/select Annually
clickAndWait //html/body/section/div[1]/div/div/div/form/div/div/a[1]/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div/div/h3/span 12 records updated successfully.
clickAndWait //html/body/section/div[1]/div/div/div[2]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Products work in Zurmo?
click //html/body/section/div[1]/div[2]/div[3]/div/div[3]/ul/li/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[11]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/h1/span/span Product Template 8
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[1]/td Product Template 8
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[4]/td Inactive
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[5]/td Service
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[6]/td Annually
clickAndWait //html/body/section/div[1]/div[1]/div/a[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Products work in Zurmo?
click //html/body/section/div[1]/div[2]/div[3]/div/div[3]/ul/li/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[12]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/h1/span/span Product Template 9
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[1]/td Product Template 9
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[4]/td Inactive
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[5]/td Service
assertText //html/body/section/div[1]/div[2]/div/div[2]/div/table/tbody/tr[6]/td Annually
clickAndWait //html/body/section/div[1]/div[1]/div/a[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Products work in Zurmo?
click //html/body/section/div[1]/div[2]/div[2]/div/form/div[5]/a[3]/span[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Criteria Selected