ATF Record Update test activity error

Kri
Tera Guru

I want to create a record in ATF in customer_account table by impersonating the Project Manager APAC user and in the next step I want to update the created record for some fields but when I run the ATF it is not able to find the created record in the customer_account table while running the Record Update test activity. How can I rectify this error

Kri_0-1731188795327.png

 

3 REPLIES 3

abhi159
Kilo Sage

 

@Kri 

before updating you have to open that specific record so use open an existing record test step.

so add this step before the update record step.

 

Please mark this response as correct or helpful if it assisted you with your question

Shaqeel
Mega Sage

Hi @Kri 

 

Record update after using Record Create is not consider best practice, it may fail anytime.

better user following steps:

Shaqeel_0-1731312874925.png

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


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

Valmik Patil1
Kilo Sage

Hello @Kri ,

 

Could you please debug your test and Check if your record is actually getting created in customer_account table.

 

Thanks

Valmik Patil