Forum Discussion

Kanika's avatar
Kanika
Contributor
10 years ago

Whats the effective way to generate report of pass/fail test cases in web testing?

If I have to generate a report of overall pass/fail scenarios in excel then whats the best way to do that ? Lets suppose I have 10 scenarios . Below are cases :

1. If I write my one scenario as one script?

2. If I write multiple scenarios in one script?

    • Marsha_R's avatar
      Marsha_R
      Moderator

      I don't think it matters how the tests are organized, in one script or many.  You just want to count the events that pass or fail.  How you organize them in a report depends on the audience for the report and what they are interested in seeing.  Do you have some requirements?

    • JimStep's avatar
      JimStep
      New Contributor

      Are you looking for a solution in code or conceptually? I currently generate a report in excel in my automation framework.

      • Kanika's avatar
        Kanika
        Contributor

        If I have to share report of my test cases with other then it should be clear what is pass and fail to other as well. I just want report from end user perspective.