The CreatorCon Call for Content is officially open! Get started here.

ServiceNow ATF

rucha_patel
Tera Contributor

ServiceNow ATF - How to delete test step in test? Delete option is greyed out in test step.

8 REPLIES 8

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Are you in the correct scope? Do you have write access? Anything else you can share? Or perhaps a screenshot?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @rucha_patel 

 

I create a new test and add steps as below

 

LearnNGrowAtul_0-1706086831570.png

 

*************************************************************************************************************
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
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Rajdeep Ganguly
Mega Guru


The delete option for a test step in ServiceNow Automated Test Framework (ATF) might be greyed out due to several reasons. Here are some steps you can follow to delete a test step:

1. Ensure you have the correct roles: To delete a test step, you need to have the 'atf_test_admin' or 'atf_test_designer' role. If you don't have these roles, you won't be able to delete a test step.

2. Check the test status: If the test is currently running or is scheduled to run, you won't be able to delete a test step. You need to wait until the test is completed or cancel the scheduled test.

3. Check if the test step is being used in other tests: If the test step is being used in other tests, you won't be able to delete it. You need to remove it from other tests first.

4. Delete the test step: Once you have the correct roles and the test is not running or scheduled, you can delete the test step. To do this, navigate to the test step you want to delete, click on the 'Delete' button, and confirm the deletion.

Remember, deleting a test step is a permanent action and cannot be undone. Always make sure you really want to delete a test step before doing so.


nowKB.com

For asking ServiceNow-related questions try this :
For a better and more optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.
Link - https://nowgpt.ai/

For the ServiceNow Certified System Administrator exams try this :
https://www.udemy.com/course/servicenow-csa-admin-certification-exam-2023/?couponCode=NOW-DEVELOPER

rucha_patel
Tera Contributor

Where to check assigned roles to ATF user ?