setTimeout |
99999999 |
|
open |
index.php/import/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
open |
index.php/opportunities/demo/createCustomFieldsForOpportunitiesModule |
|
waitForPageToLoad |
|
|
open |
index.php/import/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=ImportWizardForm_importRulesType_7 |
|
click |
id=ImportWizardForm_importRulesType_7 |
|
clickAndWait |
link=Upload File |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=ImportWizardForm_firstRowIsHeaderRow |
|
type |
id=ImportWizardForm_file |
C:\selenium\zurmo\app\protected\modules\import\tests\functional\files\importOpportunitiesTest.csv |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
link=Select Permissions |
|
click |
id=ImportWizardForm_explicitReadWriteModelPermissions_type_2 |
|
clickAndWait |
link=Map Fields |
|
waitForTextPresent |
Please map the fields you would like to import. |
|
select |
id=ImportWizardForm_column_0_attributeIndexOrDerivedType |
label=Name |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_1_attributeIndexOrDerivedType |
label=Amount |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_1_attributeIndexOrDerivedType |
label=Close Date |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_1_mappingRulesData_ValueFormatMappingRuleForm_format |
label=05-30-1950 or 12-15-2011 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_3_attributeIndexOrDerivedType |
label=Description |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_4_attributeIndexOrDerivedType |
label=Stage |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_5_attributeIndexOrDerivedType |
label=Source |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_6_attributeIndexOrDerivedType |
label=Owner |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_6_mappingRulesData_UserValueTypeModelAttributeMappingRuleForm_type |
label=Zurmo Username |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_8_attributeIndexOrDerivedType |
label=Amount |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=ImportWizardForm_column_8_mappingRulesData_DefaultValueModelAttributeMappingRuleForm_defaultValue |
125.12 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_8_mappingRulesData_CurrencyIdModelAttributeMappingRuleForm_id |
label=USD |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_9_attributeIndexOrDerivedType |
label=TestcheckBoxen |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=ImportWizardForm_column_9_mappingRulesData_DefaultValueModelAttributeMappingRuleForm_defaultValue |
|
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_10_attributeIndexOrDerivedType |
label=TestdateTimeen |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=ImportWizardForm_column_10_mappingRulesData_DefaultValueModelAttributeMappingRuleForm_defaultValue |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
//div[@id='ui-datepicker-div']/table/tbody/tr[3]/td[5] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
link=15 |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
xpath=(//button[@type='button'])[5] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_11_attributeIndexOrDerivedType |
label=Testintegersen |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=ImportWizardForm_column_11_mappingRulesData_DefaultValueModelAttributeMappingRuleForm_defaultValue |
10 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_12_attributeIndexOrDerivedType |
label=TestmultiSelectDropDownen |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_12_mappingRulesData_DefaultValueDropDownModelAttributeMappingRuleForm_defaultValue |
label=Reading en |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_13_attributeIndexOrDerivedType |
label=Testphoneen |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=ImportWizardForm_column_13_mappingRulesData_DefaultValueModelAttributeMappingRuleForm_defaultValue |
1800000000 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_14_attributeIndexOrDerivedType |
label=TestradioDropDownen |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_14_mappingRulesData_DefaultValueDropDownModelAttributeMappingRuleForm_defaultValue |
label=Nose |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_15_attributeIndexOrDerivedType |
label=TesttagClouden |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_15_mappingRulesData_DefaultValueDropDownModelAttributeMappingRuleForm_defaultValue |
label=French |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=addExtraColumnButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=ImportWizardForm_column_16_attributeIndexOrDerivedType |
label=Testurlen |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=ImportWizardForm_column_16_mappingRulesData_DefaultValueModelAttributeMappingRuleForm_defaultValue |
http://www.outback.com |
clickAndWait |
//div[@class='float-bar']/div/div/a[2]/span |
|
waitForPageToLoad |
|
|
waitForTextPresent |
Data Analysis is complete. |
|
clickAndWait |
link=Import Data |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyTextPresent |
Congratulations! |
|
assertText |
//form[@id='edit-form']/div[2]/div/ul/li[1]/strong |
3 |
assertText |
//form[@id='edit-form']/div[2]/div/ul/li[2]/strong |
0 |
assertText |
//form[@id='edit-form']/div[2]/div/ul/li[3]/strong |
0 |
clickAndWait |
//div[@id='MenuView']/ul/li/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
open |
index.php/opportunities/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=OpportunitiesSearchForm_anyMixedAttributes |
opportunity1 |
keyUp |
OpportunitiesSearchForm_anyMixedAttributes |
\10 |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
opportunity1 |