Edit Opportunity
setTimeout 45000
open index.php/opportunities/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Update
assertTextPresent Export
assertTextPresent Delete
type id=OpportunitiesSearchForm_anyMixedAttributes Test Opportunity ${randomSuffix}
keyUp id=OpportunitiesSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a Test Opportunity ${randomSuffix}
verifyTextPresent Test Opportunity ${randomSuffix}
verifyValue OpportunitiesSearchForm_anyMixedAttributes Test Opportunity ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
clickAndWait link=Edit
setSpeed 0
type Opportunity_description test description edited
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Test Opportunity ${randomSuffix}
assertText //div[@id='OpportunityDetailsPortletView']/div/div/div/table/tbody/tr[8]/td test description edited