cancel
Showing results for 
Search instead for 
Did you mean: 

Two controls with the same path and mapped names after mapping an object

SOLVED
Highlighted
Occasional Contributor

Two controls with the same path and mapped names after mapping an object

Hello,

I have two web controls that gets assigned the same mapped name with the same paths when mapping only one of the objects. When played back, the wrong control gets clicked on. Not for sure how that possible... perhaps an anomaly within TestComplete. At any rate, is there a workaround for this? Perhaps updating/renaming the object that I want to click on? Or changing its properties. If so, what method is used to do so.

I've tried deleting the mapped name in the NameMapping tree and remapping with no success.

 

Thanks in advance. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Two controls with the same path and mapped names after mapping an object

Hi,

 

Can you post here the screenshots of:

-- How the object is NameMapped;

-- Screenshots of both controls from the Object Browser with Properties pane selected

 

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

4 REPLIES 4
Highlighted
Community Hero

Re: Two controls with the same path and mapped names after mapping an object

Hi,

 

Can you post here the screenshots of:

-- How the object is NameMapped;

-- Screenshots of both controls from the Object Browser with Properties pane selected

 

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

Highlighted
Community Manager

Re: Two controls with the same path and mapped names after mapping an object

Thank you for responding Alex!

 

@awjones Could you attach the images Alex is asking about so that the Community could try and find a solution? Thank you🙂


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Occasional Contributor

Re: Two controls with the same path and mapped names after mapping an object

Hello Sonya, sorry for the late response. This has been resolved.
Thanks to Alex for the quick response.
Regards.
Highlighted
Community Manager

Re: Two controls with the same path and mapped names after mapping an object

I am glad to hear this @awjones !

Great job Alex!


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors