SeleniumHQ / selenium-ide

Open Source record and playback test automation for the web.
https://selenium.dev/selenium-ide/
Apache License 2.0
2.83k stars 768 forks source link

How can I get test reports in HTML format in Selenium IDE? #1620

Closed mm0hammadi closed 1 year ago

mm0hammadi commented 1 year ago

🚀 Feature Proposal

A clear and concise description of what the feature is.

Motivation

Please outline the motivation for the proposal. We want to see the results of the tests that I have saved in the form of an html report. Is it possible to do this?

Is there a tool and plugin for this?

Example

Please provide an example for how this feature would be used.

mm0hammadi commented 1 year ago

Finally, I could find the solution, here is the link which can help you to solve this issue. we can use TestNG in intellij-idea https://www.lambdatest.com/blog/how-to-generate-testng-reports-in-jenkins/

manikantayarramsetti1 commented 1 year ago

💬 After running selenium ide test, How to generate html report

toddtarsi commented 1 year ago

@manikantayarramsetti -

https://medium.com/@biswa8998/jest-with-html-report-a884b08d6635 use the jest options from the side-runner to do the underlying jest stuff

manikantayarramsetti1 commented 1 year ago

i have issues with running from command line runner , i was running in selenium ide only. Is jest will generate reports if i run from selenium ide

On Wed, 28 Jun 2023 at 23:26, Todd Tarsi @.***> wrote:

@manikantayarramsetti https://github.com/manikantayarramsetti -

@.***/jest-with-html-report-a884b08d6635 use the jest options from the side-runner to do the underlying jest stuff

— Reply to this email directly, view it on GitHub https://github.com/SeleniumHQ/selenium-ide/issues/1620#issuecomment-1611849200, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDOXMNIDWWDWAFQCDVHDATXNRV5FANCNFSM6AAAAAAXCKRAJM . You are receiving this because you commented.Message ID: @.***>

toddtarsi commented 1 year ago

No, sorry

manikantayarramsetti1 commented 1 year ago

Is there any other way to generate reports,IF there please tell me

manikantayarramsetti1 commented 1 year ago

No, sorry

when i was running test suite contains multiple test from the side runner , if one test case gets failed it is going to next test but i have issue with my application having issue with user login if i logined failed case it will not login to other test, if i logout only will login

manikantayarramsetti1 commented 1 year ago

No, sorry

In command line runner if the test gets failed the browser was closing, in there any way not to close the browser, Because in the next test i will run from there.

toddtarsi commented 1 year ago

@manikantayarramsetti1 - I'm sorry, but html reports from the IDE just aren't a priority. By and large, this is exactly what the CLI tools are for. If your flow tends to be running a suite and giving someone a html report, practice using the jest options flag on the selenium side runner.

You're the only person I know of asking for this. Thats a sign that you should reconsider your approach.

I'm closing this issue as the original author discovered how to do what they needed.

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.