Application Navigator
Verifies visibility of application menus in the left navigation bar
Default values:
navigator = "ui15"
visible = []
assertVisible = "at_least_applications_visible"
notVisible = []
assertNotVisible = "at_least_applications_not_visible"
OptionalassertNotVisible?: AssertApplicationNotVisibleTypeDefault value:
assertNotVisible = "at_least_applications_not_visible"
OptionalassertVisible?: AssertApplicationVisibleTypeDefault value:
assertVisible = "at_least_applications_visible
Optionalnavigator?: NavigatorTypeDefault value:
navigator = "ui15"
OptionalnotVisible?: (string | Record<"sys_app_application">)[]Default value:
notVisible = []
Optionalvisible?: (string | Record<"sys_app_application">)[]Default value:
visible = []
Verifies visibility of modules in the left navigation bar.
Default values:
navigator = "ui15",
assertNotVisible = "at_least_modules_not_visible",
notVisibleModules = [],
assertVisible = "at_least_modules_visible",
visibleModules = []
OptionalassertNotVisible?: AssertModuleNotVisibleTypeDefault value:
assertNotVisible = "at_least_modules_not_visible"
OptionalassertVisible?: AssertModuleVisibleTypeDefault value:
assertVisible = "at_least_modules_visible"
Optionalnavigator?: NavigatorTypeDefault value:
navigator = "ui15"
OptionalnotVisibleModules?: (string | Record<"sys_app_module">)[]Default value:
notVisibleModules = []
OptionalvisibleModules?: (string | Record<"sys_app_module">)[]Default value:
visibleModules = []
Navigates to a module, as if a user had clicked on it. In order to navigate to a module, it must be visible in the application navigator to the currently executing user.
Wherever the module takes you is your responsibility. The following are not supported:
The 'Timeout' field can be used to add a delay after the module has been opened. This can be useful if you have navigated to a page with asynchronous activities that need additional time to complete.
Add item to Shopping Cart
In order to use this step you must have already opened a Catalog Item page using the “Open a Catalog Item” step. After this step, you may no longer use any form steps on the currently opened catalog item as this step will close it
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertShoppingTypeDefault value:
assert = "form_submitted_to_server"
Opens a catalog item.
Opens a Record Producer.
This step can only be done for users that have access to the record producer.
Click Order Now to order a catalog item
In order to use this step you must have already opened a Catalog Item page using the "Open a Catalog Item" step. After this step, you may no longer use any steps on the currently opened catalog item as this step will close it.
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertOrderCatalogItemTypeDefault value:
assert = "form_submitted_to_server"
Sets quantity value on the current catalog item.
In order to use this step you must have already opened a catalog item page using the “Open a Catalog Item” step. This step cannot be used after “Order Catalog Item” step. This step can not be used with Record Producers.
Default values:
quantity = 1
Optionalquantity?: string | numberDefault value:
quantity = 1
Sets variable values on the current Catalog Item or Record Producer page or a form containing variable editor
Submit currently opened Record Producer
In order to use this step you must have already opened a Record Producer page using the “Open a Record Producer” step. After this step, you may no longer use any form steps on the currently opened record producer as this step will close it.
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertProducerTypeDefault value:
assert = "form_submitted_to_server"
Step to validate price and recurring price of a Catalog Item
In order to use this step you must have already opened a catalog item page using the “Open a Catalog Item” step. This step cannot be used after “Order Catalog Item” step.
This step can not be used with Record Producers
Validates variable values on the Catalog Item, Record Producer pages or a page containing a variable editor.
Additional Considerations
Catalog Item - This step can be used only in-between “Open a Catalog Item” step and “Order Catalog Item” step or after opening a page containing the variable editor using the "Open Existing Record" step. .
Record Producer - This step can be used only in-between “Open a Record Producer” and “Submit Record Producer” step or after opening the target record page containing the variable editor using the "Open Existing Record" step.
Several conditions can be applied to the same variable, if desired
Validates states of the desired variables.
The variable states can be one (or more) of mandatory, not mandatory, read only, not read only, visible and not visible.
Default values:
visible = []
notVisible = []
readOnly = []
notReadOnly = []
mandatory = []
notMandatory = []
Optionalmandatory?: string[]Default value:
mandatory = []
OptionalnotMandatory?: string[]Default value:
notMandatory = []
OptionalnotReadOnly?: string[]Default value:
notReadOnly = []
OptionalnotVisible?: string[]Default value:
notVisible = []
OptionalreadOnly?: string[]Default value:
readOnly = []
Optionalvisible?: string[]Default value:
visible = []
Service Catalog in Service Portal
Add item to Shopping Cart
In order to use this step you must have already opened a Catalog Item page using the “Open a Catalog Item (SP)” step.
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertAddItemToCartSPDefault value:
assert = "form_submitted_to_server"
Add order Guide to Shopping Cart
In order to use this step you must have already opened an Order Guide and should have navigated to the Summary section using the other ATF steps available.
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertAddOrderGuidetoShoppingCart_SPDefault value:
assert = "form_submitted_to_server"
This is step is used to add a row to multi-row variable set on current catalog item in Service Portal.
This step can only be used when the current catalog item contains a multi-row variable set.
Use this step to navigate within an Order Guide
In order to use this step you must have already opened an Order Guide using the "Open an Order Guide (SP)" step to navigate to any of the Order Guide step.
Default values:
guideStep = 1
assert = "navigate_success"
Optionalassert?: AssertNavigateDefault value:
assert = "navigate_success"
OptionalguideStep?: GuideStepTypeDefault value:
guideStep = 1
Opens a catalog item in portal
This step can only be done for users that have access to the item.
URL parameters can be added to the request when needed.
Default values:
portal = "81b75d3147032100ba13a5554ee4902b"
page = "sc_cat_item"
queryParameters = {}
Optionalpage?: string | Record<"sp_page">Default value:
page = "sc_cat_item"
Optionalportal?: string | Record<"sp_portal">Default value:
portal = "81b75d3147032100ba13a5554ee4902b"
OptionalqueryParameters?: QueryParamDefault value:
queryParameters = {}
Opens an order guide in portal
This step can only be done for users that have access to the order guide.
URL parameters can be added to the request when needed.
Default values:
queryParameters = {}
portal = "81b75d3147032100ba13a5554ee4902b"
page = "sc_cat_item_guide"
Optionalpage?: string | Record<"sp_page">Default value:
page = "sc_cat_item_guide"
Optionalportal?: string | Record<"sp_portal">Default value:
portal = "81b75d3147032100ba13a5554ee4902b"
OptionalqueryParameters?: QueryParamDefault value:
queryParameters = {}
Opens a Record Producer in portal.
This step can only be done for users that have access to the record producer.
URL parameters can be added to the request when needed.
Default values:
portal = "81b75d3147032100ba13a5554ee4902b"
page = "9f12251147132100ba13a5554ee490f4"
queryParameters = {}
Optionalpage?: string | Record<"sp_page">Default value:
page = "9f12251147132100ba13a5554ee490f4"
Optionalportal?: string | Record<"sp_portal">Default value:
portal = "81b75d3147032100ba13a5554ee4902b"
OptionalqueryParameters?: QueryParamDefault value:
queryParameters = {}
Click Order Now to order a catalog item
In order to use this step you must have already opened a Catalog Item page using the "Open a Catalog Item" step. After this step, you may no longer use any steps on the currently opened catalog item as this step will close it.
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertOrderCatalogItemSPDefault value:
assert = "form_submitted_to_server"
Review individual items in the Order Guide and choose to include the item or not
This step can only be done for users that have access to the order guide and are on the 'Choose Options' stage.
Default values:
included = true
Optionalincluded?: booleanDefault value:
included = true
Review Order Guide Summary in Service Portal
This step can only be done for users that have access to the order guide and are on the 'Summary' stage.
This is step is used to save current row of a multi-row variable set on current catalog item in Service Portal.
This step can only be used when the current catalog item contains a Multi-row Variable Set & after 'Add row to multi-row variable set (SP)' step.
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertMultiRowTypeDefault value:
assert = "form_submitted_to_server"
Sets quantity value on the currently open catalog item.
In order to use this step you must have already opened a catalog item page using the “Open a Catalog Item (SP)” step. This step cannot be used after “Order Catalog Item (SP)” step.
This step can not be used with Record Producers or items within an Order Guide.
Sets variable values on the current Catalog Item or Record Producer page
Catalog Item - In order to use this step you must have already opened a catalog item page using the “Open a Catalog Item (SP)” step. This step cannot be used after “Order Catalog Item” step.
Record Producer - In order to use this step you must have already opened a Record Producer page using the “Open a Record Producer (SP)” step. This step cannot be used after “Submit Record Producer” step.
Click Order Now to order an Order Guide
In order to use this step you must have already opened an Order Guide and should have navigated to the Summary section using the other ATF steps available.
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertSubmitOrderGuideSPDefault value:
assert = "form_submitted_to_server"
Submit currently opened Record Producer
In order to use this step you must have already opened a Record Producer page using the "Open Record Producer Page (SP)" step. After this step, you may no longer use any form steps on the currently opened record producer as this step will close it.
Default values:
assert = "form_submitted_to_server"
Optionalassert?: AssertRecordProducerSubmitSPDefault value:
assert = "form_submitted_to_server"
Validate items included in the Order Guide
This step can only be done for users that have access to the order guide and are on the 'Choose Options' stage.
Step to validate price and recurring price of a Catalog Item in Service Portal.
In order to use this step you must have already opened a catalog item page using the “Open a Catalog Item (SP)” step. This step cannot be used after “Order Catalog Item (SP)” step.
This step can not be used with Record Producers.
Validates variable values on the current Catalog Item or Record Producer
Additional Considerations
Catalog Item - In order to use this step you must have already opened a catalog item page using the “Open a Catalog Item” step. This step cannot be used after “Order Catalog Item” step.
Record Producer - In order to use this step you must have already opened a Record Producer page using the “Open a Record Producer” step. This step cannot be used after “Submit Record Producer” step.
Several conditions can be applied to the same variable, if desired
Validates states of the desired variables.
The variable states can be one (or more) of mandatory, not mandatory, read only, not read only, visible and not visible.
If a timeout is specified, the Client Test Runner will check the validation conditions every second until the timeout has been reached or the conditions are met.
If a timeout is exceeded or one of the validations is not correct the step will fail.
Default values:
visible = []
notVisible = []
readOnly = []
notReadOnly = []
mandatory = []
notMandatory = []
Optionalmandatory?: string[]Default value:
mandatory = []
OptionalnotMandatory?: string[]Default value:
notMandatory = []
OptionalnotReadOnly?: string[]Default value:
notReadOnly = []
OptionalnotVisible?: string[]Default value:
notVisible = []
OptionalreadOnly?: string[]Default value:
readOnly = []
OptionalvariableSet?: string | Record<"item_option_new_set">Optionalvisible?: string[]Default value:
visible = []
Generates an Email [sys_email] record that looks like a new inbound email. This step also creates an email.read event upon step completion.
Generates an Email [sys_email] record that looks like an email sent in reply to a system notification. This step also creates an email.read event upon step completion.
Generates a string that can be used as test data for another test step. By default, the string is 10 characters long. The maximum length of the string is 10,000 characters.
Default values:
length = 10
Optionallength?: numberDefault value:
length = 10
Filters the Email [sys_email] table to find an email that was sent during testing.
Default values:
conditions = "stateANYTHING^recipientsANYTHING^user_idANYTHING^subjectANYTHING^bodyANYTHING^headersANYTHING^EQ"
Optionalconditions?: stringDefault value:
conditions = "stateANYTHING^recipientsANYTHING^user_idANYTHING^subjectANYTHING^bodyANYTHING^headersANYTHING^EQ"
Optionaltable?: TFilters the Email [sys_email] table to find an email that was sent from a flow during testing.
Default values:
conditions = "stateANYTHING^recipientsANYTHING^user_idANYTHING^subjectANYTHING^bodyANYTHING^EQ"
Optionalconditions?: stringDefault value:
conditions = "stateANYTHING^recipientsANYTHING^user_idANYTHING^subjectANYTHING^bodyANYTHING^EQ"
Optionaltable?: TFilters the Email [sys_email] table to find an email that was sent from a notification during testing.
conditions = "stateANYTHING^recipientsANYTHING^user_idANYTHING^subjectANYTHING^bodyANYTHING^EQ"
Optionalconditions?: stringDefault value:
conditions = "stateANYTHING^recipientsANYTHING^user_idANYTHING^subjectANYTHING^bodyANYTHING^EQ"
Optionaltable?: TForm
Adds attachments to the current form. At least one attachment is required. In order to use this step you must have already opened a form using either the "Open a New Form" or "Open an Existing Record" steps. This step also cannot be used after a "Submit Form" step or "Click a UI Action" step has been used.
Clicks a declarative action on the current form.
Use the Form UI field to specify testing in the standard platform UI or workspace UI.
In order to use this step you must have already opened a form using either the "Open a New Form" or "Open an Existing Record" steps. After this step, you may no longer use any form steps on the currently opened form as it is expected that this step will close it or move to a different page.
Default values:
formUI = "standard_ui"
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
Clicks a button within a modal in the specified Form UI. Optionally sets field values for modals in a workspace UI.
Use the Form UI field to specify testing in the standard platform UI or workspace UI.
In the standard platform UI, this step clicks the button by id on the specified modal UI page and validates the following:
In a workspace UI, this step clicks the Confirm or Cancel action within the modal, and optionally sets field values.
Use the Timeout field to specify the time to wait for the modal and button to appear.
Use the Assertion timeout field to specify the time to wait for the assertion to pass or fail after clicking the button.
Default values:
formUI = "standard_ui"
assert = ""
assertTimeout = 5
action = "confirm"
Optionalaction?: ActionTypeDefault value:
action = "confirm"
Optionalassert?: AssertModalTypeDefault value:
assert = ""
OptionalassertTimeout?: numberDefault value:
assertTimeout = 5
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
Optionalvalues?: stringClicks a UI action on the current form.
Default values:
actionType = "ui_action"
formUI = "standard_ui"
declarativeAction = ""
OptionalactionType?: UIActionTypeactionType = "ui_action"
OptionaldeclarativeAction?: string | Record<"sys_declarative_action_assignment">Default value:
declarativeAction = ""
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
Validates whether a declarative action is visible on the current form. You can assert that any number of declarative actions are either visible or not visible.
Default values:
formUI = "standard_ui"
visible = []
notVisible = []
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
OptionalnotVisible?: (string | Record<"sys_declarative_action_assignment">)[]Default value:
notVisible = []
Optionalvisible?: (string | Record<"sys_declarative_action_assignment">)[]Default value:
visible = []
Validates states of the desired fields.
The field states can be one (or more) of mandatory, not mandatory, read only, not read only, visible and not visible.
If a timeout is specified, the Client Test Runner will check the validation conditions every second until the timeout has been reached or the conditions are met.
If a timeout is exceeded or one of the validations is not correct the step will fail.
Default values:
formUI = "standard_ui"
visible = []
notVisible = []
readOnly = []
notReadOnly = []
mandatory = []
notMandatory = []
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
Optionalmandatory?: (Default value:
mandatory = []
OptionalnotMandatory?: (Default value:
notMandatory = []
OptionalnotReadOnly?: (Default value:
notReadOnly = []
OptionalnotVisible?: (Default value:
notVisible = []
OptionalreadOnly?: (Default value:
readOnly = []
Optionalvisible?: (Default value:
visible = []
Validates field values on the current form. Use the Form UI field to specify testing in the standard platform UI or workspace UI.
In order to use this step you must have already opened a form using either the "Open a New Form" or "Open an Existing Record" steps. It is recommended to not run this step directly after a "Submit a Form" or "Click a UI Action" step.
Several conditions can be applied to the same field, if desired.
This step can be used in any order with the "Set Field Values", "Field State Validation", and "UI Action Visibility" steps.
Default values:
formUI = "standard_ui"
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
Opens an existing record it the selected table and Form UI.
Use the Form UI field to specify testing in the standard platform UI or workspace UI.
Optionally, you can specify the form’s view name. Keep in mind that this can only be done for users that have access to that view.
Default values:
formUI = "standard_ui"
view = ""
selectedTabIndex = 1
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
OptionalrecordPath?: stringOptionalselectedTabIndex?: numberDefault value:
selectedTabIndex = 1
Optionalview?: stringDefault value:
view = ""
Opens a new form for the selected table and Form UI.
Use the Form UI field to specify testing in the standard platform UI or workspace UI.
Optionally, you can specify the form’s view name. Keep in mind that this can only be done for users that have access to that view.
Default values:
formUI = "standard_ui"
view = ""
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
OptionalrecordPath?: stringOptionalview?: stringDefault value:
view = ""
Sets field values on the current form.
Use the Form UI field to specify testing in the standard platform UI or workspace UI.
In order to use this step you must have already opened a form using either the "Open a New Form" or "Open an Existing Record" steps. It is recommended to not run this step directly after a "Submit a Form" or "Click a UI Action" step.
This step can be used in any order with the "Field Value Validation", "Field State Validation" and "UI Action Visibility" steps.
Default values:
formUI = "standard_ui"
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
Submits the current form.
Use the Form UI field to specify testing in the standard platform UI or workspace UI.
In order to use this step you must have already opened a form using either the "Open a New Form" or "Open an Existing Record" steps. After this step, you may no longer use any form steps on the currently opened form as this step will close it.
Outputs the table and sys_id of the submitted record.
Default values:
formUI = "standard_ui"
assert = ""
Optionalassert?: AssertTypeDefault value:
assert = ""
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
Validates whether a UI Action is visible on the current form.
You can assert that any number of UI Actions are either visible or not visible.
The default visible UI Actions can vary depending on the currently impersonated user.
Default values:
formUI = "standard_ui"
OptionalformUI?: FormUITypeDefault value:
formUI = "standard_ui"
OptionalnotVisible?: (string | Record<"sys_ui_action">)[]Default value:
notVisible = []
Optionalvisible?: (string | Record<"sys_ui_action">)[]Default value:
visible = []
Forms in Service Portal
Adds attachments to the current form in portal. At least one attachment is required. In order to use this step you must have already opened a form using the "Open a Form(SP)" or "Open Service Portal Page" steps. This step also cannot be used after a "Submit Form" step or "Click a UI Action" step has been used.
Clicks a UI Action on the current form.
In order to use this step you must have already opened a form using either the "Open a Page (SP)" step. After this step, you may no longer use any form steps on the currently opened form as it is expected that this step will close it or move to a different page.
Outputs the table and sys_id of the record on which the action was clicked.
Validates states of fields on a form within a Service Portal page.
The field states can be one (or more) of mandatory, not mandatory, read only, not read only, visible and not visible.
When a timeout is specified, the Client Test Runner will check the validation conditions every second until the timeout has been reached or the conditions are met.
When a timeout is exceeded or one of the validations is not correct the step will fail.
Default values:
visible = []
notVisible = []
mandatory = []
notMandatory = []
readOnly = []
notReadOnly = []
Optionalmandatory?: (Default value:
mandatory = []
OptionalnotMandatory?: (Default value:
notMandatory = []
OptionalnotReadOnly?: (Default value:
notReadOnly = []
OptionalnotVisible?: (Default value:
notVisible = []
OptionalreadOnly?: (Default value:
readOnly = []
Optionalvisible?: (Default value:
visible = []
Validates field values on the current form.
In order to use this step you must have already opened a page using "Open a Page (SP)". This step also cannot be used after a "Submit Form (SP)" step or "Click a UI Action (SP)" step has been used.
Several conditions can be applied to the same field, if desired.
This step can be used in any order with the "Set Field Values (SP)", "Field State Validation (SP)", and "UI Action Visibility (SP)" steps.
Define a Service Portal form and portal to open it in.
URL parameters to use are table, sys_id and view. The table parameter will open the form view of the specified table. The sys_id parameter will open a new record when no sys_id value is entered and open an existing record when a value is provided. "Default" view is used when no view parameter is specified.
Default values:
portal = "81b75d3147032100ba13a5554ee4902b"
page = "form"
view = ""
queryParameters = {}
Optionalpage?: string | Record<"sp_page">Default value:
page = "form"
OptionalparamID?: string | Record<T>Optionalportal?: string | Record<"sp_portal">Default value:
portal = "81b75d3147032100ba13a5554ee4902b"
OptionalqueryParameters?: QueryParamDefault value:
queryParameters = {}
Optionalview?: stringDefault value:
view = ""
Opens a Service Portal page
Additional Considerations
Provide any URL parameters required for the page.
After this step, you will be able to interact with the widgets available on the page.
Default values:
queryParameters = {}
OptionalqueryParameters?: QueryParamDefault value:
queryParameters = {}
In order to use this step you must have already opened a page using the "Open a Page (SP)" steps.
This step can be used in any order with the "Field Value Validation (SP)", "Field State Validation (SP)" and "UI Action Visibility (SP)" steps.
This step cannot be used after a "Submit Form (SP)" step or "Click a UI Action (SP)".
Submits the current form on a Service Portal page.
In order to use this step you must have already opened a page using "Open a Page (SP)" step. After this step, you may no longer use any test steps on the currently opened form as this step will close it.
Outputs the table and sys_id of the submitted record.
Validates whether a UI Action is visible or not on the current form.
You can assert that any number of UI Actions are either visible or invisible.
Service Portal only supports Server UI Actions. The setRedirectURL() method and 'Client' UI Actions are not supported. The default visible UI Actions can vary depending on the currently impersonated user.
Default values:
visible = []
notVisible = []
OptionalnotVisible?: (string | Record<"sys_ui_action">)[]Default value:
notVisible = []
Optionalvisible?: (string | Record<"sys_ui_action">)[]Default value:
visible = []
Reporting
Confirm a report can or cannot be viewed by the test user
Default values:
assert = "can_view_report"
Optionalassert?: AssertReportVisibilityTypeDefault value:
assert = "can_view_report"
Responsive Dashboards
Confirm a dashboard can or cannot be shared by the test user
Default values:
assert = "can_share_dashboard"
Optionalassert?: DashboardSharingAssertTypeDefault value:
assert = "can_share_dashboard"
Confirm a dashboard is or is not visible to the test user
Default values:
assert = "dashboard_is_visible"
Optionalassert?: AssertResponsiveDashboardTypeDefault value:
assert = "dashboard_is_visible"
REST
Assert the JSON response payload element. Specify the JSON SNC path and select the comparison operation to use against the supplied expected element value.
Default values:
operation = "exists"
Optionaloperation?: AssertResponseOperationTypeDefault value:
operation = "exists"
Assert an HTTP response header. Select the comparison operation and specify the expected value of the header.
Default values:
operation = "exists"
Optionaloperation?: AssertResponseHeaderDefault value:
operation = "exists"
Assert the JSON response payload is valid.
Assert the HTTP response payload is equals to or contains a specified value. Select the comparison operation and specify the expected value of the response payload.
Default values:
operation = "contains"
Optionaloperation?: AssertResponsePayloadDefault value:
operation = "contains"
Assert the HTTP response time is less than or greater than a specified value. Select the comparison operation and specify the expected value of the response time.
The response time is specified in milliseconds
Default values:
operation = "less_than"
Optionaloperation?: ResponseConditionOperationTypeDefault value:
operation = "less_than"
Assert the XML response payload is a well-formed.
Assert the HTTP response status code. Select the comparison operation and specify the numeric value of the expected status code.
Default values:
operation = "equals"
Optionaloperation?: RestStatusOperationTypeDefault value:
operation = "equals"
Assert the HTTP response status code name is equals to or contains a specified value. Select the comparison operation and specify the expected value of the status code name.
Default values:
operation = "contains"
Optionaloperation?: ResponseOperationValueTypeDefault value:
operation = "contains"
Assert the XML response payload element. Specify the XML XPath and select the comparison operation to use against the supplied expected element value.
Default values:
operation = "exists"
Optionaloperation?: ResponseValueOperationTypeDefault value:
operation = "exists"
Send a REST request to the current instance. Specify an HTTP method, path, query parameters, request headers and body if needed.
Default values:
auth = "basic"
mutualAuth = ""
basicAuthentication = ""
method = "get"
queryParameters = {}
headers = {}
Optionalauth?: AuthTypeDefault value:
auth = "basic"
OptionalbasicAuthentication?: string | Record<"sys_auth_profile_basic">Default value:
basicAuthentication = ""
Optionalbody?: stringOptionalheaders?: QueryParamDefault value:
headers = {}
Optionalmethod?: HTTPMethodTypeDefault value:
method = "get"
OptionalmutualAuth?: string | Record<"sys_certificate">Default value:
mutualAuth = ""
OptionalqueryParameters?: QueryParamDefault value:
queryParameters = {}
Server
Adds attachments to the specified record. At least one attachment is required. This step is only executed on the server and has no UI associated with it. If it is intended to be used with "Open a New Form" or "Open an Existing Record" steps, then "Add Attachments to Form" should be used instead. The specified record must exist prior to this step running. If adding attachments to a form that has not been submitted yet, use "Add Attachments to Form" instead.
Checkout the Shopping Cart and generates a new request.
Default values:
assert = "checkout_successfull"
Optionalassert?: AssertCartTypeDefault value:
assert = "checkout_successfull"
Create a user with specified roles and groups. Optionally impersonate the user in the current session for the duration of the test or until another user is impersonated.
Default values:
fieldValues = {}
firstName = ""
lastName = ""
groups = []
roles = []
impersonate = true
OptionalfieldValues?: Partial<Data<"sys_user">>Default value:
fieldValues = {}
OptionalfirstName?: stringDefault value:
firstName = ""
Optionalgroups?: (string | Record<"sys_user_group">)[]Default value:
groups = []
Optionalimpersonate?: booleanDefault value:
impersonate = true
OptionallastName?: stringDefault value:
lastName = ""
Optionalroles?: (string | Role)[]Default value:
roles = []
Optionaltable?: stringImpersonates the specified user in the current session for the duration of the test or until another user is impersonated.
The user specified in the "User" field will be outputted for use later in the test.
Logs a message that can contain a variable or other information pertaining to the test. This message will be stored as a step result upon test completion.
Deletes a record in a table.
Default values:
assert = "record_successfully_deleted"
enforceSecurity = true
Optionalassert?: RecordDeleteAssertTypeDefault value:
assert = "record_successfully_deleted"
OptionalenforceSecurity?: booleanDefault value:
enforceSecurity = true
Inserts a record into a table. Specify the field values to set on the new record.
Default values:
assert = "record_successfully_inserted"
enforceSecurity = true
Optionalassert?: AssertInsertDefault value:
assert = "record_successfully_inserted"
OptionalenforceSecurity?: booleanDefault value:
enforceSecurity = true
Perform a database query to verify if a record matching the conditions set in this step are met.
Default values:
assert = "records_match_query"
enforceSecurity = false
Optionalassert?: AssertQueryTypeDefault value:
assert = "records_match_query"
OptionalenforceSecurity?: booleanDefault value:
enforceSecurity = false
Changes field values on a record on the server.
It is strongly advised to follow this step with a "Record Validation" step to ensure that the changes were applied.
Default values:
assert = "record_successfully_updated"
enforceSecurity = true
Optionalassert?: AssertUpdateTypeDefault value:
assert = "record_successfully_updated"
OptionalenforceSecurity?: booleanDefault value:
enforceSecurity = true
Validates that a record meets the specified conditions on the server-side.
Several conditions can be applied to the same field, if desired.
Default values:
assert = "record_validated"
enforceSecurity = true
Optionalassert?: AssertRecordValidationTypeDefault value:
assert = "record_validated"
OptionalenforceSecurity?: booleanDefault value:
enforceSecurity = true
Replays a previously created request item with the same values and options.
Runs a script on the server. Typically used to run Jasmine tests.
OptionaljasmineVersion?: stringVersion of Jasmine to use. Currently, only 3.1 is supported
Optionalscript?: stringScript to run server-side
Perform search for a Catalog Item or Record Producer in the specified Catalog and Category
Default values:
assert = "assert_item_present"
searchInPortal = false
Optionalassert?: AssertCatalogItemDefault value:
assert = "assert_item_present"
OptionalsearchInPortal?: booleanDefault value:
searchInPortal = false
Sets the output variables for the current reusable test. Reusable output variables can be created in the reusable test form and populated with values in this step
Central interface for defining atf tests. The name of the test must uniquely identify the ATF test w/in the application
Each step is defined by calling its corresponding function:
Values of steps with output variables can be saved and used for inputs in fields which support gem-mapping
Param: assertNotVisible
Default value: 'at_least_modules_not_visible' *
Param: notVisibleModules
Default value: [ ] *
Param: assertVisible
Default value: 'at_least_modules_visible' *
Param: visibleModules
Default value: [ ]