The road of regression--Mobile automation test (II.)

Source: Internet
Author: User

Hard to set up the test environment, because of the time is so simple to test the registration function of the Yin-yang division. Because the AVD is too much card follow-up test I carried out in Bluestack.

For this app, since we don't know when to start a yin-yang division, the data packets are started, so there are four ways to set up the boot.

The first tool UI using the SDK comes with the Automator viewer to get the control you want to click.

The second tool to use the SDK comes with hierarchyviewer tools.

When you click on the Yin and Yang Division icon, it displays

The red part is the package that is called at startup.

The third uses ADB logcat to get the packets that are called at startup. This method reference: http://www.cnblogs.com/Lihao2013/p/6149733.html

The fourth method uses the absolute position to simulate the click operation, but this method has the limitation to the different resolution operation, therefore does not do the promotion.

I don't have the recommended method because I'm just starting to learn, so I use a third method more.

The next step is to get to the point. Analyze the data packets at startup and activity. Fast New Year, the update is indeed slow AH.

The road of regression--Mobile automation test (II.)

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.