Eloqua QA Automation
Run Eloqua test scenarios using the Crank BDD framework.
Installing and Authenticating this Cog
Once you've successfully installed Crank you can install this Cog by running the following:
$ crank cog:install automatoninc/eloqua
You will be asked for the following authentication details on installation. To avoid prompts in a CI/CD context, you can provide the same details as environment variables.
Field | Install-Time Environment Variable | Description |
---|---|---|
companyName * | CRANK_AUTOMATONINC_ELOQUA__COMPANYNAME | Company Name |
username * | CRANK_AUTOMATONINC_ELOQUA__USERNAME | Username |
password * | CRANK_AUTOMATONINC_ELOQUA__PASSWORD | Password |
You can always re-authenticate by running the following command.
$ crank cog:auth automatoninc/eloqua
Further Auth Details HereEloqua Test Steps
Create an Eloqua contact Action
Use this step in a Scenario file like this:
- step: When I create an eloqua contact
data:
contact:
field: value
ID | Type | Description |
---|---|---|
contact * | Map/Object | A map of field names to field values |
Delete an Eloqua contact Action
Use this step in a Scenario file like this:
- step: Finally, delete the {{email}} eloqua contact
ID | Type | Description |
---|---|---|
email * | Email Address | Contact's email address |
Check a field on an Eloqua contact Assertion
Use this step in a Scenario file like this:
- step: Then the {{field}} field on eloqua contact {{email}} should {{operator}} {{expectedValue}}
ID | Type | Description |
---|---|---|
email * | Email Address | Contact's email address |
field * | String | Field name to check |
operator | String | Check Logic (be, not be, contain, not contain, be greater than, or be less than) |
expectedValue * | Any Scalar | Expected field value |
Missing a Step You Need?
This Cog is open source! Your contributions are welcome and encouraged.
Contribute on GitHubJoin the Crank Spectrum Community