- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2018 11:21 AM
Hello,
I'm working on ATF.
I Have created a test case which will create an incident in service portal.
Now I want to open the same incident and resolve it in another test case. As I'm not able to get any reference from the previous test. I'm not able to open the incident.
Help will be appreciated.
Regards,
Prinesh
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2022 08:31 AM
By adding the attribute excludeFromRollback=true to the a tables 'collection' dictionary record, the record will be preserved after the test is run.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2018 11:34 AM
Hi Prinesh
It is considered a good practice to keep the tests independent of each other and this why no provision was given to share the records/configuration between ATF tests. Test data are reverted/deleted post a test execution.
--
Best regards
Ankush

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2018 11:38 AM
Prinesh,
Test variables can only be inputted and outputted between test steps of the same test case. They cannot be moved between multiple test cases as ATF cleans up whatever operations it performed after running each test case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2022 08:31 AM
By adding the attribute excludeFromRollback=true to the a tables 'collection' dictionary record, the record will be preserved after the test is run.