@vntricky please share with me the gmail modules, because I have the same issues
AndroidManager - module for managing android emulators
-
-
Hello, thank you so much for this module. One question.
how can I get a device list? -
@wakid48219 are you joking? :) The name of the first action is "Get Devices List".
-
Sorry, I did not specify, I mean, as I have no device when I do that action how do I generate those? are they like fingerprints or something similar?
-
@wakid48219 first of all, you should run appium server manually (check the instructions in the 1'st post). Also you should call the action "Start Server" at the beginning of the script and pass the same host and port to it.
After that you just call "Connect to Device" action and a connection will be established automatically.
-
Version 2.2
Added action "Solve ReCaptcha v2". You can automatically solve ReCaptcha v2 with it. The device language must be Russian or English in order for the captcha to be displayed in one of these languages.
Captcha is solved by clicking through following services:
-
-
Version 2.4
Added new actions:
- "Get XML by xpath" - allows you to get an XML string by xpath, if the element is not found, returns false;
- "Get Each XML" - allows you to get a list of XML matching the xpath request, if the element is not found, returns false;
- "Get Attribute of each Element" - allows you to get a list to which the value of the specified attribute will be added; works similarly to the "Get Element Attribute" action, but for all found elements; if elements are not found, returns false;
- "Get Elements Count" - allows you to get the number of found elements, returns an integer, if the element is not found - returns 0.
Bug fixes:
- Restored the work of the action "Swipe on Screen";
- Fixed a bug in the "Type Text" action (if "Clear the field before entering text" option was selected, the action caused an error).
-
I'm tying to get "Get Current Activity" and I'm getting this error: SubprocessError: Subprocess finished with code 255. Error: 'grep' is not recognized as an internal or external command, operable program or batch file.
Any ideas?
-
@ChrisHolmes you should install gow.exe and reboot your PC after that. This tool allows to execute linux commands.
-
@thepappo Ok, that fixed an issue, but I have another one. When I try to open Spotify App, I'm getting this:
SubprocessError: Subprocess finished with code 255. Error: Exception occurred while executing 'start': java.lang.IllegalArgumentException: Bad component name: com.spotify.com at android.content.Intent.parseCommandArgs(Intent.java:7599) at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:338) at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:435) at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:186) at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98) at android.os.ShellCommand.exec(ShellCommand.java:44) at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:10520) at android.os.Binder.shellCommand(Binder.java:929) at android.os.Binder.onTransact(Binder.java:813) at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5027) at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2883) at android.os.Binder.execTransactInternal(Binder.java:1159) at android.os.Binder.execTransact(Binder.java:1123)If I open the app manually and use the function Close App, it works :D
-
@ChrisHolmes what emulator do you use? Mostly recommended to use MEmu, other emulators don't work well with appium.
-
Btw, how to set up multithreading?
-
@ChrisHolmes same as in other BAS scripts. See an example of script in the first post.
-
This post is deleted!
-
This post is deleted!

