cancel
Showing results for 
Search instead for 
Did you mean: 

context sensitive menu and object finder tool

laxtc
Occasional Contributor

context sensitive menu and object finder tool

Hello,



I want to see the properties of the context sensitive menu from the object finder tool. As soon as I click on the finder tool my context sensitive menu disappers that means I can't see the properties of the context sensitive menu unless I hold some key. I used to hold the control key in QTP to do this. Does testcomplete has similar or different key option? Please let me know.
Thanks
5 REPLIES 5
YMinaev
Staff

RE: context sensitive menu and object finder tool

Hi,



You cannot do this with the Finder tool, but using it is not the only way to capture objects. See the "Object Properties Window" help topic for details.

------
Yuri
TestComplete Customer Care Engineer

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

RE: context sensitive menu and object finder tool

Hello,



Can you please be more specific? I am not able to follow in the help topic. They haven't given any information on context sensitive menu



For e.g.



I have to right click on the web and a context menu will popup. How do I interate through the items in the menu? I wan to see those object properties.



Thank you,



Lax..
Thanks
laxtc
Occasional Contributor

RE: context sensitive menu and object finder tool

One more thing I forgot to add: I am not interested in recording the object properties, I want to know which unique property should I use for this menu items.



Thanks
Thanks
YMinaev
Staff

RE: context sensitive menu and object finder tool

Hi,



You need to act in the following way:

1. Invoke the menu.

2. Capture it using the mouse cursor (not the Finder tool) and fix information about it in the Object Properties window (Ctrl + Shift + A).

3. Copy its full name.

4. Obtain it by the full name in your script.

5. Work with the menu (click on it, etc.). If you need to obtain its items, they should be child objects of the menu object, and you can get them in your script by their names or text using the Find method.

------
Yuri
TestComplete Customer Care Engineer

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

RE: context sensitive menu and object finder tool

Thank you that helped.
Thanks
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors