How do you make beautiful reports when testing with Selenium under Perl?

Selenium has several additional additional libraries, since you use Java to write tests, for example. LoggingSelenium . However, they cannot be used if you are writing in Perl. How do you usually do the correct reporting, possibly with screenshots after each significant step, etc.?

+3
source share
2 answers

Not an ideal answer, but have you looked at the Java module on CPAN ? You can then use the original Selenium Java libraries, such as LoggingSelenium, to create reports. You will need to start the Java server with the jar provided by the CPAN Java module (but if you are already using Selenium ...)

You can also try Java :: Import , which could avoid having to start the server.

+1
source

TAP :: Formatter :: HTML produces nice html reports . However, he does not take screenshots.

0
source

Source: https://habr.com/ru/post/1705576/


All Articles