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
2 answers

How can Selenium webdriver decide if it is a stale element in one page or a new element in another page?

I ran into this weird situation. I am first at page 1, which has an element with id of "abc", I use "abc" to find webElement and get its text value I click on a link in page 1, it takes me to page 2 In page 2, there is also an element with id of…
user1559625
  • 2,583
  • 5
  • 37
  • 75
0
votes
1 answer

CucumberWithSerenity : initializationError(serenity.TestRunner): net/thucydides/core/guice/Injectors

I am trying to run the following CucumberWithSerenity TestRunner class: import net.serenitybdd.cucumber.CucumberWithSerenity; import cucumber.api.CucumberOptions; import org.junit.runner.JUnitCore; import org.junit.runner.Result; import…
kamal
  • 9,637
  • 30
  • 101
  • 168
0
votes
2 answers

How to re-execute failed scenario in Serenity-Thucydides?

I have set of feature files (say f1.feature,f2.feature..) each having certain number of scenarios (summing up to around 250). While executing the test suite, if I see 100 scenarios in failed status; I want them to re execute. Currently I am able to…
rOKi
  • 1
  • 1
  • 3
0
votes
1 answer

Serenity appium full reset simulator only for one test

webdriver.driver = appium appium.hub = http://0.0.0.0:4723/wd/hub appium.platformName = iOS appium.platformVersion = 9.3 appium.deviceName = iPhone 6 Plus appium.app = "appPath" appium.noReset = true I have these serenity properties for appium in…
Mihai R
  • 1
  • 2
0
votes
0 answers

How to create properties class handler with using default properties

phew there are lots of questions from my side these days, but: I'm looking for the best solution of how to handle properties file when one of them are missing, than use default values. I'm using: serenity-bdd, selenium, java, maven. My solution…
diazolin88
  • 125
  • 2
  • 10
0
votes
0 answers

Issue with building pom

I have tried to run example of the project but unsuccessfully (problem with compilation project). Here is the link to this project https://github.com/serenity-bdd/serenity-demos/tree/master/jbehave-webtests Now I'm trying to make an easy project to…
Caitlyn
  • 255
  • 2
  • 4
  • 7
0
votes
1 answer

maven selenium serenity bdd open index.html report automatically after test

I have been searching but haven't found an answer. Is there anyway of opening the report index.html automatically after running a test in the terminal or in intellij? Im pretty new to this stuff. Thanks for any help. Set…
0
votes
1 answer

serenity cucumber browser unique session per feature

I'm looking at serenity (the following versions) 1.1.26 1.1.26 1.1.5 I have feature files F1, F2, F3. I'm…
0
votes
2 answers

How to Navigate between multiple browser windows using serinity

Serenity is a BDD based on selenium . I am using 3 window handlers . My requirement is something like this - Open window 1 click an element on window 1 that will open window 2 3.click an element on window 2 that will open window 3 close all…
gaurav panwar
  • 44
  • 2
  • 14
0
votes
1 answer

JBehave + Serenity metafilter work on examples table row? how to workaround it?

My tests with examples table and meta filters don't want to start. I am using jbehave-core 4.0.4 and serenity 1.1.21 I have following scenario (simplified here but also has similar issue) Meta: @env any @run Scenario: Add new logo by Role…
0
votes
2 answers

Is there anyway I can remove flakiness of my selenium tests?

I use Cucumber-JVM with Serenity (Reporting library). The step implementation uses selenium for browser automation. I use methods…
0
votes
1 answer

Remove ignored/skipped scenarios from serenity report

I have multiple scenarios in my story file and I am running the scenarios using meta tag that will filter out the scenarios I don't want to execute. But in Serenity report it shows them as ignored and that makes it looks ugly as the ignored…
Rakesh M
  • 41
  • 1
  • 7
0
votes
1 answer

How can I use Androiddrier using appium in serenity-bdd framework?

I am using serenity-bdd with cucumber-jvm for my test framework. I want to run my tests on android emulator using Appium. Serenity-bdd by default instantiate webdriver which opens firefox. How can I execute my webdriver tests on android emulator?
Manisha Awasthi
  • 449
  • 1
  • 5
  • 16
0
votes
1 answer

Ordering execution of feature files in Cucumber-JVM

I am using Serenity with Cucumber-JVM. Serenity helps to generate test reports after execution. Since by default feature files are picked up in Alphabetical order, report is also in this order. Is there any workaround in Cucumber-JVM to pick up the…
Manisha Awasthi
  • 449
  • 1
  • 5
  • 16
0
votes
2 answers

Facing issues while running cucumber with serenity

To integrate Cucumber with Serenity, I have created below Gardle file. Serenity is working fine, however I am not able to use it with Cucumber. When I use @RunWith(CucumberWithSerenity.class) in runner class, it gives me unresolved type…