What all are the steps should follow, To Complete ATF(Automated Test FrameWork) catalog testing for (Record Producer)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019 07:49 AM
I have done testing done testing for catalog item in Service catalog, But i am wondering that what steps should i take to complete ATF(Automated Test FrameWork) for Record Producers ?
Help me with this?
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019 08:13 AM
As with any tests, this is highly dependent on what it is you're trying to test and how deep your individual tests go. We tend to build larger end to end tests. Here's an example from one of our record producers that create a service request task for our CE team, has it's work notes updated and is closed.
1. Find a random user in a role that can submit the record producer
2. Impersonate that user
3. Open Record Producer
4. Variable State Validation
5. Set variable values
6. Variable State Validation
7. Submit Record Producer
8. Open newly created CE request table record
9. Variable State Validation
10. Add a work note (as submitter)
11. Wait 10 seconds
12. Verify Notifications sent to the right people w/ correct contents
13. Find a random user in the CE assignment group
13. Impersonate that user
14. Add a work note (as CE) & Set State to "Closed Complete"
15. wait 10 seconds
16. Verify notifications sent to appropriate people with correct contents
17. Verify Record Active = false
You could argue the testing of the record producer ends at Step 7, but we like to do the end to end testing, so we can verify a whole process is working in line. You could also argue there are more checks we could/should be doing, but we're taking an iterative approach to building out our tests so we get a wide range of tests built out first and will add more complexity to them as time goes on, so there are likely additional steps that will come here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 08:19 AM
Thank you Brian for your response, this is quite helpful.
I have a follow up question to your response:
1. For steps 4-6, is it a common practice to have a 'Variable State Validation' step before and after 'Set Variable Values'?
2. Is there a particular test step for 13? Or do you manually do that by looking in the correct group?