General ATF questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2023 10:49 AM
Hello all, I'm attempting to create some CHG ATF tests since our flows are custom.
I have read it is best to keep the tests small which is what I'm trying to do.
Here are my main questions:
1. When a test is complete, it rolls back all the data. Is it possible to stop this?
2. I want to have tests in a suite. I need to create a change request in the first test, then open the record created in the first test in the 2nd test. I don't think this is possible since the record that is created in the first test is rolled back when it finishes. So is it possible to open a record that was created in a previous test when ran in a suite?
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2023 09:15 PM
Hi @David247
1. No, you cannot stop this as this is a fundamental feature which makes absolutely sense.
2. Rolling back is performed at the end of an ATF run. So if you execute a suite, you of course can reference a record created in step 1 within a following step. Everything else would not make sense for the overall ATF topic.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2023 12:38 PM
Greetings Maik, thanks for responding.
Your reply for question 2 did not clear up my question. You said I can reference step 1 within a following step, which I know how to do. But, can I reference a record in a step in TEST 1 in TEST 2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 02:38 AM
Hi @David247
Answers:
1. Yes it is possible to stop roll back.
2. The best practice is to create one TEST which will include both TEST1 & TEST2 as they are depended. It is good to have 4-5 test(big) for INC instead of 10 small test.
Regards,
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel