SPONSORS:






User Tag List

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

    Question about silk\'s built in VerifyProperty function

    Currently I use the VerifyProperty function to verify all the fields and labels of a web application. The problem is though if it encounters a discrepancy it will immediately abort the script. What I want is for silk test to note the differences (write down the difference viewer into the log file) and then continue with the script. I have tried constructing a do exept structure to around my verifyProperty statement (this will allow you to handle the exception and I just told it to move on) , but it prevents the verifyProperty function from logging its results in particular the differenc viewer won't be written to the result viewer. Is there a way to have the verifyproperty log its result but not halt the script?
    Konrad Nau
    Software Test Automation Specialist Intern
    CQOS INC.

  2. #2
    AJ
    AJ is offline
    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)

    Re: Question about silk\'s built in VerifyProperty function

    VerifyProperties exists after it fails...

    The way to get it working is to make sure you write many testcases, and at the end of each one you do the VerifyProperties() this way you at least fail only the testcase and not the entire suite.

    My guess is you're doing everything in either 1 testcase or a main() which I do not recommend

    The otehr way to do this is:

    do
    Something.VerifyProperties()
    except
    ExceptLog()


    this will force Silk to log the error and keep going.

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

  3. #3
    Member
    Join Date
    Sep 2000
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about silk\'s built in VerifyProperty function

    thanks aj, for all your replies, and that exceptlog was exactly what i was looking for.
    Konrad Nau
    Software Test Automation Specialist Intern
    CQOS 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
  •  

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 10:53 PM.

Copyright BetaSoft Inc.