Micro Focus QTP (UFT) Forums
Problem with context menus - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Problem with context menus (/Thread-Problem-with-context-menus)



Problem with context menus - donde - 08-25-2009

Hi all,

Does someone knows how I can select an element from a context menu?

I use this script:
'After a right click on the element "jive-doc-copy-link", a conext menu is opened and I want to select the item "Copy" from it.

Code:
replaytype = Setting.WebPackage("ReplayType")
Setting.WebPackage("ReplayType") = 2
Root.Frame("Frame").WebEdit("jive-doc-copy-link").Click ,, micRightBtn
Setting.WebPackage("ReplayType") = replaytype


I can not add it in the OR manually and I do not know how I can do it descriptively, because I do not know any of its properties.

Is someone familiar with this?

Thank you in advance and best regards.


RE: Problem with context menus - basanth27 - 08-25-2009

Duplicate Post. The same entry already exists under VB Scripting/Descriptive Programming category.

Donde - Please avoid posting the same query in multiple categories. Since you are new i suggest you read the forum guidelines before posting.

Thread Locked !!!!