Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DP for identifying objects in MS Word
#1
Not Solved
I am unable to make MS Word to recognise the Menu bar, and the toolbar items. I already added MS Word objects into OR. But still on recording, all objects are still being displayed as NetUIHWND. Is there any way to have QTP understand this is the File Menu, atleast by descriptive programming.
I already tried this:
Code:
Window("Microsoft Word").Activate
Window("Microsoft Word").WinObject("Menu Bar").Click 24,9
Window("Microsoft Word").Window("File").Click 23,14

I was getting object not found issue.

Since this was not working, I am also looking to use the Hotkeys. If you have any input on Hotkeys, and what code to give, that would be helpful.
I am using QTP 11 on MS Word 2007. If you need more details, please let me know. Any help would be greatly appreciated in solving this. Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 14.01 - identifying wpf objects. but not performing action. chinmoyee 1 2,353 11-15-2017, 03:42 PM
Last Post: Ankur
  UFT Word automation wannel 1 2,147 10-31-2016, 06:59 PM
Last Post: wannel
  Objects identifying as WinObjects on IE with QTP/UFT santhosh kumar 5 5,238 05-07-2016, 12:39 PM
Last Post: vinod123
  QTP 10 not identifying objects in IE8 on 64 bit OS Ram2009 6 4,424 03-24-2015, 05:46 PM
Last Post: vinod123
  Does CSS in QTP can help identifying objects only ??? keeper_13 5 5,241 06-07-2013, 02:19 AM
Last Post: keeper_13

Forum Jump:


Users browsing this thread: 2 Guest(s)