What is the copied_from field in sys_atf_step table.

Susmitha14
Tera Contributor

Hi,

What is the copied_from field in sys_atf_step table. I have implemented the test cases in dev instance and when I am tried to move to the test instance then  Could not find a record in sys_atf_step for column copied_from referenced in this update I am getting the same error. In dev instance when I am creating the tests I have created one dummy test case and when implementing remaining test cases I have copied from that test case. After completion of my test cases I have deleted that test case. So What I should do for these errors. And what is the main cause for getting this error. IF I have done skip remote update for these errors, will it affect the tests in the test instance.

10 REPLIES 10

No worries, can you please click helpful or correct answer if it works for you

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

You copied the Test but the Parent Test present in the Copied From field is not captured in your update set.

So it won't find it when you migrate to next instance.

You can Accept the Updates from your error

Regards
Ankur

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

HI Ankur,

I have created the parent test also in the same update set. But what is the copied from field on the test step table.

Hi,

So here is an example

1) Test 1 has 5 Test Steps

2) Now you wish to copy the same Test 1 but add few more test steps

a) what you do is go on the Test 1 and click Copy Test

b) it creates another Test with name as Test 1 Copy and adds all those 5 Test Steps in the newly created Test 1 Copy

c) During this process it populates the Copied from field on Test 1 Copy with Test 1

d) same is with the Test Steps under Test 1 Copy

Example:

find_real_file.png

Regards
Ankur

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

@Susmitha 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

If not, please let us know if you need some more assistance.

Thanks!
Ankur

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