Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF Test step

tushar_ghadage
Tera Contributor

Hi All, 

 

On the problem Management form :

When the request approval button is clicked (on the RCA State) -> approval will be generated to the group in problem coordinator group field -> impersonate the user -> approver the request -> end impersonation -> return to existing form-> and state will be moved to the Fix in progress state on the problem form. 

 

How to achieve this in the ATF using Test steps. 

 

I have created ATF steps but also approval is generated but when approved its not getting to the next stage 

(I cannot paste the ATF steps here because it's quite of many steps and will be hard for anyone to navigate hope you understand)

 

Anything would help!!

 

thanks

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@tushar_ghadage 

without knowing what are the steps and where it's failing can't help

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

When the request approval button is clicked (on the RCA State) -> approval will be generated to the group in problem coordinator group field -> impersonate the user -> approver the request -> end impersonation -> return to existing form-> and state will be moved to the Fix in progress state on the problem form. 

Screenshot (583).png

as i described earlier this is the error 

below are the test steps:

Screenshot (584).pngScreenshot (585).png

is there something missing!!

 

thanks

Hi @tushar_ghadage 

 

You are using wrong steps.

So after step 14, save the problem form.

Next user use Apply filter on list>>approvers(Related list).

and add fields such as approver is Charlotte or state is a requested.

Then impersonate to user and use open existing record>>apply filter on list.

 

It will open the correct approval form.

 

 

 

 


***********************************************************************************************************************
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

Shaqeel