Can you run an ATF test case with multiple values?

jglez
Tera Contributor

For example, say I have an ATF test that creates an Interaction and sets a field on that form to a specific value, and verifies that certain fields are auto-populated based on that specific value, etc. Can you have some sort of collection of values on which the same test can iterate on?

 

Put another way, imagine I have Service IDs A, B, and C. Can I run my ATF test using these three values and have the validation on the auto-populated fields work accordingly? Thanks.

2 REPLIES 2

Sardash
Giga Guru

@jglez - You can run an ATF test case with multiple values by using Parameterization Testing.

Parameterization testing allows you to run the same test multiple times with different data sets.

Please Refer to below documentation -

https://www.servicenow.com/docs/bundle/zurich-application-development/page/administer/auto-test-fram...

---------------------------------------------------------------------------------------------------------------------------------------------------

If my response helped, please mark it by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

@Sardash 

Any reason to repeat the same info which was already shared?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader