We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Record query step failing in ATF

khareakshay
Tera Contributor

I am writing ATF test script to validate the lifecycle of service catalog. In this I am using Record query as one of the test step to validate the SCTASK record for a given REQ/RITM. However the test step is failing with the error message as in attached image. I have tried  implementing the scenario manually and it works fine 

The step 9 referenced in the below image is a Record query step which returns the sys_id of REQ created from service catalog and passess . Please suggest , how to resolve this

khareakshay_0-1780929009263.png

Error:

khareakshay_1-1780929134196.png

 

 

7 REPLIES 7

Hi @Tanushree Maiti ,

I already tried to use RITM record but it still gives the same error as below.

khareakshay_1-1780981991442.png

 

 

Sardash
Tera Guru

@khareakshay -

Please increase the timeout, as the task may sometimes be linked to the RITM with a slight delay. This ensures that ATF waits until the task is created.
---------------------------------------------------------------------------------------------------------------------------------------------------
If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."

Shaqeel
Mega Sage

Hi @khareakshay 

 

Have you tried another approach?

What I would do is:

after submitting the request I would use open existing record and then dot walk to the submitted step.

The I would use Apply filter on list to validate and open the RITM and similarly for tasks.

 


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