Questions tagged [thucydides]

Thucydides is a library designed to make writing web-based acceptance tests based on WebDriver easier, and more fun

Thucydides is a tool that lets you use WebDriver-based unit or BDD tests to write more flexible and more reusable WebDriver-based tests, and also to generate documentation about your acceptance tests, including a narrative description of test, along with the corresponding screen shots, and also high-level summaries and aggregations of the test results

99 questions
2
votes
1 answer

How to include and exclude scenarios from test execution in JBehave?

I have some stories. Every story has some scenarios. Example: Story 1. Scenario 1. Scenario 2. Scenario 3. Story 2. Scenario 1. Scenario 2. TestNG has suite.xml file for configuration which test and\or methods should be executed. I found in…
Yury Staravoitau
  • 175
  • 5
  • 11
2
votes
1 answer

remote webdriver: Element is not currently visible and so may not be interacted with

I use JAVA + WebDriver (Thucydides) and Maven. I'm trying to automate uploading of a file. If I launch test manually from IDE it passes, but when I launch it with Maven on Remote WebDriver the test fails halfway with the…
tellet
  • 21
  • 2
1
vote
1 answer

Spring parametrized JUnit Tests with Serenity

I'm looking for the solution how can i use spring integrations in serenity bdd frameworkk which is using JUnit runner. The issue is that i can't use methods in test data collection method because its static. I used some answears from that thread…
Roman
  • 91
  • 1
  • 10
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
0 answers

Can't take screenshot for Allure + BDD (Jbehave) (Thucydides)

Hello everyone. There is a ready project using BDD (Jbehave) (Thucydides) There was a need to connect the Allure report to the project. For this purpose, AllureReporter was taken from here allure-jbehave-reporter The reports are working, everything…
Bmar Cg
  • 11
  • 2
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

Cucumber Step Defintions/Serenity Steps

I'm looking for some guidance on how to structure my quite large framework using Serenity/Cucumber so I am efficiently using layers of abstraction. Is there any general rules/advice/tips other than what is in the manual? The framework is setup as…
Lewis
  • 59
  • 1
  • 1
  • 7
1
vote
1 answer

Serenity: How to hide Test Data from Report?

Is there any way to hide Test Data section in report for data driven tests? By default this block is called "Examples:". I use HashMap as input for every test and it looks like the whole my HashMap is printed out as String in this Section. So,…
1
vote
0 answers

Failed to instantiate page of type class using thucydides with htmlelements

I'm new here :). I'm writing own test framework now using thucydides v. 0.9.203 with htmelements v. 1.9 and chromedriver v. 2.30.0 and have troubles with compatibility between driver and thucydides. Please, find my pom.xml file bellow, where do I do…
1
vote
1 answer

Serenity BDD with jUnit how to inject steps into setup method?

I am working on a test framework which is using Serenity, Selenium and jUnit. I have some tests which depend on user authentication. Basically I have to repeat all login steps for each test. I wanted to move these steps to a @Before method, but it…
vicusbass
  • 1,714
  • 2
  • 19
  • 33
1
vote
6 answers

Serenity manage webdriver to run in maximize window

Is it possible to run each Scenario in webdriver maximize mode? I was trying to add to Runner class method with using TestNG annotation @BeforeClass and it works just once, but when scenario passed or failed than the browser get closed and then…
diazolin88
  • 125
  • 2
  • 10
1
vote
0 answers

Jbehave - thucydides multi-thread execution of selected stories

my organization is using selenium automation framework designed using Jbehave-Thucydides-Maven. The framework consists of 1500+ tests, however, not all are required to be executed every time. Whenever we execute small batch (say 10 scripts or so),…
1
vote
0 answers

Remove CVS directories from maven pom especially in combination with serenityBDD

I have a serenityBDD (former thucydides) test project using JBehave and Selenium which is stored in a CVS... but when i run the test execution I also get the CVS folders displayed as capabilities/features and stories: This happens because of the…
spcial
  • 1,529
  • 18
  • 40
1
vote
0 answers

How do I use MobileElement in PageObject classes in Serenity-BDD framework?

Has anyone used the MobileElement class in their PageObject classes that are managed by the Serenity BDD JBehave framework? Here's the PageObject class that I would like to use with my Appium driver: public class Benning extends PageObject { …
Wazzer
  • 11
  • 4
1
vote
0 answers

Serenity jbehave issue when using multiple scenario outlines in a single .feature file

We are using Serenity with JBehave. We are facing issues when we have multiple scenario outlines with examples table in a single .feature file. We have something like this in our Feature file: Scenario Outline: title…