SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    bjc
    bjc is offline
    Member
    Join Date
    Jan 2000
    Location
    CT
    Posts
    66
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java Script Menus

    I am having problems recording Java Script pop-up menus that activate on a mouse roll over or a mouse click. SilkTest recognizes the main image (which produces the menus on a rollover or mouse click) but when I record Window Identifiers, the menus are recorded / identified as the main window name.

    I am running Silk version 5.0.3.1 on IE 5. I have tried both the VO and DOM extensions, but have not had any luck. Any suggestions would be great.

  2. #2
    Junior Member
    Join Date
    Jul 2000
    Location
    Chicago
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java Script Menus

    Is it possible for me to have a look? I have gone through enough of those Java Script PopupMenu issues and i know it is a tough thing to write reliable code for menu selection.

  3. #3
    rg
    rg is offline
    Member
    Join Date
    Feb 2000
    Posts
    98
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java Script Menus

    Here is a suggestion from somebody at Segue:
    >
    > Create a new class based on the HtmlLink/Image class:
    >
    > winclass DynamicLink : HtmlLink
    >
    > As part of that class there's a WINDOW wActivator data
    > member and a RECT element that is for use later:
    >
    > winclass DynamicLink : HtmlLink
    > setting DontInheritClassTag = TRUE
    > WINDOW wActivator
    > RECT rAct
    >
    > Rewrite the click method so that before clicking on
    > an object it will move over it's activator object first.
    > So, this...
    >
    > if wActivator.Exists
    > wActivator.MoveMouse ()
    > sleep (1)
    > else
    > raise 1, "*** Error: {wActivator} not found."
    >
    > And then just call derived::Click () to actually click on
    > the link that should now exist. You could lso grab the rect of
    > the wActivator so that you can move the mouse over the
    > middle of the object...just in case.

 

 

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 05:41 AM.

Copyright BetaSoft Inc.