Most voted "cucumber" questions
24 questions
Sort by count of
-
2
votes0
answers1271
viewsTest automation with Selenium Cucumber and Capybara
I’m starting to learn how to use a means for test automation in web applications. However, I came across a problem that I can’t solve and I can’t find anywhere (questions or documentation) that…
-
1
votes1
answer407
viewsHow to nest step Definitions within another using Cucumber
I would like you to help me solve this doubt, I’m trying to reference a step definition inside another in the same file to avoid repeating code, of course if this is possible. Example Dado /^escolho…
-
1
votes0
answers33
viewsWrite PC screen to Ruby
I need to create a Cucumber report with video and for that I need to know if there is a Ruby Gem that saves the PC screen.
-
1
votes0
answers577
viewsSelenium opening two browsers even I instantiating only one
Galley, I am using Cucumber with Selenium in JAVA. I have the following problem: every step I do: private WebDriver driver; @Before public void before(){ driver = new FirefoxDriver(); }…
-
1
votes1
answer243
viewsAssertion with the Rspec
I use the Cucumber + Capybara + Ruby framework and I am unable to make an assertion using the "expect" method. I need for example to validate four messages returned in body, but it displays error:…
-
1
votes0
answers34
viewsI cannot solve this problem in my test automation
I’ve tried almost everything and still keep making this mistake in my ruby test automation: incompatible encoding regexp match (Windows-1252 regexp with UTF-8 string) (Encoding::Compatibilityerror)…
-
1
votes0
answers26
viewsNullpointer when requesting execution - Extentreport
Good afternoon Personal, I’m having a hard time using the extent api. The way I developed my project is preventing you from taking the prints. I created a Drivefactory class that instantiates the…
-
1
votes0
answers129
viewsElements not loading on the home page [Capybara - Ruby]
Hello! I am performing the automation of testing a site, using Capybara, Ruby and Cucumber, where it has Lazy Loading, for loading all products. Problem flow: Home page -> Scroll to the first…
-
1
votes0
answers226
viewsCucumber-Enconding does not accept accented variable
in my software test done on Cucumber in a specific scenario I assign a string to a variable: Scenario Part: "Then the system displays the message "Invalid User or Password!" The string "Invalid User…
-
0
votes0
answers1229
viewsJava, Cucumber, Maven - Feature runs without any class
I did a test automation project using Eclipse + Java + Maven + Cucumber + Selenium I have the following problem: Since I’m not using git yet, I exported this project to a file. zip, and in my work…
-
0
votes1
answer489
viewsError not detected by Cucumber test
I am using the version of Gem Aruba 0.13.0 and Cucumber 2.x. x would like to know how to detect the following error using a Ruba step Definition. More specifically if Exit status was successful and…
-
0
votes1
answer1605
viewsWARNING: You must use ANSICON 1.31 or Higher
I am trying to run my automated tests but this error happens to be related to ANSICON. I tried to perform the installation on my Windows 10, but it does not allow.…
-
0
votes3
answers577
viewsError in capturing Cucumber/Capybara test
I need to perform my tests, but there are some errors in the code, but Cucumber is not showing the error, it only brings the error :` incompatible encoding regexp match (Windows-1252 regexp with…
-
0
votes1
answer477
viewsBack function to go back on an Android device from Perfecto Lab
Good afternoon Commonwealth, I am using Cucumber in Eclipse to elaborate automated tests on an application installed on an Android that is on a VM, namely hosted on the site Perfecto Lab. Perfecto…
-
0
votes1
answer163
viewsNullpointer when using Cucumber and Rest-Assured
I’m performing an API test using Cucumber and Rest-Assured, but in the call I use Rest-Assured is being returned a NullPointer. My Feature: Scenario: Parâmetros não foram informados Given A API de…
-
0
votes1
answer101
viewsHow to reuse a String in another Step of my test?
I have a question (maybe simple for most) and I needed your help... I am programming an End-to-End Flow of Apis using Java, Restassured and Cucumber (to define my Steps). In my first API a return…
-
0
votes1
answer63
viewsAdding another field to an Httparty field
For example in the "password_confirm" field I want to add the "password field". @@base_url = 'https://api-de-tarefas.herokuapp.com/users' @@body = { "user": { "email": Faker::Internet.email,…
-
0
votes1
answer50
viewsI can’t find the radiobutton element on the GLPI screen of a screen created with Formcreator to automate using Capybara and Siteprism
I am working with software testing automation using Capybara with Siteprism and I am not able to click on a Radiobutton from the GLPI tool. This specific page was generated with the GLPI…
-
0
votes1
answer232
viewsHow to define proxy in Capybara
I need to perform my tests, but my work network uses a proxy. What better way to set this up within my env.Rb Below follows my file configuration code "env.Rb" require "selenium-webdriver" require…
-
0
votes1
answer40
viewsNullpointerexception when running a Selenium Webdriver test
I have a certain difficulty in instantiating the driver in another class. What happens is the following: I have two definition classes of steps First: public class TranscricaoSadtStep { static…
-
0
votes0
answers787
viewsHow to validate a Restassured request through multiple Methods in Java?
I am developing the Test Automation of a API using Rest Assured and Cucumber, mine Feature of Cucumber is like this: @criarConta Esquema do Cenario: Criar uma conta valida Dado que realizo a chamada…
-
0
votes1
answer752
viewsCapybara Unable to find Visible field
When rotating the command rake cucumber i get the following error: Unable to find visible field "article[text]" that is not disabled (Capybara::ElementNotFound) But the field is visible File of…
-
0
votes1
answer149
viewsCapybara does not install in Ruby
I’m new to Ruby and I wanted a help, I was trying to install Capybara with Ruby but I’m not getting it. The mistake is: Gem::Runtimerequirementnotmeterror: Capybara requires Ruby version >=…
-
0
votes0
answers16
viewsRename Extent Report after running the tests
Is there any way to rename and move an Extent Report after the tests are finished? I would like the name to be saved dynamically at the end of each execution, adding for example the date and time of…