SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2001
    Location
    Montreal, CA
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Nesting Results without any resopen or resclose

    I have defined data driven testcases and I am calling those testcases with different parameters from main.
    main()
    test1(paramter1,paramter2)
    test1(paramter1,paramter2)
    test1(paramter1,paramter2)
    test(paramter1,paramter2)

    //and were defined as
    testcase test1(String Paramter1,String Paramter2)
    StartUp()
    Function1()
    Function2()
    CleanUp()
    ...
    ...
    I do not have any resopenlist() or rescloseList().

    After Running these testcases, I am getting all results under one heirarchy level.
    like
    [-]test1(....) 1 error
    [-]test1(...)1 error
    [-]test1(...)-passed
    [-]test1(.....)-1 error
    I have not used any spawn,parallel testcase. In the abovecase eventhough I got 3 errors in whole testscripts, I am getting as 1 error only.

    like testcases run 3
    errors 1.
    Can anybody help me why it is happening.

    Thanks in Advance,
    Murali K Parepalli
    Intel

    _ _ ___________ _ _
    Murali K Parepalli

  2. #2
    Member
    Join Date
    Apr 2001
    Location
    Montreal, CA
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Nesting Results without any resopen or resclose

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by aspmurali:
    I have defined data driven testcases and I am calling those testcases with different parameters from main.
    main()
    test1(paramter1,paramter2)
    test1(paramter1,paramter2)
    test1(paramter1,paramter2)
    test(paramter1,paramter2)

    //and were defined as
    testcase test1(String Paramter1,String Paramter2)
    StartUp()
    Function1()
    Function2()
    CleanUp()
    ...
    ...
    I do not have any resopenlist() or rescloseList().

    After Running these testcases, I am getting all results under one heirarchy level.
    like
    [-]test1(....) 1 error
    2nd level[-]test1(...)1 error
    3rd level [-]test1(...)-passed
    4th level [-]test1(.....)-1 error
    I have not used any spawn,parallel testcase. In the abovecase eventhough I got 3 errors in whole testscripts, I am getting as 1 error only.

    like testcases run 3
    errors 1.
    Can anybody help me why it is happening.

    Thanks in Advance,
    Murali K Parepalli
    Intel

    <HR></BLOCKQUOTE>

    _ _ ___________ _ _
    Murali K Parepalli

  3. #3
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Nesting Results without any resopen or resclose

    This is the testobject I use in my scripts. Pulled it out of the include file. It may or may not be helpful. I use one testcase per script and from that testcase, call TestObjects of the type defined in this attachment. Part of the TestObject's properties is the ability to override the Print, LogError and LogWarning statements giving the ability to nest the results. Also nests everything under the TestObject name utilizing the MethodEnter() and MethodLeave() calls.

 

 

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 07:44 PM.

Copyright BetaSoft Inc.