ATF, Not setting some field values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 05:50 AM
Good morning Friends,
I have created a test having a step of set field values. Inside that I am setting 3 field values for a Story record. The test ran fine and the results shows that it set the field values, however when I open the record the value is not updated there, here is the test results and screenshot of record after test ran.
I you see the record, It successfully changing the Percent Complete, but not changing the order and description.
Any idea? What I am missing here?
Results
Screen shot of the record:
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2017 03:06 PM
Hello,
this is intended behavior. Please check following article:
Automated Test Framework Part 2: Form Submit
"The test framework automatically tracks and deletes any data created by running tests, automatically taking care of rolling back changes after testing"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2017 05:48 AM
Thanks Drbz,
That makes sense but in that case how is one field value is changing but not others. I set three field values :
Percent_Complete : Keeps the update
Order: Remove the changes after the successful test
Description: Remove the update after successful test
Do you have any idea if there is any reason for the changed behavior ?
Regards
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2017 07:03 AM
Additionally,
One thing I noticed is the two fields, removing the changes after test are from "Task" table however the one keeping the change is from "Planned_task" table. But shouldn't ATF remove the values irrespective of associated table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2017 05:42 PM
Are you browsing/opening the record in change table to view data? or is this screenshot from ATF test results?
==> you can not see the data in the database records once the ATF test completed. (All updates will be backed out)
==> Please run with entire new data and observe the results. If it still shows same behavior, please let me know
Thanks
PS: Please hit Like/Helpful ...if it helps