Skip to content

[Report] Browser statistics on dashboard #247

@martingrossmann

Description

@martingrossmann

Is your feature request related to a problem? Please describe.
For better overview about the used browser types in your test it would be nice to have some statistics on the dashboard

Describe the solution you'd like
The used browser type is stored in every session context. For statistics report have to iterate about all session contexts to create the statistics.
Is should presented as a table:

Browser Used in tests Created sessions
Chrome 95 20 20
Firefox 100 4 5

The statistics could be placed under "Failure corridor".

Additional context

  • The browser usage should based on stored user agent, not on DesktopWebDriverRequest. It has to be checked if the user agent information are complete. I'm not sure if also platform type (Windows, Linux, Mac) can be determined.
  • In most cases only one browser type is used. So the table is very smart.
  • You can create more then one session in one test: Session count > test count
  • You can create exclusive sessions: session count < test count. This should be noted for session count.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ReportNGBugs and enhancements concerning Testerra ReportNGenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions