- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2018 07:10 AM
I am trying to use Automated Testing to test the following process.
- User enters a catalog Request filling out a form with a number of variables associated to the form.
- The user "orders" the catalog item kicking off a workflow.
- The workflow creates a requested item with the variables entered in 1. above associated to the requested item. The workflow also creates a task to update the value of another variable.
- When the variable value mentioned in 3 is updated and the task "closed complete" the workflow then assigns another task based on the value enter in 3.
- When the task created in 4 is "closed complete" the workflow completes closing the requested item and the request.
The Automated Test I have created, has all of the steps mentioned above including a Record Update to update the variable value in 3 above complete successfully. When the variable value update is checked for the updated value the step fails.
My question is does Automated Testing allow updating of variables, in a table associated to a requested item? As mentioned the update completes successfully but when the updated value is "validated" the validation fails.
Thanks for your help.
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- 2,242 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2019 12:27 PM
You can use a 'Run server script' step to set variable values on the SC Task or RITM level. I do not see a way you can set them with any existing steps like Set Field Values or Set Variable Values.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2018 10:48 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2018 02:19 AM
Hi cheeta, I doubt that your system would have a 2-step-check-out. This will make the step fail at the updated value step because the RITM has not yet created (even that the step 'Order' said it passed)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2018 05:31 AM
Cytus,
No our system does not have a 2-step-check-out. When the catalog item is 'ordered' the RITM is created. The reviewer then "reviews" the RITM and updates the variable on the RITM 'record' without using a custom form.
jacebenson,
You may have something there. I have been focusing on the "Form" and the "Form" values. These are the variable values. Let me try that.
Thanks for the suggestion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2019 12:27 PM
You can use a 'Run server script' step to set variable values on the SC Task or RITM level. I do not see a way you can set them with any existing steps like Set Field Values or Set Variable Values.