SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Sep 2000
    Posts
    159
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Silkbean not supporting Set.Active()

    Manual :

    The SilkBean does not support SetActive, Minimize, and Restore methods on JavaMainWin and JavaDialogBox windows because Java does not provide methods for clicking on window frames, clicking on the Minimize button, or restoring windows.
    To port legacy scripts that call SetActive, you must set your target machine's window management resources to behave more like Windows controls.
    For example, if you have the Common Desktop Environment (CDE), you can set up UNIX to activate windows when you click inside them, as described in the procedure below:
    "

    So do I have to comment out all "SetActive"
    calls from my script and use CLick?


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

    Re: Silkbean not supporting Set.Active()

    Hi,

    You could overwrite the SetActive () method for the AnyWin class:

    [-] winclass AnyWin : AnyWin
    [-] SetActive ()
    [ ] this.Click ()

    Add this code to your include file and you should not have to make any changes to your testcases.

    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 07:15 PM.

Copyright BetaSoft Inc.