Ask a Question

How to reach the expected object to map in a combox

SOLVED
Alicya619
Occasional Contributor

How to reach the expected object to map in a combox

Hello all,

 

I have an issue to map an object inside a combo box.

Steps followed :

- On TC, click on map object icon and select Point and fix option

- On my app, open the combo box, point object to map and press shift + ctrl + A

- Check object map : I map the border of my object not the object itself. I tried some many times and I also got the same result, I'm not successed to catch only the object, without the border.

Full path of the object expected for :[...].WPFObject("ToggleButton", "", 1)

Full path of the object mapped : WPFObject("ToggleButton", "", 2).WPFObject("ButtonBorder")

 

Is it possible to "delete" this part ".WPFObject("ButtonBorder")" from the full path ?

 

NB: usually I used the tree for "Object Browser" but because it's a combo box it's not possible (the combo box closed itself and I click somewhere else)

 

 

Thank you

 

Alicia

12 REPLIES 12

Hi,

 

nothing allow me to delete it.

Hm-m... Yes, it looks like it is not possible to modify the value of the Object field indeed. Strange and I would report this to Support.

Nevertheless, I was able to map the object as suggested by TestComplete and then, in the NameMapping editor, delete the last mapped object from the NameMapping tree.

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
Alicya619
Occasional Contributor

Yes I already open a ticket on this topic.

 

I'm using the technique you mention to map object and removed what I don't want but (for some reasons I don't understand) only the last one is mapped and I don't have the opportunity to map previous object..

 

So you confirm what I though it's not possible to do it in my particular case.

 

Thank you so much for your help and you time.

 

Alicia

Hi Alicia,

 

> So you confirm what I though it's not possible to do it in my particular case.

If you are talking about impossibility to remove the last object suggested to be mapped from the suggested full name, then yes, I can confirm this.

 

> Yes I already open a ticket on this topic.

I don't remember if I ever used this functionality, but my expectation is that it should exist and would be useful, so thank you a lot for creating a Support ticket. I would appreciate it if you update this thread when you hear back from Support.

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: