| setTimeout |
45000 |
|
| open |
index.php/accounts/default/create |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Create Account |
|
| type |
Account_name |
toUpdate |
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForText |
//div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[1]/td |
toUpdate |
| waitForTextPresent |
| Who can read and write Everyone | Latest Activity Never |
|
| assertTextPresent |
| Who can read and write Everyone | Latest Activity Never |
|
| open |
index.php/accounts/default/create |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Create Account |
|
| type |
Account_name |
existingOne |
| click |
//div[@id='AccountEditAndDetailsView']/div/div/form/div[1]/div[3]/div/div[2]/input |
|
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForText |
//div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[1]/td |
existingOne |
| waitForTextPresent |
| Who can read and write Owner | Latest Activity Never |
|
| assertTextPresent |
| Who can read and write Owner | Latest Activity Never |
|
| open |
index.php/import/default |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| click |
id=ImportWizardForm_importRulesType_3 |
|
| assertText |
link=Upload File |
Upload File |
| clickAndWait |
link=Upload File |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| click |
id=ImportWizardForm_firstRowIsHeaderRow |
|
| type |
id=ImportWizardForm_file |
C:\selenium\dev8a\zurmo\app\protected\modules\import\tests\functional\files\importContactWithAccountsTest.csv |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertText |
link=Select Permissions |
Select Permissions |
| clickAndWait |
link=Select Permissions |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyTextPresent |
Import Wizard - Select Permissions |
|
| click |
id=ImportWizardForm_explicitReadWriteModelPermissions_type_1 |
|
| select |
id=ImportWizardForm_explicitReadWriteModelPermissions_nonEveryoneGroup |
label=West |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertText |
link=Map Fields |
Map Fields |
| clickAndWait |
link=Map Fields |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Please map the fields you would like to import. |
|
| select |
id=ImportWizardForm_column_0_attributeIndexOrDerivedType |
label=First Name |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_1_attributeIndexOrDerivedType |
label=Last Name |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_2_attributeIndexOrDerivedType |
label=Job Title |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_3_attributeIndexOrDerivedType |
label=Office Phone |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_4_attributeIndexOrDerivedType |
label=Office Fax |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_5_attributeIndexOrDerivedType |
label=Department |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_6_attributeIndexOrDerivedType |
label=Website |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_7_attributeIndexOrDerivedType |
label=Description |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_8_attributeIndexOrDerivedType |
label=Primary Address - City |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_9_attributeIndexOrDerivedType |
label=Primary Address - Country |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_10_attributeIndexOrDerivedType |
label=Primary Address - Postal Code |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_11_attributeIndexOrDerivedType |
label=Primary Address - State |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_12_attributeIndexOrDerivedType |
label=Primary Address - Street 1 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_13_attributeIndexOrDerivedType |
label=Primary Address - Street 2 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_14_attributeIndexOrDerivedType |
label=Primary Email - Email Address |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_15_attributeIndexOrDerivedType |
label=Primary Email - Is Invalid |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_16_attributeIndexOrDerivedType |
label=Primary Email - Opt Out |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_17_attributeIndexOrDerivedType |
label=Account |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_17_mappingRulesData_RelatedModelValueTypeMappingRuleForm_type |
label=Name |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_18_attributeIndexOrDerivedType |
label=Source |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_19_attributeIndexOrDerivedType |
label=Status |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_20_attributeIndexOrDerivedType |
label=Industry |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
//div[@class='float-bar']/div/div/a[2]/span |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Data Analysis is complete. |
|
| assertText |
//form[@id='edit-form']/div[1]/div/ul/li[1]/strong |
0 |
| assertText |
//form[@id='edit-form']/div[1]/div/ul/li[2]/strong |
3 |
| assertText |
//form[@id='edit-form']/div[1]/div/ul/li[3]/strong |
0 |
| assertText |
link=Import Data |
Import Data |
| clickAndWait |
link=Import Data |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyTextPresent |
Congratulations! Your import is complete. Below is a summary of the results. |
|
| assertText |
//form[@id='edit-form']/div[1]/div/ul/li[1]/strong |
3 |
| assertText |
//form[@id='edit-form']/div[1]/div/ul/li[2]/strong |
0 |
| assertText |
//form[@id='edit-form']/div[1]/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/accounts/default |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=AccountsSearchForm_anyMixedAttributes |
existingOne |
| keyUp |
AccountsSearchForm_anyMixedAttributes |
\10 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
existingOne |
| click |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
| Who can read and write Owner | Latest Activity Never |
|
| assertTextPresent |
| Who can read and write Owner | Latest Activity Never |
|
| open |
index.php/accounts/default |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=AccountsSearchForm_anyMixedAttributes |
newOne |
| keyUp |
AccountsSearchForm_anyMixedAttributes |
\10 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
newOne |
| click |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Who can read and write West |
|
| assertTextPresent |
Who can read and write West |
|
| open |
index.php/accounts/default |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=AccountsSearchForm_anyMixedAttributes |
toUpdate |
| keyUp |
AccountsSearchForm_anyMixedAttributes |
\10 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
toUpdate |
| click |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
| Who can read and write Everyone | Latest Activity Never |
|
| assertTextPresent |
| Who can read and write Everyone | Latest Activity Never |
|