SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    Chicago
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Button not exposed?

    Hi, There.
    I am using silk test 5.5. After recoding a frame and action for a test, I run the test. It gives me an error saying a button is not "exposed". I really don't see why it's not exposed at all. It can be identified using identifier.

    Any help is preciated.

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

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Button not exposed?

    Common problem solved by searching this forum first.

    Basically you can just open Options|Agent

    uncheck 'Verify windows is exposed'
    window refer to window object, which can also be a control.

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

  3. #3
    Member
    Join Date
    Jun 2001
    Location
    Berkeley, CA, USA
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Button not exposed?

    Or just past this line into the code before you access the object:

    Agent.SetOption (OPT_VERIFY_EXPOSED, FALSE)

    I usually modify the control routine so it turns verification back on after I'm done accessing the control.

    For example, the PushButton Click would look like this:

    Click()
    Agent.SetOption (OPT_VERIFY_EXPOSED, FALSE)
    derived::Click()
    Agent.SetOption (OPT_VERIFY_EXPOSED, TRUE)

    I usually make the modification inside of the control, instead of at the PushButton class level.

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

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Button not exposed?

    Verification is just for debugging purpose. Switch with Silk's environment variables are very bad idea. Switching environment variables are not a secure procedure, in my opinion.

    Touch them the least is the best

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

 

 

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 04:12 PM.

Copyright BetaSoft Inc.