Eloqua QA Automation

Run Eloqua test scenarios using the Crank BDD framework.

Eloqua Logo

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.

Expected Authentication Details
FieldInstall-Time Environment VariableDescription
companyName *CRANK_AUTOMATONINC_ELOQUA__COMPANYNAMECompany Name
username *CRANK_AUTOMATONINC_ELOQUA__USERNAMEUsername
password *CRANK_AUTOMATONINC_ELOQUA__PASSWORDPassword

You can always re-authenticate by running the following command.

$ crank cog:auth automatoninc/eloqua
Further Auth Details Here

Eloqua 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
Expected Step Input
IDTypeDescription
contact *Map/ObjectA 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
Expected Step Input
IDTypeDescription
email *Email AddressContact'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}}
Expected Step Input
IDTypeDescription
email *Email AddressContact's email address
field *StringField name to check
operator StringCheck Logic (be, not be, contain, not contain, be greater than, or be less than)
expectedValue *Any ScalarExpected 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