ATF - "Open a Record Producer (SP)" not behaving as expected

Shane Butler
Tera Guru

Hi Guys,

Have an issue that's been annoying me for a while. We are looking to increase the volume of Automated Tests we have within the platform however we are experiencing an issue with using the "Open a Record Producer (SP)" activity.

I have an ATF case with 2 steps:

  • Impersonate User: ITIL User (I know the best practice here is to create a new user - just doing this for testing and replicating the issue)
  • Open a Record Producer: <Record Producer>

find_real_file.png

When this ATF case actually runs in the Client Runner - once it gets to the Open a Recorder Producer (SP) activity the client runner appears to be redirected to our Service Portal. I can see in the URL there are still references to AFT and the like.

Any ideas how I can troubleshoot this behaviour?

Kind Regards,

Shane

1 ACCEPTED SOLUTION

Hi Ankur,

Thanks for getting back to me.

Ended up logging a Support case with ServiceNow. Turns out we have some customisation in our instance which support have pointed us in the right direction of.

Thanks again for your support and suggestions!

Kind Regards,
Shane

View solution in original post

7 REPLIES 7

Hi,

So any client script on the form is opening new tab etc

possibly that is blocking the ATF to run

ATF won't detect these Javascript pop-up such as Alert, Prompt, Confirm box

Regards
Ankur

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

Hi Ankur,

Thanks for getting back to me.

Ended up logging a Support case with ServiceNow. Turns out we have some customisation in our instance which support have pointed us in the right direction of.

Thanks again for your support and suggestions!

Kind Regards,
Shane

@Shane Butler 

Thank you for the update.

Did you accidentally marked your own response as correct?

Would you mind marking my response as correct as I pointed you in the direction of checking any client script for blocking this?

Regards
Ankur

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