SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Oct 2007
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to record right click--> Menu-->selection

    i am trying to capture an operation where i Right click and select some option from menu (right click-->Menu-->selection), QTP dosen't record this event. Please tell me how to handle it.

  2. #2
    Junior Member
    Join Date
    Apr 2002
    Location
    Pune, Maharashtra, India
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to record right click--> Menu-->selection

    Program the right click!

    pseudo code would be like:

    obj.click micRightBtn, xCoord, yCoord
    wait 2 ' for menu to appear

    Now, the menu part is tricky:
    1) if application has customization facility, try to assign hot keys to the menu item you're trying to invoke.
    If yes, do a
    obj.Type key1 & key2

    2) if customization is not available, try spying on the menu item, check if its a "WinMenu" object.
    If yes, do a
    obj.WinMenu("YourMenu").Select "YourMenuItemName"

    Regards,
    Sudipto.
    <font color="#00FF00"> .Sudipto. </font>

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:07 PM.

Copyright BetaSoft Inc.