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

THUCYDIDES-avoid browser closing after a test run

I am using Thucydides/serenity which is kind of wrapper around selenium to automate some web tests When i run a particular test and after the test run the browser closes (which is the default behaviour) I want to make sure browser does not close so…
Maalamaal
  • 963
  • 3
  • 11
  • 23
0
votes
0 answers

List of block, annotated by FindAll, searched many elements of first item

There is block, where BaseBlock inherits from HtmlElement @FindBy(css = "article.item") public class FlatCatalogItem extends BaseBlock {} There is other block, that include FlatCatalogItem @FindBy(xpath =…
0
votes
1 answer

How to group tests by Stories in overall thucydides report?

How can I configure the report to make Tests be grouped by jbehave Stories in common test list? I see now way to customize reports, at least I don't find them in manuals
Eljah
  • 4,188
  • 4
  • 41
  • 85
0
votes
1 answer

How to run thucydides maven project in debug mode

I created Thucydides project from thucydides-jbehave-plugin archetype. I found that to run stories it can be used mvn command "verify thucydides:aggregate" But what if I need to debug some step adding a breakpoint in appropriate line. I tried to…
dmle
  • 3,498
  • 1
  • 14
  • 22
0
votes
0 answers

How to exclude some junit tests from failsafe reports but not from execution?

I am using Jenkins + Maven + Java for continuous testing, and recently Thucydides + JBehave were added. I am pretty new to Jenkins and Thucydides, so I faced trouble with showing the build reports. I don't have rights to change Jenkins…
marrybat
  • 15
  • 5
0
votes
2 answers

How to setup webdiver to perform actions in background?

I am currently working in Automation QA. Our project using Java: jbehave, thucydides, selenium. We are working in Ubuntu OS. Every time I run my tests, I have to stop doing everything(coding, browsing the web), because every click or any action of…
volnoboy
  • 192
  • 2
  • 13
0
votes
1 answer

How to workaround jbehave bug when combining meta parameters and example table

I'm using project made from 0.9.229 thucydides-jbehave archetype. Here I have some jbehave story: Narrative: Some text Meta: @registrator1 666-126 @registrator2 666-127 @reg1 666126 @reg1 666127 @ip 172.16.1.2 @zone1 666-126-666-127 Scenario:…
Eljah
  • 4,188
  • 4
  • 41
  • 85
0
votes
1 answer

Why WebElement and List are processed not in the similar way via xpath and List is always null?

I'm using Thucydides 0.9.229 with Selenium shipped with it. To obtain some webelements I try to get them via List @FindAll({@FindBy(xpath = "//div[text()='Расположение']/../../td[2]//input[@type='text']")}) private List placement; with…
Eljah
  • 4,188
  • 4
  • 41
  • 85
0
votes
1 answer

Latest Thucydides Javadoc

The official Thucydides documentation site is currently referring to these javadocs - thucydides 0.9.18-SNAPSHOT API which doesn't looks latest to me. For instance as of now it doesn't have packages related to jbehave. Do we need to wait for updated…
san1deep2set3hi
  • 4,904
  • 1
  • 23
  • 23
0
votes
1 answer

Thucydides is not starting any browser

I am trying to execute standard demo project from archetype 'thucydides-jbehave-archetype' It is running fine in Windows 7 machine but in Windows 8 machine, the browser is not opening at all. Same projects which works well with Firefox and chrome…
san1deep2set3hi
  • 4,904
  • 1
  • 23
  • 23
0
votes
1 answer

How to handle a failed test in JBehave / Thucydides / Selenium?

I'm pretty new to Thucydides / JBehave, but haven't found any solutions posted to this one. This is the first time I've used Thucydides / JBehave, but have used Selenium before. I have my .story file. The .story file lists 5 scenario's. Each…
Scott The Scot
  • 47
  • 1
  • 1
  • 7
0
votes
1 answer

Tabular parameters in Thucydides+Jbehave

I have the following code: When searching by Login Name as a filter Then users only with are displayed Examples: || |admin| |admin2| |admin3| And the following methods mapped to it. @When("searching by Login…
Karudi
  • 2,692
  • 3
  • 18
  • 19
0
votes
1 answer

Parallel testing a Jenkins with specific tests from a maven project

I currently have a maven project with ~500 tests. These are webdriver test with the Thucydides framework. There are several types of tests such as swiping tests, article link tests, sharing tests, etc. Details of the current setup: * Selenium *…
GStack
  • 33
  • 5
0
votes
2 answers

where I should place log4j.properties file to enable debug logging in smslib,when it is added through maven dependencies?

I'm doing some java maven project based on thucydides-jbehave-archetype. Smslib dependency is added through maven: org.smslib smslib
Eljah
  • 4,188
  • 4
  • 41
  • 85
0
votes
2 answers

Running Selenium/Thucydides JUnit test in alphabetical order using Maven

I have a Selenium/Thucydides project that runs test cases using JUnit. In Eclipse when running using JUnit I can use @FixMethodOrder to run tests in alphabetical order. This works fine, but when I then run the test in Maven using mvn verify the…