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
    Jun 2000
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Result indentation problem in QAP 4.6.2

    I frequently experience indentation problem in result file with QA Partner 4.6.2.The result file is like this ('=' represents space here because space is trimmed when posting to the forum):

    run.s result
    ==Script1.t result
    ====Case1() - pass
    ====Case2() - fail
    ====Script2.t result
    ======Case3() - pass
    ======Case4() - pass

    Has any one experienced this problem? I am using suite file run.s to drive two script file Script1.t and Script2.t, each of which may contain multiple test cases. Each test case is listed in the main() function of the script file.Thank you.


    [This message has been edited by Leon Wang (edited 06-14-2000).]

  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: Result indentation problem in QAP 4.6.2

    I notice a lot of people sometimes adding extra indentations in their scripts without noticing them. Indentations have ther purposes of beging { and ends } in C. They are also for keeping your code clean.

    In your .t file, the testcases should be on the same indention level. If you start adding extra indentations and levels, you'll start noticing this weird behavior.

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

  3. #3
    Junior Member
    Join Date
    Jun 2000
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Result indentation problem in QAP 4.6.2

    Thanks you for your message. There is no extra spaces in either the .s or .t file. There might be some comments in the files. The problem appears intermittently.

  4. #4
    Senior Member
    Join Date
    Aug 1999
    Location
    MA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Result indentation problem in QAP 4.6.2

    Are you sure you don't have a ResOpenList(<STRING>) without a corresponding ResCloseList()?
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

 

 

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 11.54%
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 04:03 PM.

Copyright BetaSoft Inc.