Ask a Question

Test fails after adding the existing item from some other module

SOLVED
Ranjini1
Occasional Visitor

Test fails after adding the existing item from some other module

I am working on keyword tests. Created number of tests under keyword tests. I want to merge all the tests into one. So i have opened a new project-> Right click keyword test-> Add-> Existing item-> Selected one test from previous project. -> Run the test.

 

Result:

Test is getting failed. Showing errors like object does not exist or unable to find the object,etc.

 

I have just opened the test from the previous project in the current suite. But it is getting failed. At the same time when I open the same test in previous project and run it, then it is getting passed.

 

Please help me to debug the issue.

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: Test fails after adding the existing item from some other module

Hi,

 

At least the text of the error would be nice...

Though my guess is that you need to not only add your Keyword test to the new project, but merge NameMapping files as well (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/mana...)

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

1 REPLY 1
AlexKaras
Community Hero

Re: Test fails after adding the existing item from some other module

Hi,

 

At least the text of the error would be nice...

Though my guess is that you need to not only add your Keyword test to the new project, but merge NameMapping files as well (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/mana...)

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: