Automated Test Framework Set Field Values Failure

geeerard
Giga Guru

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)

 2017-06-01 at 10.23.35 AM.png

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)

 2017-06-01 at 10.20.19 AM.png

Any help would be greatly appreciated; I know I'm excited to utilize the Automated Test Framework and streamline our future upgrades!

3 REPLIES 3

chrissquires1
Tera Guru

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.


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 ''


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.