Selection/switch Domain in ATF

Shailender5
Tera Contributor

While working with ATF - How can we choose/switch domains?

Consider that we are working in a domain-separated environment and need to choose/switch domains for the test cases in ATF. I think, there is no option in "Add Test Step" in "Test Case".

How to deal with/overcome this situation?

2 REPLIES 2

Praveen111
ServiceNow Employee
ServiceNow Employee

Hi, 

 

When testing domain separation during ATF test steps, you must set the domain first. This should be part of the first impersonation step of each of the ATF test steps when they are dependent on a domain being set. To learn more about domain separation recommended practices, see Domain separation recommended practices for service providers

 

Domain separation and Automated Test Framework 

 

I hope this answers your questions.

jessa23
Tera Contributor

Hello, 

I have the same question, is there a possibility to do this? Thank you