SPONSORS:






User Tag List

Results 1 to 2 of 2

Thread: SetTrap

  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)

    SetTrap

    I have been able to successfully set a trap for a dialog box that periodically appears in a web application.

    I was wondering if anyone knows of a way to set a trap for a specific page that could appear. (ex: "System Error. Problems with...")
    If this page appears while the testcases are running, I want Silk to trap it and stop the script execution via @("$StopRunning")() or an equivalent command.

  2. #2
    Junior Member
    Join Date
    Jan 2001
    Location
    Sarasota, FL
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SetTrap

    Excuse me if my suggestion sounds elementary, but I encountered a similar problem and worked around it using a do...except structure. Just a suggestion if you haven't explored that yet.

 

 

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:47 PM.

Copyright BetaSoft Inc.