How to reuse(extend) Test Case w/ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 10:46 AM
I am using Kingston and wanted to use ATF to run some tests.
An example is I create a new INC and expect a certain behavior. I want to use this same INC to run additional tests for my processes, such as assignment group change, assigned to changes, etc. without having to create the steps multiple times for an INC.
How is this done because I cannot find it in the docs.servicenow site and want to be able to utilize this tool for my regression and enhancement testing?
Thank you. Dave
- Labels:
-
Test Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 11:40 AM
Thank you. I will read up on templates again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 08:04 PM
ATF Custom Step configurations might be useful in your scenario. You can create a custom step config which creates an incident with some default values, And you can use this step in any ATF test.
https://docs.servicenow.com/bundle/london-application-development/page/administer/auto-test-framework/task/atf-create-custom-step.html
This explains it a bit more in detail
https://community.servicenow.com/community?id=community_blog&sys_id=398d6669dbd0dbc01dcaf3231f9619d2
You can also create a custom step category for all your custom step configurations like create an incident etc so that it is easier to use them in other tests
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019 05:32 AM
Thank you I will have to read up more on this too as it is not something I have the current skills to easily do on my own.