Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How QTP records context menu in .net GUI applications
#1
Not Solved
Hi
I am trying to capture the right click menu of an object which is a part of tree view but not able to do it
I tried sendkeys but still not working

Code:
'set WshShell = CreateObject("WScript.Shell")
'WshShell.SendKeys"{APPKEY}"
'WshShell.SendKeys "{DOWN}"
'WshShell.SendKeys "{DOWN}"
'WshShell.SendKeys "{DOWN}"
'WshShell.SendKeys "{ENTER}"

Please Help
Reply
#2
Not Solved
Is the tree object identified ? If yes, you may have to use the user32.dll to simulate the mouse right click action.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Deal with AngularJS Applications with UFT 15 nistalaramesh 0 1,265 07-29-2021, 09:53 PM
Last Post: nistalaramesh
  Best method to use for automating 1000 records shuhale 0 1,140 07-21-2021, 11:42 PM
Last Post: shuhale
Question Find specific records in a SwfTreeView on different node levels lotos 0 2,434 10-06-2017, 05:14 AM
Last Post: lotos
  Fetching total number of records inside a webtable vidya2k2 2 3,960 06-15-2015, 02:55 PM
Last Post: venkatesh9032
  not able to automate the sap gui security window raja_aanji 1 4,441 03-09-2015, 12:29 PM
Last Post: raja_aanji

Forum Jump:


Users browsing this thread: 1 Guest(s)