Results 1 to 4 of 4
  1. #1

    Test cases executed from test plan


    Is there any whey we can know the testcase names executed in test plan

    ex: If we have a testplan with name (testplan.pln) and this plan file has 3 test cases
    1) testcase1
    2) tescase2
    3) testcase3

    Let say if i mark testcase1 only in the test plan and execute. Is there any why we can find out which testcase is excuted by test plan.

    I want to keep this in my results email which is triggered by testplan

    Appreciate your help


  2. #2

    Re: Test cases executed from test plan

    Two soltions:
    1. You can read the res file to get this information
    2. You should give the meaningful testcase name to a testcase,then you can collect these testcase names in runtime by using GetTestCaseName()
    It never rains but it pours.
    Welcome to visit: <font color="blue">www.lantianwei.com</font>

  3. #3

    Re: Test cases executed from test plan


    Use following functions:

    string gsTestcaseName = GetTestCaseName()


    Rohit S

  4. #4

    Re: Test cases executed from test plan

    Thank you all for your replays.

    I found a better way as per our requirment, I have created a .ini file with all the setup info and reading it from that file and putting all that information in the results email.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:49 PM.

Copyright BetaSoft Inc.