Questions tagged [serenity-bdd]

Serenity BDD helps you write cleaner and more maintainable automated acceptance and regression tests faster. Serenity also uses the test results to produce illustrated, narrative reports that document and describe what your application does and how it works. Serenity tells you not only what tests have been executed, but more importantly, what requirements have been tested.

Serenity BDD helps you write cleaner and more maintainable automated acceptance and regression tests faster.

Serenity uses the test results to produce illustrated, narrative reports that document and describe what your application does and how it works. Serenity tells you not only what tests have been executed, but more importantly, what requirements have been tested.

Serenity BDD is one of the Behavior Driven Development (BDD) libraries.

There are integrations with other BDD libraries like JBehave and Cucumber (actually Cucumber-JVM)

Remark: Serenity-BDD was first called Thucydides, but was renamed in November 2014.

637 questions
0
votes
1 answer

Not able to add XPath in @Given annotation in Selenium

I am trying to use the @Given annotation for the Web Element identification.But when i enter as @Given(XPath=="") then it is throwing an error as XPath is not a variable or method.I tried to import different library as well but it is still throwing…
Mandar Joshi
  • 29
  • 1
  • 8
0
votes
1 answer

Serenity properties

How do I use serenity properties for running cucumber jvm? E.g: serenity.use.unique.browser=true serenity.requirement.types=Epics,Features serenity.take.screenshots=FOR_FAILURES serenity.sourceDirectory=./target/site/serenity
RV_Dev
  • 435
  • 1
  • 7
  • 21
0
votes
1 answer

Serenity BDD Timeout Error

I am running Serenity Jbehave Scripts with example table with 19 rows of values but the script is executing only 7 rows which are present in the example table and giving exception as below when executing the 8th row The Stack trace from console is…
Santhosh Siddappa
  • 708
  • 3
  • 14
  • 29
0
votes
1 answer

Is there a specific function to handle alert in Serenity BDD

Is there any function/class to handle alert or any other types of popups in a browser. I am dealing with an alert popup I know I can handle it by using driver.switchto().alert(); and perform further actions. Since Serenity BDD is quite tailored to…
0
votes
1 answer

Serenity BDD ConfigurationException after updating IntelliJ

I try to run my BDD scripts via gradle getting the following error message after updating IntelliJ to 2016.2 No implementation for net.thucydides.core.webdriver.WebdriverManager was bound. while locating…
0
votes
0 answers

All Iterations Fail for a Scenario Outline using Serenity with Cucumber-JVM

I have setup a Scenario Outline using Cucumber-JVM and Serenity. When I run one of my tests, one of the iterations fail; however, the other subsequent iterations of that scenario outline fail as well even though they should pass. Simplified Sample…
D.R.
  • 13
  • 1
  • 6
0
votes
1 answer

Serenity BDD: Use JBehave steps in dependency for local stories

In Serenity BDD, is there a way to import steps from dependencies for use in local stories? I'm pulling in other libraries (that also use Serenity) from other teams and want to be able to use one of their steps in my own story. I can find a way to…
Taelus
  • 267
  • 1
  • 6
  • 15
0
votes
1 answer

Serenity bdd generage reports on runtime

Is it possible to generate reports while test still executing. Passed Panding My pom.xml looks like this
java_user
  • 929
  • 4
  • 16
  • 39
0
votes
0 answers

Serenity+JBehave - can't start tests in IE browser

I'm using Serenity with JBehave. For configuration what driver to start I use "serenity.properties" file and standard serenity properties for driver webdriver.driver=iexplorer webdriver.chrome.driver=Drivers/chromedriver.exe …
0
votes
1 answer

How to invoke IEDriver using Serenity

I know this is a basic question but I am just not able to solve it. I downloaded the sample serenity project (mvn archetype serenity-junit-screenplay-archetype) (https://www.youtube.com/watch?v=o-6CcDFn5Ug) to search for "BDD in Action" in google. I…
AyeVeeKay
  • 149
  • 1
  • 12
0
votes
1 answer

Serenity report is empty

I am using JBehave+Selenium+Serenity+Maven. Despite the fact that JBehave runs correctly and I get results, the Serenity report comes empty. Generating reports view to 'C:\Users\neos\workspace\project\target\jbehave' using formats '[stats, console,…
Petros
  • 11
  • 1
  • 5
0
votes
2 answers

Customized data in serenity report

I am trying to add version information which is displayed in the login page to the serenity report index.html. The version information is captured in LoginPage.java. I see that I can use @Step method to include customized statements in the…
Tester_Cary
  • 39
  • 2
  • 8
0
votes
2 answers

Serenity index.html

I am trying to add the application version number that is displayed in the login page in the serenity report. Currently I am just capturing it in the code and printing in the console. Is there anyway the console output can be included in the…
Tester_Cary
  • 39
  • 2
  • 8
0
votes
0 answers

serenity with jbehave - JBehave reports do not have any style sheet formating

for test automation we are using serenity with jbehave. when we run the appropriate maven goal from Eclipse, it creates proper serenity reports. Issue - JBehave reports created under "target/JBehave" folder are without any formatting. there are no…
0
votes
1 answer

'Element belongs to different frame' error when switching to frame in Serenity BDD

I have a test-suite that was using Thycidides/jbehave and it worked fine (although against an older version of FireFox because development switched to Sernity BDD). I have now migrated to the new Serenity BDD (still jbehave) and updated FireFox, but…