Questions tagged [cucumber-serenity]

Questions regarding use of Serenity with Cucumber BDD test automation tool

Serenity Behavior-Driven-Development is an open source library

The aim of Serenity is to make it easy to quickly write well-structured, maintainable automated acceptance criteria, using your favorite BDD

You can work with Behavior-Driven-Development tools like Cucumber

Cucumber is a popular BDD test automation tool

Docs: http://thucydides.info/docs/serenity-staging/#_serenity_with_cucumber

279 questions
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…
-1
votes
1 answer

Could not instantiate new WebDriver instance of type class org.openqa.selenium.remote.RemoteWebDriver

Getting the below error while try running in sauce lab. I am not sure what is the issue to apply fix here. Could someone extend help? Note: Secure remote tunnel is provisioned and running successfully. Command: mvn clean verify…
Learner
  • 481
  • 1
  • 15
  • 28
-1
votes
1 answer

Unable to Run serenity cucumber in sauce labs

I am trying to run the automated test in sauce labs for first time but I see no execution takes in sauce lab but instead execution takes place in my local machine. Since I am new to this way of running, I am not sure where is the correction to…
Learner
  • 481
  • 1
  • 15
  • 28
-1
votes
1 answer

How to skip dependent feature file when parent feature file fails in protractor cucumber

I have 5 test scenarios in my 5 different feature files. TC-1 TC-2 TC-3 TC-4 TC-5 TC-3&TC-4 are dependent test cases when test scenario TC-3 failed automatically TC-4 should skip and TC-5 should execute how we can achieve this in cucumber any…
-1
votes
1 answer

How to upgrade serenity and its dependencies in my bdd framework

I have a serenity bdd automation framework using maven, junit selenium, cucumber and serenity. My current serenity core version is 1.5.3. I am trying to upgrade it to the latest version of serenity core. Once i update the version and dependencies…
-1
votes
1 answer

Scroll down automatically to an xpath element

I have seen this code to go to a specific element. WebElement element = driver.findElement(By.xpath("Value")); Coordinates coordinate = ((Locatable)element).getCoordinates(); coordinate.onPage(); coordinate.inViewPort(); I'm…
-1
votes
1 answer

BrowserDriver never restarts for each SERENITY CUCUMBER scenario

I want to have restarted my BrowserDriver for each serenity scenario runs. So every time new Driver will open for each scenario and closes the previous. But it never happens. In my framework, the browser keeps open and i don't want that. Here is my…
ASM
  • 709
  • 2
  • 8
  • 27
-2
votes
1 answer

Is there is any solution for jenkin chrome initiation?

Caused by: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process…
-3
votes
2 answers

For some reason, I want to use thread.sleep in my serenity screenplay project, how can I use it?

I am already using implicit and fluent wait, but want to use thread.sleep, so want to know the syntax of it
1 2 3
18
19