testng-cucumber | repo demonstrates how to configure testng | Test Automation library
kandi X-RAY | testng-cucumber Summary
kandi X-RAY | testng-cucumber Summary
This repo demonstrates how to configure testng with cucumber framework and to handle multiple feature files with testng.xml
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of testng-cucumber
testng-cucumber Key Features
testng-cucumber Examples and Code Snippets
Community Discussions
Trending Discussions on testng-cucumber
QUESTION
I am trying to load my zip-with-dependencies to AWS device farm for Java TestNG project with Selenium.
Whenever I upload my .zip to AWS device farm, I get the message, "There was a problem processing your file. We could not find the dependency-jars directory in the root of your test package. Please unzip your test package, verify that the dependency-jars directory is in the root of your package, and try again."
I checked the tree in target folder with "Tree ." and I got:
...ANSWER
Answered 2019-Feb-21 at 22:05I haven't fully tested this but I think the build steps are out of order. Can you try having the maven-dependency-plugin first before the maven-assemble-plugin and let me know if that helps? Order matters in maven.
code snippet
QUESTION
I'm getting a build failure when trying to create a zip for my Appium/selenium project. Any help would be appreciated.
I’m running this on MacOS HighSierra. I’m running this on MacOS HighSierra. Appium is version v1.10.1. The command I used to zip the file (or tried to use to zip the file) is in the first line from the terminal.This is the log from terminal:
...ANSWER
Answered 2019-Feb-07 at 20:43Changing out my maven-dependency-plugin in the pom.xml with the one below fixed my build failures.
QUESTION
I'm trying to execute my scripts in AWS Device farm. But I'm getting the above parsing error.
Also: "Tests skipped due to test package parsing error. Please check Parsing result for more details." is being displayed in AWS console.
Project details: Java-TestNG-Cucumber combo
Project structure: is here
Also below provided my pom.xmlhttp://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0
...ANSWER
Answered 2017-Dec-02 at 00:04To make the testng.xml work in device farm it will need to be added to the root of the jar in the zip-with-dependencies.zip
Here is a pull request showing how to do that https://github.com/awslabs/aws-device-farm-appium-tests-for-sample-app/pull/14
I am not sure about cucumber tho. I have not tried it but it may not be supported in DFarm currently.
HTH James
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install testng-cucumber
Java installed in the system
Maven installed in the system
Fork this repo, keep the folder the structure intact
Run the following maven command from command line
The scripts should run successfully in Chrome browser as it is defined in the config.properties file.
Target folder should be created with cucumber-html-report and surefire-reports.
Test_Output folder should be created with the default testng reports
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page