SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Guest

    Problem recording keystokes in Java application

    My Java application has a desktop with a menu bar containing 6 menus. Below are several tabbed panels. Each menu can be invoked using an <alt> key sequence.

    During recording I can invoke a menu by placing the cursor anywhere in a tabbed panel and performing the appropriate <alt> key sequence. The menu pops up.

    However, when I finish recording and paste back to the editor the <alt> key sequence has not been captured. However, mouse clicks in the tabbed panel are captured.

    Why does SilkTest allow me to perform keystrokes but doesn't capture them in a recoding ?

    Help please ?

  2. #2
    jb
    jb is offline
    Junior Member
    Join Date
    Sep 1999
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem recording keystokes in Java application

    Why don't you just script the keystrokes in? You can use TypeKeys to do this. I would not mess around with trying to figure out why the recorder is missing some keystrokes. As AJ says, if it doesn't work, work around it!

  3. #3
    Member
    Join Date
    Jan 2000
    Location
    Manchester, NH 03102
    Posts
    61
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem recording keystokes in Java application

    Not sure what OS you are using but I can only assume that it's MS Windows (cuz Billy is so rich). If you are using Windows and Silk Recorder cannot recognize keystrokes try the following:

    Agent.SetOption (OPT_PLAY_MODE, "Win32")

    Use the following to turn it off:

    Agent.SetOption (OPT_PLAY_MODE, "Normal")

    I had a similar problem performing localization tests on Latin 1 European operating systems.

    Hope this helps!
    Good Luck,
    Bman-


 

 

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 02:27 PM.

Copyright BetaSoft Inc.