Hey all! I’m trying to set up an automation project using Cucumber & Appium for Mobile apps (iOS and Android both). I plan to write the project in JAVA and I use Gradle for implementing the desired dependencies. So I wrote a small project and for some reason it keeps failing with the following error: The exception occurs when I’m
Tag: cucumber
When i run the build in Jenkins i got this Error : Cannot find firefox binary in PATH. Make sure firefox is installed
I created a job Maven Project in Jenkins for the purpose to Compile and execute all my automatic tests, but when i build the job i got this error : i got the same message error for all the scenarios should i create a pipeline in place of project maven ? i recupare my project with the link ssh GitLab
Cucumber feature file isn’t bound to glue path
I am trying to set up a simple Cucumber project to run with Selenium (The Selenium bits are irrelevant so I removed them). The structure is as follows: sayHiTest.feature: testRunner.java: SayHiTestStepsdefs.java: Trying to run testRunner yields the following error: For some reason, it doesn’t see automated.SayHiTestStepdefs (It prints the same error if I changed its name to say, abc.SayHiTestStepdefs). I
Java cucumber Selenium : NullPointerException for scenario.write for the first scenario on before tag
I am getting the NullPointerException when the code below code is executed. Note that the exception is recieved only for the first cucumber scenario executed. There is no exception for the second scenario. I am actually trying to insert the timestamp before start of each scenario. Please advise how this issue can be fixed. Any help will be appreciated. I
Cucumber With JUnit java.lang.ExceptionInInitializerError
I’m new to the UnitTesting and Cucumber, and today I tried to implement a simple example from a tutorial in Intelij and Eclipse and I got the same error when I try run the TestRunner.java. My pom.xml: File .feature TestRunner.java Steps My file structure: And the error: 1 Scenarios (1 failed) 4 Steps (1 failed, 3 skipped) 0m0,225s java.lang.ExceptionInInitializerError …
selenium.ScriptTimeoutException: java.util.concurrent.TimeoutException
I have Cucumber tests that run in parallel via Maven Surefire plugin. Sometimes the code throws me an error: selenium.ScriptTimeoutException: java.util.concurrent.TimeoutException which is obviously related to parallel run. But I have no idea how to avoid it. Here is the whole error log: Answer So the solution was to restrict the number of parallel runs because of resources on my
Getting an exception “org.apache.maven.surefire.booter.SurefireBooterForkException: . VM crash or System.exit called?”
I am working on a Selenium Automation project which is based on Maven Cucumber + TestNg. While on run i am getting the below exception not sure but tried all the possibilities of incrementing or …
Can’t run testng.xml in Cucumber-Maven(TestNG)
In eclipse IDE, I have created a basic cucumber framework by using Maven project. I have added all the dependencies required in pom.xml.For TestNG plugin added below dependencies. But ‘TestNG Suite’ option was not coming in preferences,so installed TestNG through Help->Install New Software. Framework is having feature file(scenario is described),stepdefinitions(code/logic given) and runner class(To map feature with stepdefinitions file and
Cucumber feature file does not identify the steps
I have written my firsy cucumber feature file. When I run the feature file as Cucumber Feature, I get below errors “WARNING: Cucumber-JVM’s –format option is deprecated. Please use –plugin instead.” – I used “plugin” in my @CucumberOptions of runner class, but still getting the same error 2.It says I do not have any scenario and steps Feature: Validate Modular