setTimeout |
45000 |
|
open |
index.php/reports/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
//div[@id='SecuredActionBarForReportsSearchAndListView']/div/nav/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_6 |
|
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 |
doubleClick |
//li[@id='OrderBys_amount__Summation']/span |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//ul[@id='OrderBysattributeRowsUl']/li/div/div/div[1] |
Amount -(Sum) |
click |
//a[@id='orderBysDataNextLink']/span[3] |
|
waitForText |
//div[@id='ChartForReportWizardView']/div[1]/h3 |
Select a Chart |
click |
id=SummationReportWizardForm_ChartForReportForm_type_7 |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=SummationReportWizardForm_ChartForReportForm_firstSeries |
label=Stage |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=SummationReportWizardForm_ChartForReportForm_firstRange |
label=Amount -(Sum) |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
//a[@id='chartNextLink']/span[3] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='GeneralDataForReportWizardView']/div[1]/h3 |
Save Report |
type |
id=SummationReportWizardForm_name |
SummationReport ${randomSuffix} |
click |
//a[@id='generalDataSaveAndRunLink']/span[3] |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Stage |
|
assertTextPresent |
Stage |
|
waitForTextPresent |
Count |
|
assertTextPresent |
Count |
|
waitForTextPresent |
Amount -(Sum) |
|
assertTextPresent |
Amount -(Sum) |
|
waitForTextPresent |
Closed Lost |
|
assertTextPresent |
Closed Lost |
|
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']/div[2]/table/tbody/tr[1]/td[2]/a |
SummationReport ${randomSuffix} |
assertText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/a |
SummationReport ${randomSuffix} |