oHenry Posted September 6, 2015 Share Posted September 6, 2015 Great start!How about create a new GitHub project for this UDF?RegardsHenry. Regards. Henry Link to comment Share on other sites More sharing options...
junkew Posted December 20, 2016 Share Posted December 20, 2016 I had to read a little more the other day about mobile testautomation and tooling around. So hereby some additional nice references for those people having enough time ;-) The ability for you to build and deploy accessibility services was introduced with Android 1.6 (API Level 4) and significant improvements with Android 4.0 (API Level 14)https://developer.android.com/guide/topics/ui/accessibility/services.html So you could build an app on android that has accessibility to apps running and if in that app you make a tcp-ip server you could build a native driver to talk to from a PC on same network (without ADB you will not be able to send input events as far as i can see)http://letsrockengineers.com/portfolio/create-tcp-server-in-just-4-steps-android-tutorial/ Source to learn fromhttps://github.com/google/talkback Sending taps from within Java (with some security restrictions as this will not be fully equal to using ADB remotely) Process p = Runtime.getRuntime().exec("input tap 807 730"); https://androidcookbook.com/Recipe.seam?recipeId=2457https://developer.android.com/reference/java/lang/Runtime.html Zohar 1 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
oHenry Posted December 21, 2016 Share Posted December 21, 2016 (edited) 3 hours ago, junkew said: I had to read a little more the other day about mobile testautomation and tooling around. So hereby some additional nice references for those people having enough time ;-) The ability for you to build and deploy accessibility services was introduced with Android 1.6 (API Level 4) and significant improvements with Android 4.0 (API Level 14)https://developer.android.com/guide/topics/ui/accessibility/services.html So you could build an app on android that has accessibility to apps running and if in that app you make a tcp-ip server you could build a native driver to talk to from a PC on same network (without ADB you will not be able to send input events as far as i can see)http://letsrockengineers.com/portfolio/create-tcp-server-in-just-4-steps-android-tutorial/ Source to learn fromhttps://github.com/google/talkback Sending taps from within Java (with some security restrictions as this will not be fully equal to using ADB remotely) Process p = Runtime.getRuntime().exec("input tap 807 730"); https://androidcookbook.com/Recipe.seam?recipeId=2457https://developer.android.com/reference/java/lang/Runtime.html Hi @junkew, Please check this post. I made a simple ImperiusGeorge client in order to use AutoIt as scripting language for mobile automation (only for Android). Comments are welcome. Edited December 21, 2016 by oHenry Regards. Henry Link to comment Share on other sites More sharing options...
junkew Posted December 21, 2016 Share Posted December 21, 2016 I assume the world will go to a webdriver.getNativeDriver() concept unclear what status is of this proposal https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md selendroid solution http://selendroid.io/native.html appium solution https://github.com/appium/appium-android-bootstrap Most solutions I can find are based on ADB/UIAutomator and not on accessibility. Combined with accessibility at least on Android you can do much more (even on lower SDK API level) So far not seen solutions that can type/sendkeys fast without root access all seem to be based on adb shell input text|keyevnt logic FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now