Open yertao opened 3 years ago
This is the translated issue:
DesignedCapabilities: Platformname: 'Android' ISWAITAATIVITY: TRUE DeviceName: '127.0.0.1:7555' Activity: 'LoginActivity' PermissionPatterns: '[\ "Continue to install \", \ "Next \", "Good \", \ "Allow \", "OK \", \ "I know \"]' App: 'https://npmcdn.com/android-app-bootstrap@lates/android_app_bootstrap/build/outputs/apk/android_app_bootstrap-debug.apk'
CrawlingConfig: Platform: 'Android' Packages: 'com.github.android_app_bootstrap | com.xxx.your.optional.app' TargetElements: Loginaccount: SearchValue: 'Please Input Username' ActionValue: 'Chinese + Test + 12345678' Loginpassword: SearchValue: 'Please Input Password' ActionValue: '111111' LoginButton: SearchValue: 'login' AlertConfirm: SearchValue: 'Yes' askERTS:
每个请求之后都没有在本地保存图片文件 macaca:2.2.1 Android Platforms:android-29 nosmoke日志提示screenshot failure yml配置
1. Initialization option
desiredCapabilities: platformName: 'android' isWaitActivity: true deviceName: '127.0.0.1:7555' activity: 'LoginActivity' permissionPatterns: '[\"继续安装\",\"下一步\",\"好\",\"允许\",\"确定\",\"我知道\"]' app: 'https://npmcdn.com/android-app-bootstrap@latest/android_app_bootstrap/build/outputs/apk/android_app_bootstrap-debug.apk'
2. Crawling option
crawlingConfig: platform: 'android' packages: 'com.github.android_app_bootstrap|com.xxx.your.optional.app' targetElements: loginAccount: searchValue : 'please input username' actionValue : '中文+Test+12345678' loginPassword: searchValue : 'please input password' actionValue : '111111' loginButton: searchValue : 'Login' alertConfirm: searchValue : 'yes' asserts: