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
1
vote
0 answers

I am unable to add custom fields to Serenity Reports (using the latest version)

I am trying to add Custom Fields to Serenity report mentioned in this link: https://serenity-bdd.github.io/theserenitybook/latest/extended-reports.html Tried by adding ApplicationVersion information in serenity properties file in this format…
gokila c
  • 11
  • 2
1
vote
1 answer

set Capability in Serenity to ignore UnhandledAlertException

I have just started working with Cucumber + Serenity. I would like to ignore UnhandledAlertException. This is how chrome capabilities could be set in Selenium capabilities.setCapability(CapabilityType.UNEXPECTED_ALERT_BEHAVIOUR,…
1
vote
1 answer

Configuring @RunWith to use CucumberWithSerenity.class instead of Cucumber.class in IntelliJ runners

I have a gradle + Serenity + RestAssured automated check suite setup that I usually run via gradle commands in shell sessions, but sometimes I need to run single Scenarios using IntelliJ. When I run Scenarios on IntelliJ I usually get a lot of…
1
vote
2 answers

How to set chrome options.setPageLoadStrategy in serenity-cucumber framework

I've been facing an issue with the Chrome browser timeout with the log as below, [1538530975.003][SEVERE]: Timed out receiving message from renderer: 57.998 [1538530975.008][SEVERE]: Timed out receiving message from renderer: -0.005 Upon some…
1
vote
0 answers

Serenity report do not have any REST Query

We have a serenity and rest assured project. But the test report does not generate RESTQuery button to check the request response We query with given().when().body().get(APIURL) the response comes but no rest query is found. pom.xml runner…
1
vote
0 answers

ExtentReports/Klov and Serenity

Does anybody know if ExtentReports specifically Klov provide support for Serenity? I am looking to implement this dashboard and would like to know if Serenity is supported by it.
1
vote
1 answer

API Testing.How to manage Payload

I want to test a API (Post method). I have to test this API by changing all the available parameters. For EG in Test case one I only change the user Name, in Test case 2 I change only the password and henceforth. My API looks something like below…
1
vote
0 answers

Problems launch Serenity's test on Jenkins

I am trying to launch my serenity-Cucumber tests on a Jenkins server. Actually I'm stuck with a simple error when it launch ChromeDriver : "IPv4 port not available. Exiting..." My failed tests are simple : goes to a special url and verify if the…
1
vote
1 answer

Is there any example for sauce labs configuration with serenity/appium to run the scripts against mobile native app ?

For my project, all the capabilities are given in serenity properties file. Below is the…
vamc
  • 125
  • 1
  • 2
  • 13
1
vote
0 answers

How to fix cucumber.runtime.CucumberException: java.lang.NoSuchMethodException

I am getting the following Error: > XXX Created runtime cucumber.runtime.RuntimeOptions@477b4cdf > cucumber.runtime.CucumberException: java.lang.NoSuchMethodException: > …
1
vote
2 answers

How to read csv file based on scenario outline

I am using cucumber and trying to read row from my csv file based on scenario name. Feature file : Scenario Outline: Verify content of my probblem1 Scenario, Title1, Title2, Title3, Title4, Title5 Verify content of my…
user9640289
1
vote
1 answer

RESTAssured/Serenity jBehave ExamplesTable throwing "Not a Map or List type" exception

I have the following Given statement: ServiceSatus.feature: Given I run a request for service status with the following options |field1 |field2 |field3 | |all |1517029200 |5234817 | StepDefinition.java: private HashMap
Fueled By Coffee
  • 2,467
  • 7
  • 29
  • 43
1
vote
1 answer

syntax for verifying if the element is present for protractor serenity

What is the syntax for checking if the element is present? I need to check if the element is present in order to go further in my test. If the element is not present i want to perform some other action. This is what I am trying but the syntax does…
1
vote
1 answer

Serenity Cucumber Spring Version Compatibility

I'm trying to use Serenity with Cucumber and Spring, but I can't start the application due to this exception: org.openqa.selenium.interactions.internal.Locatable Here's how my build.gradle looks like: buildscript { ext { …
Bill
  • 53
  • 7
1
vote
1 answer

Add a JIRA link to karate/cucumber report

While using Serenity with JBehave addition of @Title renders a link to JIRA. Is there a way to add a Meta @issue #? The other way could be integrating the existing Serenity @Title as a gherkin syntax dsl with Karate? Before I get on…
AchuSai
  • 93
  • 1
  • 1
  • 6