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

in mac, new tab functionality is not working

When i click on copy link it means url is copied , then open new tab and paste the copied url in new tab using selenium webdriver. Below code is working in windows not in mac. when i used this code in mac system, some java software icon is coming in…
ksyam
  • 1
0
votes
1 answer

How do I mark tests as Passed/Skipped/Ignored in serenity?

I keep getting phantomjs error - unreachablebrowserexception. I want to mark the test as skipped or passed in the catch block of this managed exception. How do I do that?
A K
  • 1
  • 2
0
votes
2 answers

softassert/verify in Serenity with Jbehave BDD framework in Selenium

I am working in Automation project with Serenity/JBehave BDD framework and am facing the issue when any step fails in the story, the rest of the steps are not getting executed because of hardassert. I want to know if there is any softassert like in…
0
votes
1 answer

Serenity/JS - Any Code changes made unable to run

I am newbie to JS and typescript. Was able to to run the sample project shared in Git Hub, but if any changes made, there are errors. For Example : Any import statement added or any browser related actions under step_definitions. Can you please…
0
votes
1 answer

serenity bdd default url with spring boot random port number

In tests with Serenity I'm starting my Spring Boot application with a random port. At some point I need to use a PageObject like this: @DefaultUrl("http://localhost:8080") public class GreetPage extends PageObject { } The question is: how can I…
Jorge Viana
  • 396
  • 5
  • 12
0
votes
1 answer

Serenity BDD with JUnit - reports not formatted

I have just created a serenity project using junit which runs fine but the reports being generated have no formatting. See below. When I create a serenity project using cucumber the report is formatted as expected. are there any additional steps I…
user3803807
  • 285
  • 4
  • 18
0
votes
1 answer

Serenity with Test @Title change during parameterized runs

From Program Creek on the net.thucydides example sources I found a solution for altering the name of the test in my JUnit class, but it doesn't work. I still get one test name in my report (as shown in the image link) Only 1 Test My ultimate goal is…
0
votes
0 answers

Error when running jUnit tests from Intellij command line with Gradle and Serenity Bdd

I keep having very often the below error when running jUnit tests from Intellij command line with the following command: gradlew clean test aggregate -Dtags="domain:SmokeTests" The page object class…
0
votes
2 answers

Serenity+Cucumber: Reading testdata from Excel

I am running Automation test cases with @RunWith(CucumberWithSerenity.class). We want to expose and maintain the Testdata separately in the Excel sheets instead of placing it in the Feature files. The Template for Excel Testdata looks…
varunanilgupta
  • 21
  • 1
  • 2
  • 4
0
votes
1 answer

Configure Default WebDriver Serenity Jbehave

actually I am struggling when trying to change default webdriver for serenity. actually I want to run my test on selenium grid. then I add the following code on class that extends PageObject : DesiredCapabilities cap =…
Hendrione
  • 225
  • 1
  • 5
  • 18
0
votes
1 answer

Serenity BDD cucumber - is there a way in serenity to avoid over writing the report folder?

Currently when the report is generated it overwrites the reports folder of previous run. Is it possible to specify folder to have timestamp in name by passing something like this? serenity.outputDirectory=reports\&Now() in serenity properties…
azeem
  • 23
  • 8
0
votes
1 answer

How to i generate serenity reports with jbehave when migrated from thucydides

Is there any document to generate reports in serenity we migrated from thucydides but still reports are generating in thucydides in jenkins, i found this plugin in google https://wiki.jenkins-ci.org/display/JENKINS/Serenity+Plugin can i use this or…
0
votes
1 answer

Serenity cucumber show each step on console

I add log4j.properties to my project but serenity does not want to write all steps he performed on console. Could you please help me? log4j.rootLogger=INFO, file,…
java_user
  • 929
  • 4
  • 16
  • 39
0
votes
1 answer

Generate serenity-jbehave-archetype and build faild on mvn Verify

A have a task "Generate automation framework from serenity-jbehave-archetype" and i did it from command line. When i do mvn verify command the build fail with next log: > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > …
0
votes
2 answers

How do i execute story files in specific order in serenity BDD Jbehave

I Have few jbehave story files in stories folder. whenever i execute the scripts it takes in alphabetical order. ex: current execution aaa.story bbb.story ccc.story i want the execution to be ccc.story bbb.story and skip aaa.story is there a way…