SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 1999
    Location
    Redwood City,CA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Window create notifications in SilkTest

    Hi gang,
    I wonder if SilkTest allows you to capture error messages the way Visual Test does with it's On WindowCreate notification. Is there also any way to capture error pages the same way?
    Thanks.

  2. #2
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Window create notifications in SilkTest

    I'm trying to understand your question, but here's a guess at it,

    You can say:

    if DialogBox("Warning/[StaticText]Oops, somtheing went wrong/..").Exists ()
    Do something

    So that's the way you account for a warning,

    You can also set a trap for it...

    I hope that helps, else please tell me what you're trying to do exactly (psudocode)

    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

  3. #3
    Junior Member
    Join Date
    Oct 1999
    Location
    Redwood City,CA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Window create notifications in SilkTest

    Well that's not exactly what I'm looking for. Consider that you don't know where an error message (Assertion or system error)occurs. And you've got to handle it some specific way depending on the error. In Visual Test you are able to get notified of any window invokes you specify before the script execution.

  4. #4
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Window create notifications in SilkTest

    You can then SetTrap () for that message dialog.

    DialogBox("Warning/[StaticText]Oops, something went wrong/..").SetTrap ("What to Click")



    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 11:06 AM.

Copyright BetaSoft Inc.