01-20-2012, 09:35 PM
I am trying to access Word, and then go to the "View" Menu on the menubar.
QTP is having a hard time finding the right menu item, as it is probably looking for a screen position. This is the QTP generated code:
I am getting error right from the 2nd line for WinComboBox. Could you let me know how I can have QTP choose the correct menu item?
Really appreciate your help!
QTP is having a hard time finding the right menu item, as it is probably looking for a screen position. This is the QTP generated code:
Code:
SystemUtil.Run "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE","","",""
WinComboBox("ComboBox").Select 0
Window("Microsoft Word").WinObject("NetUIHWND").Click 717,45
Window("Microsoft Word").WinObject("Microsoft Word Document").Click 242,173
I am getting error right from the 2nd line for WinComboBox. Could you let me know how I can have QTP choose the correct menu item?
Really appreciate your help!