New Test
setTimeout 45000
setTimeout 100000
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
click id=ImportWizardForm_importRulesType_5
clickAndWait link=Next
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=ImportWizardForm_firstRowIsHeaderRow
type id=ImportWizardForm_file C:\Inetpub\selenium\zurmo_bleeding\app\protected\modules\import\tests\functional\files\importOpportunitiesTest.csv
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait link=Next
click id=ImportWizardForm_explicitReadWriteModelPermissions_type_2
clickAndWait link=Next
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_2_attributeIndexOrDerivedType label=Probability
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=Amount
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
select id=ImportWizardForm_column_6_mappingRulesData_CurrencyIdModelAttributeMappingRuleForm_id label=USD
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
select id=ImportWizardForm_column_7_attributeIndexOrDerivedType label=Owner
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
select id=ImportWizardForm_column_7_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_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 css=#column_10-mapping-rules > table > tbody > tr > td > div.has-date-select > button.ui-datepicker-trigger
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 id=yt1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Data Analysis is complete.
clickAndWait link=Next
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Congratulations!
assertTextPresent Rows with errors: 0
clickAndWait //div[@id='MenuView']/ul/li/a/span[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='MenuView']/ul/li[5]/a/span[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=OpportunitiesSearchForm_anyMixedAttributes opportunity1
keyUp OpportunitiesSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/table/tbody/tr/td[2]/a opportunity1