-
Notifications
You must be signed in to change notification settings - Fork 18
Steps
Below there is a specification of all steps that are available in this project. See Writing Features for information how to write feature files.
This steps finds an existing record. If it exists, then it will get the specified alias. If it's not found, an error is thrown. Use the logicalname of the entity.
This steps creates a new record of the specified entityname. After creating it, it will get the specified alias. Use the logicalname of the entity.
Same as step above. Added for grammar purposes.
A record with a specified alias will be moved to a specific stage in the business process flow. The record must be in a state where the specified stage is in the current active path of the business process flow.
This step will give an alias to a specific record's lookup. In example "Given that TestOpportunity's Price List is named TestPriceList" will give the alias 'TestPriceList' to the price list of the opportunity that has 'TestOpportunity' as alias.
Creates a child record, like creating a record from a associated view. This will take the data mappings into account. It will not use default values.
Same step as above. Added for grammar purposes.
Logs in with a specific user and changes the connection from that point on to this user.
Same as above. Next to that the user gets an alias for future use in the same scenario.
This steps creates a new record of the specified entityname. After creating it, it will get the specified alias.
{entityname}: This is the logicalname of the entity you are looking for.
Same as step above. Added for grammar purposes.
A record with a specified alias will be moved to a specific stage in the business process flow. The record must be in a state where the specified stage is in the current active path of the business process flow.
A record with a specified alias will be moved to the next stage in its business process flow.
A record with a specified alias will be updated with the values specified in the table
This step will wait until all system jobs are finished that are related to a specified alias. It will timeout in 30 seconds. It will not wait for for system jobs that are child jobs if they are regarding a different record. In example if the alias is a contact, it will wait until the contact's system jobs are all finished. If the system jobs triggers a asynchronous workflow for its parent account, it will not wait for that.
A record with a specified alias will have its statuscode updated to a specified value. The related statecode will be automatically set.
A record with a specified alias will be deleted and removed from the alias cache.
A record with a specified alias (aliasToAssign) will be assigned to a different owner with a specified alias (aliasToAssignTo). The owner must be a user to team.
Merge one record into another using the merge command available on Accounts, Contacts, Leads and Cases. All fields that aren't empty will be pushed to the target record. If you want to use a selection of fields, use the step below.
Merge one record into another using the merge command available on Accounts, Contacts, Leads and Cases. The fields supplied in the table will be pushed to the target. It won't filter out empty fields.
Connects a set of records to the specified alias. There records are of entity type 'relatedEntityName'. Supply a table with the header 'Value'
Creates a child record, like creating a record from a associated view. This will take the data mappings into account. It will not use default values.
Same step as above. Added for grammar purposes.
Assertion that the business process flow stage of the record with the specified alias is equal to the specified stageName.
Assertion that the record with the specified alias has its values like the specified table. Any fields not in the table will be ignored and will not to be asserted. As the alias specifies the record, any error messages will contain details of the actual value of that field. Can optionally add a condition column. Conditions currently supported are: 'Equal', 'NotEqual', 'NotNull' and 'Regex'.
Same as above, but it will keep retrying for X seconds until it succeeds.
Assertion that exactly 1 records exists that matches the specified table. Use the logicalname of the entity. Can optionally have a condition columns in case you want to test something else than equals. Supported conditions can be found here.
Same as step above. Added for grammar purposes.
Same as above, but it will keep retrying for X seconds until it succeeds.
Same as step above. Added for grammar purposes.
Assertion that exactly 1 records exists that matches the specified table. Use the logicalname of the entity. Additionally it will add the record to the cache, so that it can be referenced in future steps. This step is useful in case you need to do multiple assertions and the second record has a lookup to the first. Can optionally have a condition columns in case you want to test something else than equals. Supported conditions can be found here.
Same as step above. Added for grammar purposes.
Same as above, but it will keep retrying for X seconds until it succeeds.
Same as step above. Added for grammar purposes.
Verifies if a set of records are connected via a NN relationship to the record of the specified alias. There records are of entity type 'relatedEntityName'. Supply a table with the header 'Value'.
This step will give an alias to a specific record's lookup. In example "Given that TestOpportunity's Price List is named TestPriceList" will give the alias 'TestPriceList' to the price list of the opportunity that has 'TestOpportunity' as alias.
Verifies that no record of that entity matching the supplied criteria exists. Can optionally have a condition columns in case you want to test something else than equals. Supported conditions can be found here.
Same as above, but it will keep retrying for X seconds until it succeeds.
Verifies X records exist of the specified entity matching the supplied criteria.
Same as above, but it will keep retrying for X seconds until it succeeds.
Qualifies a lead. Creates a contact, account and/or opportunity. You can specify the types to create via a table like below.
Account | Contact | Opportunity |
---|---|---|
true/false | true/false | true/false |
Closes the opportunity with the supplied values. In the table you need to at least add the 'Status Reason' field.
Activates the quote with the specified alias
Specified alias (quoteAlias) is converted to a sales order. The resulting salesorder gets the alias 'orderAlias'.
Combination of the above two steps.
Revises a quote with the specified alias. The new revised quote gets a new alias.
Below steps only work via the User Interface. If attempted to run these steps via the API, then an exception will be thrown
Checks the state of fields on the form of the specified alias. You can specify the table like below. Both Display and logicalnames are supported for this step. The following state can be checked: Visiblity, Requirement, Locked. You can check multiple states per field and seperate them with a comma. All the possible values are in the table below.
Property | State |
---|---|
fieldname | required, optional, recommended, locked, unlocked, visible, invisible, not on form |
Checks the state of ribbon items on the form of the specified alias. You can specify the table like below.
Property | State |
---|---|
fieldname | visible, invisible |
Checks if the supplied alias has a set of form notifications. Supply the form notifications like the table below
Message | Level |
---|---|
Here you put the message as displayed in the notification. It isn't case sensitive. | Information, Warning, Error |
Asserts if the message in the error dialog equals the supplied error message.