Is there a way to add custom info to the serenity report?

705 views
Skip to first unread message

Yaroslav Yasynskyy

unread,
Dec 19, 2016, 4:20:39 PM12/19/16
to Serenity BDD Users Group
I'm looking for a way to save current web page url in the serenity report when taking a screenshot or after each step etc. Unfortunately right now URL is not captured in the screenshot.
The point is after I open a report and navigate through the steps and look at the screenshots I need to actually see the url where i was located on the web at at that certain step.

John Smart

unread,
Dec 19, 2016, 4:22:53 PM12/19/16
to Yaroslav Yasynskyy, Serenity BDD Users Group
The simplest way at the moment is to create a @Step-annotated method and pass the URL as a parameter to that method.

On 19 December 2016 at 21:20, Yaroslav Yasynskyy <yasynskyy...@gmail.com> wrote:
I'm looking for a way to save current web page url in the serenity report when taking a screenshot or after each step etc. Unfortunately right now URL is not captured in the screenshot.
The point is after I open a report and navigate through the steps and look at the screenshots I need to actually see the url where i was located on the web at at that certain step.

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
___________________________________________________
John Smart | Wakaleo Consulting  |  +44 7398 832273
Making smart teams collaborate better
http://johnfergusonsmart.com  |  john....@wakaleo.com
___________________________________________________

We love breaking down silos and helping smart teams collaborate better! Ask about our tailored on-site workshops in Agile Product Planning, BDD Requirements Discovery,  BDD, TDD and Clean Coding, and Advanced BDD Test Automation.
___________________________________________________
Reply all
Reply to author
Forward
0 new messages