SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Dec 2000
    Location
    India
    Posts
    44
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Regarding Verify()

    if i call the verify funtion in a do except control block it seems that silk does not execute verify() inside a do.. Except... block.The application we are working with requires that we incorporate verify() inside a do except block.Can you suggest some way of working with this.

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

  2. #2
    Junior Member
    Join Date
    Feb 2002
    Location
    Kiowa, CO,USA
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Regarding Verify()

    It has been my experience that a Verify () call works as expected within a do...except block. For example, if I want to perform a verification, but on failure I do not want to raise an exception but need to continue testcase execution:

    [ ] do
    [ ] Verify (aAct, aExp)
    [ ] Print ("Verification passed...")
    [ ] except
    [ ] LogError ("Verification failed...")
    [ ]
    [ ] // continue testcase execution...
    [ ]

    What is your situation that leads you to believe that the verification is not being performed? Have an example?



    ------------------
    Jon A. Lamprech http://www.ameliortech.com
    jlamprech@ameliortech.com
    Jon A. Lamprech
    jlamprech@yahoo.com

  3. #3
    Senior Member
    Join Date
    May 2002
    Posts
    448
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Regarding Verify()

    Sorry. Kindly disregard this post! Got into some flooding control problem.

    ------------------
    never say die

    [This message has been edited by witchcrop (edited 08-02-2002).]
    Life, that dares send, A challenge to his end,
    And when it comes say, Welcome friend.

  4. #4
    Senior Member
    Join Date
    May 2002
    Posts
    448
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Regarding Verify()

    Perhaps a piece of your code could help us help you ...

    ------------------
    never say die
    Life, that dares send, A challenge to his end,
    And when it comes say, Welcome friend.

  5. #5
    Member
    Join Date
    Dec 2000
    Location
    India
    Posts
    44
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Regarding Verify()

    Thanks Jon. Actually it is working!

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

 

 

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 03:53 AM.

Copyright BetaSoft Inc.