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

Obtain the corresponding package name of the system application for monkey testing

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

Share

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

When doing monkey testing, sometimes you need to set app to run with system applications (such as system applications that access system permissions). You can use Tencent GT. The specific steps are as follows:

Here, take app calling the system camera as an example, list all the package names of the system with adb shell pm list packages, and then copy and paste them to notepad for view, as shown in the figure.

There are two camera, God knows which one. At this time, you can use Tencent GT to distinguish. The steps are as follows:

1. Open GT and click on the debugged application box

two。 After entering, find the camera icon that you are familiar with

3. You'll see the package name at the bottom, com.sec.android.app.camera.

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