ATF test case for Upgradation

Venkataramudu A
Tera Contributor

Hi All,

 

I am beginer to create ATF test cases in servicenow. I want to create ATF test cases for the upgradation. Could you please suggest/provide steps on what needs to be covered.

 

Thanks,

Venkat

4 REPLIES 4

newhand
Mega Sage

HI@Venkataramudu A 

Just think it as a normal test .

1. Design the test cases to check if the system goes well  

2. Write ATF cases base on the test case( In a way it is similar to Junit test).

3. Test the ATF cases before upgrade and make sure that the ATF cases are correct.

4. Upgrade the instance

5. Run the ATF cases 

 

 

Please mark my answer as correct and helpful based on Impact.

Alex319
Giga Guru

Hi Venkataramudu A, 
When we use ATFs during the upgrade process we use them to test the following: 
Incident

Problem

Change

Knowledge

 

When creating tests it is good to test both the successful outcome, i.e. what should happen when you emulate a user creating a new incident, filling out the required fields etc. and also the unsuccessful paths. such as a user shouldn't be able to progress and incident to the next state if all the mandatory fields have not been completed. 

Finally, ATFs should never be run in your production environment. they are only run in DEV and TEST to check that the upgrade has worked as expected before upgrading Production. 

 

hope this helps

 

Alex

Hi,

 

Thanks for the response. Is this same as ATF regression testing?

 

Venkat

I believe it is the same as ATF regression testing. 

'What is regression testing in ServiceNow?
 
Regression testing is testing existing software applications to make sure that a change or addition hasn't broken any existing functionality.'
 
Thanks
Alex