Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP does not identify the IE menus like Tools, File, Edit and e.t.c
#1
Hi,

There is a situation where i have to identify the IE browser tool menu using DP but doing so qtp is not able to identify the same, actually in IE all its menus like File, Edit, Tools etc are having same properties eventhough there index is also same there is no one property which is unique for each. Tried to identify the same by using childobjects method also but unsuccessfull, QTP throws General Run Error.

Plz provide the solution for the same as ASAP.

Thanks
Komila
Reply
#2
Code:
to recgonize/action the IE menu items, use VB scripting. Set objShell = CreateObject("WScript.Shell") objShell.SendKeys "{PGDN}" 'page up objShell.SendKeys "{F5}" 'Press F5 button Refresh objShell.SendKeys "%{F4}" 'Close the currently activated window/browser

% represents Alt
+ represents Shift
^ represents Ctrl
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to edit a text in aParagraph shaan.mishra87@gmail.com 2 3,160 08-26-2016, 04:48 PM
Last Post: shaan.mishra87@gmail.com
  Click on IE10 tools --> f12 --> Comaptaibilty view to IE8 theology 2 4,396 12-20-2014, 10:03 PM
Last Post: theology
  Auto complete for Web Edit box branjitk 2 6,380 12-20-2014, 09:31 PM
Last Post: supputuri
  Could not able to click on 'Edit' Button in a Table kotaramamohana 3 4,217 09-26-2012, 07:40 PM
Last Post: krr
  QTP file compare - ignoring file structure Fede 3 5,983 02-17-2012, 02:48 AM
Last Post: Parke

Forum Jump:


Users browsing this thread: 1 Guest(s)