Forum Discussion

awjones's avatar
awjones
Occasional Contributor
5 years ago

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. 

  • 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

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    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

     

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      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🙂

      • awjones's avatar
        awjones
        Occasional Contributor
        Hello Sonya, sorry for the late response. This has been resolved.
        Thanks to Alex for the quick response.
        Regards.