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.)