How to quickly get the package name and launch page of Android app when Appium automation

Source: Internet
Author: User
Tags appium

When it comes to app automation, you're often asked how to know the app's package name and launch page name. The question is simple:

1. The most direct way to ask development ah, they tell you the app's package name and start page.

2. If you are shy and can see/understand the code, get the code and get it out.

1) If it is an in-house app, download the latest code, then go to the code to find the package name and start page.

2) If it is not the company's app, decompile it, then go to the code to find the package name and start page.

3. Use the ADB command to pick up the package name and start page.

1) Open Cmd/shell and execute the following command: ADB shell Dumpsys activity (or: adb logcat)

2) Find the launcher for the app, reference

  

    

How to quickly get the package name and launch page of Android app when Appium automation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.