| setTimeout |
45000 |
|
| clickAndWait |
//li[@id='accounts']/a/span |
|
| storeText |
css=div.list-view-items-summary-clone |
countResultsString |
| storeEval |
parseInt(storedVars['countResultsString'].split(' ')[0]) |
countResults |
| open |
index.php/accounts/default |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertElementPresent |
link=Administration |
|
| click |
link=Administration |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertElementPresent |
link=Import |
|
| clickAndWait |
link=Import |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| click |
id=ImportWizardForm_importRulesType_2 |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertElementPresent |
link=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\accounts\tests\functional\files\accounts.csv |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertElementPresent |
link=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_2 |
|
| assertElementPresent |
link=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_9_attributeIndexOrDerivedType |
label=Name |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_5_attributeIndexOrDerivedType |
label=Owner |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_5_mappingRulesData_UserValueTypeModelAttributeMappingRuleForm_type |
label=Zurmo Username |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_6_attributeIndexOrDerivedType |
label=Annual Revenue |
| 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=Employees |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_10_attributeIndexOrDerivedType |
label=Office Phone |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_11_attributeIndexOrDerivedType |
label=Office Fax |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_12_attributeIndexOrDerivedType |
label=Website |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_13_attributeIndexOrDerivedType |
label=Billing Address - City |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_14_attributeIndexOrDerivedType |
label=Billing Address - Country |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_15_attributeIndexOrDerivedType |
label=Billing Address - Postal Code |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_16_attributeIndexOrDerivedType |
label=Billing Address - Street 1 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_17_attributeIndexOrDerivedType |
label=Billing Address - Street 2 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_18_attributeIndexOrDerivedType |
label=Billing Address - State |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_19_attributeIndexOrDerivedType |
label=Industry |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
id=ImportWizardForm_column_32_attributeIndexOrDerivedType |
label=Type |
| 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 |
6 |
| 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 |
| assertElementPresent |
link=Import Data |
|
| clickAndWait |
link=Import Data |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyTextPresent |
Congratulations! |
|
| assertText |
//form[@id='edit-form']/div[1]/div/ul/li[1]/strong |
6 |
| 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 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
//div[@id='MenuView']/ul/li/a/span |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
//li[@id='accounts']/a/span |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| storeText |
css=div.list-view-items-summary-clone |
countResultsStringForTest |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| storeEval |
parseInt(storedVars['countResultsStringForTest'].split(' ')[0]) |
countResultsForTest |
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertEval |
storedVars['countResultsForTest'] == storedVars['countResults'] + 6 |
true |
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |