Comments (4)
@zpaya - If you are running in the PowerShell then try running as below:
mvn test -Dos=android -"Dsurefire.suiteXmlFiles=testng.xml"
Other alternatives are mentioned in this thread : https://stackoverflow.com/questions/31166828/how-to-handle-dots-in-powershell-commands
from mobileautomationframework.
yes able to run with below command
mvn test -Dos=android -DtestSuite="testng.xml" -e
from mobileautomationframework.
Hi @bijaylaxmi11 ,
These errors won't do any issues when you execute tests. Please run the tests from the command line and let me know if you face any issues:
install all dependencies and compile the project:
$ mvn clean install
For android tests
$ mvn test -Dos=android -Dsurefire.suiteXmlFiles=testng.xml
For ios tests:
mvn test -Dos=iOS -Dsurefire.suiteXmlFiles=testng.xml
Best,
Shanky
from mobileautomationframework.
I am getting the below error for android tests. Can you please help me with this? @shankybnl
[ERROR] Unknown lifecycle phase ".suiteXmlFiles=testng.xml". You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available life
cycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources
, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [
Help 1]
from mobileautomationframework.
Related Issues (13)
- rename reference HOT 1
- failed to load property file HOT 17
- Will this framework supports mobile browser automation? HOT 1
- Build issues HOT 7
- Add support to start Appium programmatically on Linux
- Not working for Jdk 16 HOT 6
- Enhancement - Running test from feature file directly on IDE HOT 3
- java1.8 maven3.8.1 Unable to make field private com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors HOT 2
- Cucumber features are not calling iOS reference locators. HOT 2
- It is impossible to create a new session because 'createSession' which takes HttpClient, InputStream and long was not found or it is not accessible HOT 18
- Configuration Failure HOT 1
- Changing package name brings failure while execute runner class HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobileautomationframework.