All Projects → macaca-sample → sample-java

macaca-sample / sample-java

Licence: MIT license
Macaca test sample for Java

Programming Languages

java
68154 projects - #9 most used programming language
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to sample-java

nodecv-server
nodecv server side
Stars: ✭ 16 (-30.43%)
Mutual labels:  macaca
sample-nodejs
Macaca test sample for Node.js
Stars: ✭ 44 (+91.3%)
Mutual labels:  macaca
iosHookViewId
A solution for ios hook view id(给iOS应用自动生成控件id)
Stars: ✭ 44 (+91.3%)
Mutual labels:  macaca
wd.java
Java Client binding for Macaca
Stars: ✭ 30 (+30.43%)
Mutual labels:  macaca
macaca-puppeteer
Macaca puppeteer driver
Stars: ✭ 39 (+69.57%)
Mutual labels:  macaca
command-line-test
command-line test tool for Node.js
Stars: ✭ 14 (-39.13%)
Mutual labels:  macaca
Macaca
Automation solution for multi-platform. 多端自动化解决方案
Stars: ✭ 2,991 (+12904.35%)
Mutual labels:  macaca
dom-event-simulate
simulate user interaction with DOM events.
Stars: ✭ 23 (+0%)
Mutual labels:  macaca
egg-datahub
Macaca DataHub plugin for Egg.js
Stars: ✭ 19 (-17.39%)
Mutual labels:  macaca
macaca-adb
Node.js wrapper for ADB.
Stars: ✭ 36 (+56.52%)
Mutual labels:  macaca
UIAutomatorWD
Node.js wrapper for Android UIAutomator.
Stars: ✭ 51 (+121.74%)
Mutual labels:  macaca
wd.py
Python Client binding for Macaca
Stars: ✭ 33 (+43.48%)
Mutual labels:  macaca
android-unicode
Android unicode UTF-7 input apk
Stars: ✭ 23 (+0%)
Mutual labels:  macaca

sample-java

build status

Macaca test sample for Java

API Doc

more docs 参考文章

https://testerhome.com/junhe

Test

Start macaca server

$ macaca server --verbose

install mvn dependencies:

$ mvn -s settings.xml clean install -Dmaven.test.skip=true

run test

$ mvn -s settings.xml test -Dtest=macaca.client.AndroidSampleTest

App Source Code

RUN CI

when source code changes, run CI Samples

  1. change current version : package.json
  2. npm publish
  3. run CI sample

Problems

  1. when you run iosSampleTest.java,you may meet this problem:
ios_webkit_debug_proxy path: /usr/local/bin/ios_webkit_debug_proxy
Could not connect to lockdownd. Exiting.: Permission denied
Unable to attach f27bc6f301486418d3c81c04165cbd93143ec972 inspector
Invalid message _rpc_reportConnectedDriverList: <dict>
	<key>WIRDriverDictionaryKey</key>
	<dict>
	</dict>
</dict>

that's because you do not have permission for ios_webkit_debug_proxy, you can solve this problem by this:

  1. refer to: http://stackoverflow.com/questions/39035415/ideviceinstaller-fails-with-could-not-connect-to-lockdownd-exiting

  2. if the problem still exists ,upgrade ios-ios-webkit-debug-proxy(my version is ios-webkit-debug-proxy-1.7.1)

$ brew upgrade ios-webkit-debug-proxy

Contributors


Yinxl


xudafeng


Chan-Chun

This project follows the git-contributor spec, auto upated at Sat Apr 21 2018 17:28:19 GMT+0800.

License

The MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].