01-31-2012, 08:44 PM
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:
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.
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.