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

Cannot use Serenity for testing on BrowserStack and Launch WebTest on local machine

me (Rahul change) 16:06 (less than a minute ago) Hello All, I have my project setup which uses Serenity With Cucumber for Web Browser testing. My company now wants to execute the test cases on Cloud Browsers and I was trying out BrowserStack.…
0
votes
1 answer

function to parse a html identifier in typescript from cucumber .feature file to a pageobject file

Attached I have an image example of my dropdown and textbox I have a dropdown and a text box, I want to create a Pageobject function that parses a .css or class html identifier and splits it with a " - " for example: i have a cucumber .feature file…
0
votes
0 answers

invalid END header (bad central directory offset) -> [Help 1] [ERROR]

When I try to build cucumber-report from GitHub https://github.com/mkolisnyk/cucumber-reports using eclipse maven install, I am getting: [ERROR] Failed to parse plugin descriptor for org.apache.maven.plugins:maven-checkstyle-plugin:2.10 …
0
votes
1 answer

How to perform teardown for releasing resources after each Scenario In serenity BDD with Cucumber

I am using Serenity with BDD and need to perform a teardown step that must get executed after completion of each Scenario. Also, this teardown step should not be visible to report as it is technical thing and nothing to do with behavior to be…
Ram
  • 117
  • 1
  • 2
  • 8
0
votes
1 answer

How to fail a serenity bdd job on Jenkins?

I have quick question - I am running Serenity BDD tests on Jenkins CI. I was wondering if anybody here knows how to fail jenkins job on CI if there is a failure in the feature scenarios (or any failures in general). Also, it would be great if anyone…
JavaMan
  • 465
  • 1
  • 6
  • 21
0
votes
1 answer

How to compare two locator value using chai assertion & serenity

I am new to Serenity and Protractor, so need your help for below query. Using - Protractor, Chai assertion, Screenplay serenity, Cucumber, TypeScript I have below 2 locators in my locator file: static test1 =…
0
votes
1 answer

Serenity BDD - Caused by: java.lang.ClassNotFoundException: com.google.common.base.Optional

I'm new to the Serenity Bdd framework; I cloned this repo: https://github.com/serenity-bdd/serenity-screenplay-train-demo Os: Ubuntu: 17.04 Intellij IDEA Community 2017.3 Pom.xml:…
pelican
  • 5,846
  • 9
  • 43
  • 67
0
votes
1 answer

Unable to load IE Browser in Cucumber ,Java Framework

Unable to load IE Browser in Cucumber ,Java Framework Serenity Properties File webdriver.driver=iexplorer webdriver.ie.driver = C:/Selenium/IEDriverServer.exe When Running the test getting Exception Stating Caused by:…
0
votes
1 answer

How to run scenario outline if the data is read from a file?

I have a seemly simple Cucumber question that I think most of us have encountered. But I do not how to resolve it. Let's say I have the below scenario outline example. The way it execute is: 1) it retrieve the 1st row of data, use it to execute step…
0
votes
1 answer

Generate Serenity aggregate report when tests are executed with cucumber-jvm-parallel-plugin

Since Serenity, doesn't support parallel execution out of the box ,I'm using Cucumber jvm parallel plugin , after the tests are executed successfully I get the following files in my target/failsafe-reports…
Karudi
  • 2,692
  • 3
  • 18
  • 19
0
votes
1 answer

Selenium open multiple Internet Explorer browser

I have Selenium automation framework, Cucumber with Serenity. Whenever I execute script, it opens up 6-7 different IE browser. Till now I have tried below things. 1. Enabled Protected Mode for all zone from Internet Options 2. Checked option "Reset…
0
votes
1 answer

Cucumber doesn't found step file "implement missing steps with the snippets"

I have designed my FW and I have exactly placed runner and step files in the package. But I am not able to run the TC, it saying Test pending though steps are defined. PFA my project structure. enter image description here My step file: package…
Kiran
  • 1
  • 1
  • 3
0
votes
1 answer

How do I get polymorphic tests working with cucumber-jvm, cucumber-serenity and SerenityObjectFactory

I found an interesting blog explaining in general how to realize polymorphic step definitions using cucumber bdd and picocontainer dependency injection. You can visit the blog here Where I get stuck is not knowing how to keep the automation logic…
0
votes
1 answer

How to configure serenity report thread count?

By default Serenity report thread set to 80, during report generation it freezes the machine and I could not find anywhere to configure thread count , as can be seen from below written Test result report, Configured report threads:80, anyone knows…
Green
  • 59
  • 1
  • 1
  • 8
0
votes
0 answers

Serentiy Report with protracor and cucumber

I have protractor cucumber example works fine, now I'm trying to create report by serenity.js protractor.conf.js file exports.config = { getPageTimeout: 600000, allScriptsTimeout: 700000, framework: 'custom', frameworkPath:…
Ali-Alrabi
  • 1,515
  • 6
  • 27
  • 60