New Test
setTimeout 45000
open index.php/reports/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='SecuredActionBarForReportsSearchAndListView']/div/div/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='ReportWizardTypeView']/ul/li[2]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=SummationReportWizardForm_moduleClassName_4
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //a[@id='moduleNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='FiltersTreeView']/li/span Opportunity
click //a[@id='filterBysNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='GroupBysTreeView']/li/span Opportunity
doubleClick //li[@id='GroupBys_stage']/span
waitForText //ul[@id='GroupBysattributeRowsUl']/li/div/div/div Stage
click //a[@id='groupBysNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='DisplayAttributesTreeView']/li/span Opportunity
doubleClick //li[@id='DisplayAttributes_stage']/span
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent SummationReportWizardForm_DisplayAttributes_0_label
doubleClick //li[@id='DisplayAttributes_Count']/span
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent SummationReportWizardForm_DisplayAttributes_1_label
doubleClick //li[@id='DisplayAttributes_amount__Summation']/span
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent SummationReportWizardForm_DisplayAttributes_2_label
click //a[@id='displayAttributesNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='DrillDownDisplayAttributesTreeView']/li/span Opportunity
click //a[@id='drillDownDisplayAttributesNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='OrderBysTreeView']/li/span Opportunity
click //li[@id='OrderBys_amount__Summation']/span
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='OrderBysattributeRowsUl']/li/div/div/div[1] Opportunity
click //a[@id='orderBysDataNextLink']/span[3]
waitForText //div[@id='ChartForReportWizardView']/h3 Select a Chart
click id=SummationReportWizardForm_ChartForReportForm_type_7
select id=SummationReportWizardForm_ChartForReportForm_firstSeries label=Stage
click //option[@value='stage']
select id=SummationReportWizardForm_ChartForReportForm_firstRange label=Amount -(Sum)
click //option[@value='amount__Summation']
click //a[@id='chartNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='GeneralDataForReportWizardView']/h3 Save Report
type id=SummationReportWizardForm_name SummationReport ${randomSuffix}
click //a[@id='generalDataSaveAndRunLink']/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/reports/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyElementPresent id=ReportsSearchForm_anyMixedAttributes
type id=ReportsSearchForm_anyMixedAttributes SummationReport ${randomSuffix}
keyUp id=ReportsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/table/tbody/tr[1]/td[2]/a SummationReport ${randomSuffix}
assertText //div[@id='list-view']/table/tbody/tr[1]/td[2]/a SummationReport ${randomSuffix}