Comments (6)
Hi @vikramvi ,
I will update READ.me with more detailed info as soon as possible
In quick response to your questions:
-
No, you don't need to start Appium server manually. AppiumServer is responsible for starting the server. BUT for proper functioning your appium must be installed with npm.
mvn clean install -D"device.name"="DesiredDeviceName will execute the entire process. After the tests are done you will find html reports inside android-test/target/html-reports folder. Failing tests will also embed screenshot and device logs to the report file
-
You don't need to change anything to make it work. You can edit android-test module's pom.xml as your wish. See between 'systemPropertyVariables' tags.
Executing mvn clean install -D"systemPropertyVariables"="desiredValue" you can also override any systemPropertyVariables like these.
PS: I have fixed a bug that prevent apk file location detection on Windows env.
from cucumber-ui-automation-framework.
@mosclofri Thanks a ton for detailed info.
from cucumber-ui-automation-framework.
@mosclofri I tried running from Eclipse and face few issues as below
-
values are NOT being read from class Property
-
Need to hard code them as below
service = buildService(new AppiumServiceBuilder(). withIPAddress("127.0.0.1"). usingPort(Integer.parseInt("4723")) .withAppiumJS(new File("/usr/local/lib/node_modules/appium/build/lib/main.js")) .withArgument(GeneralServerFlag.LOG_LEVEL, "info"));
- Need to add
withAppiumJS(new File("/usr/local/lib/node_modules/appium/build/lib/main.js"))
as without this it was throwing an error.
can you please review and fix these as well ?
Thanks,
Vikram
from cucumber-ui-automation-framework.
Hello @vikramvi
It is running fine for me inside OSX, Windows and Linux with Intellij. I believe its more likely to be problem with your environment settings. Could you able to run the "appium" command directly within bash? I think, code fails to locate Appium inside your PATH and it requires manual file location.
from cucumber-ui-automation-framework.
yes I could run appium command directly from bash and it works well.
I think it may be issue with Eclipse IDE , as I have to explicitly mention ANDROID_HOME in environment variable in Run Configuration dialog.
Can you run test case from IDE itself instead of command line ?
from cucumber-ui-automation-framework.
Hi @vikramvi
Does it work through bash via 'mvn clean install' without explicitly mention main.js file? I am not using Eclipse but with Intellij, its works fine when i run RunTest.java over IDE
from cucumber-ui-automation-framework.
Related Issues (2)
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 cucumber-ui-automation-framework.