On the Google AppCrawler

What is AppCrawler

You can think of it as similar tools like monkey, invoking your application and perform a variety of actions (clicks, typing, sliding, etc.) be this way

To view a variety of applications in the case of state

The official document links: AppCrawler official documents

How to use AppCrawler

1. Make sure that they have the latest version of androidSDK, to complete the download androidStudio androidSDK 

androidStudio Download

2. Download AppCrawler AppCrawler Download

3. Verify that the physical device or line simulator, adb devices

4. Unzip your downloaded app-crawler, run into the folder

java -jar crawl_launcher.jar --apk-file apkPath --android-sdk androidSDK path

The parameters introduced:

parameter description
--android-sdk path AndroidSDK specified path  necessary parameters
--apk-file file

Specifies the path and then install the application apk

And --apk-package-name or relationship must be designated a

--app-package-name name

Specify the package name when your program has been installed and do not need to reinstall this parameter to fill in

And --apk-package-name or relationship must be designated a

--key-store path

Specify an application to sign the key database path

When your application requires the signature was added to the normal operation time

--key-store-password password

Password database password

And --key-store as the relationship between the two and have to have

--timeout-sec timeout

You specify the time of execution

Notes: 1. The default 60s

       2.s units

 

6. exploration (pits) additional parameters

 The above configuration parameters to run a good tester found motionless, Made in calm water log log, the command line can not see any clues, this time another soul parameters will play a

parameter description
--ui-automator-mode This parameter is guaranteed not to repackage appcrawler apk accelerated start

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/newliu/p/11611889.html