Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

(1) execute monkey directly in UI AUtoMonkey:xcode

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

The most direct and simple way to run monkey on ios applications is to use the built-in tool instruments--automation (UI AUtoMonkey) on xcode

The methods are as follows:

Connect a real machine, or use a simulator

2. Under the xcode menu, click Product-- Profile to automatically install the Appdebug package of the project to the simulator or connected real machine

3. Select automation in the pop-up box:

Open the running interface, as shown in the following figure, and make a selection

(device, APP to be tested, monkey using script mode)

5. The monkey script that can be used in the red box (script source: https://github.com/jonathanpenn/ui-auto-monkey):

(copy the content of the script to the red box in the image above, and then click record in the upper left corner of the image to start monkey testing.)

Some of the default events used in the script can be modified and added as needed.

The advantage of this method is that it is easy to use and basic.

Disadvantages: the test results will not be report, so you need to filter the log to check it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report