SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jan 2001
    Location
    Ireland
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HotKeys - are there any functions that I can use ?

    Hi All,

    I want to do a test that will check all the hotkeys in our application. Are there any 4Test function/methods that I can use. I looked in the on-line help and I cann't find any. Thanks.

    Regards,

    Conor

    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    New York, NY, USA
    Posts
    137
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: HotKeys - are there any functions that I can use ?

    If it is a simple matter of checking if they are present in a Menu object, you can do a verify on the menu or submenu's contents and in the expected place an ampersand in front of the hot key character in the menu item. The underscore will not display in a true menu object unless it is defined so this validates it in a round-about way.

    Otherwise, I think you can use the TypeKeys method on most (if not all) hot key combinations, look in the online user guide for key definitions and do it like this:

    MyWindow.TypeKeys ("<Ctrl>+<a>")

    The plus outside of the angle braces will cause the keys to be pushed in combination.


    ------------------

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Location
    Dublin, Ireland
    Posts
    152
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: HotKeys - are there any functions that I can use ?

    Hi Conor,

    We have a localisation plug-in for SilkTest and two of the available functions check hotkeys for invalid keys and duplicate keys. Send me an email and I can forward the extension to you. It's free.

    joneill@quality-automation.com

    John.

    ------------------
    John O'Neill.
    Quality Automation Ltd.
    www.quality-automation.com
    John O'Neill.
    Quality Automation Ltd.
    www.quality-automation.com

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 03:47 PM.

Copyright BetaSoft Inc.