How do you change the scope or package of a copied Automated Test?

Scott Howes
Tera Contributor

I am trying to create a new test case in ServiceNow Automated Test Framework.

I have copied an existing out of the box test case where the scope (package) is Change Management ATF. However when I copy the test case it uses the Global scope and it is not allowing me to change it. 

How/where do you change the scope so that it is in the Change Management ATF scope or should I leave as Global? It seems like it should be the same as what it was cloned from but I don't know so am asking.

TIA. 

3 REPLIES 3

Jace Benson
Mega Sage

First, SNOW is not servicenow. See https://www.snowsoftware.com/int/products/snow-servicenow

I ask you try to either abbreviate both service and now, or neither but /shrug. 

Additionally;

I'd suggest editing your post by updating the title to get more people to look at it.

Make a good to-the-point title for the question or as stackoverflow says, "Write a title that summarizes the specific problem". This helps because it lets those who can help, know they can without going into the post. You might be thinking, I can't sum it up it's too complex. No problem, try to think how you'd ask a busy colleague, and put that into the subject. If you're still having trouble, write the title last after all the details are fresh.

  • Good: Set Value form variable in the request form to Table field
  • Good: How to disable attachment confirmations?
  • Good: How can I set an override reference qualifier to a group
  • Bad: NetApp
  • Bad: Photo Masking
  • Bad: Not Available for Module script

https://stackoverflow.com/help/how-to-ask

Once a record is made in a scope, I'm not sure it can be changed.  If you intend to have your tests in a specific scope, you may have to manually make them.

This is a ServiceNow community and SNOW is a very common abbreviation used in the industry. Your comment did not add any value to the conversation and comes off as smug. If you have to make such remarks please do stay on StackOverflow, there is no place for such toxicity on this forum.

Manny11
Tera Expert

Choose the Scope before you select the Copy Test button.