Automated Test Framework Set Field Values Failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2017 07:43 AM
I've built a simple automated test in our dev instance to create an intake ticket for an incident. Everything works correctly, with the exception of the subcategory for our "Situation" field
This shows how the form should look prior to submission (this was manually input by me)
The problem occurs after the ATF enters the variables I specify into the "Situation" field on the left. I know that I have the correct values and field, as when I run the test and watch the window with the "Client Test Runner," I can see the ATF populate the Situation field with the values I specify, but then, they quickly disappear for some reason. (note that I'm attempting to populate the Situation field twice in my test I've created below)
Here's a screenshot of the test I built, I moved the two Situation steps into their own as I wasn't sure if timing was an issue. (I know the validation step is going to fail, so, it's currently set to inactive)
Any help would be greatly appreciated; I know I'm excited to utilize the Automated Test Framework and streamline our future upgrades!
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 04:44 AM
What is the error that you're getting in the test? I attempted to recreate your issue using my dev instance and it seems to work as you expect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 07:20 AM
I don't actually receive an error until I validate that the Situation field is populated with the value that the prior step should have done.
- Set the values on the form as follows:
- Situation = Error [Incident]
In looking at the test results, I can see that the step says: "Successfully set field 'u_symptom_map' to valid reference value ''
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2017 08:23 AM
You could always move this step to after a Submit a Form step then validate the change from Error [Incident] to Connectivity [Incident] was successful. If you really need to validate before submitting the form, try moving it to step 6 and let your Set Field Values for Short Description and Description be step 5.
See if that helps.