Humanoid: A Deep LearningBased Approach to Automated Blackbox Android App Testing Automated input generators must constantly choose which UI element to interact with and how to interact with it, in order to achieve high coverage with a limited time budget. Currently, most blackbox input generators adopt pseudorandom or bruteforce searching strategies, which may take very long to find the correct combination of inputs that can drive the app into new and important states. We propose Humanoid, an automated blackbox Android app testing tool based on deep learning. The key technique behind Humanoid is a deep neural network model that can learn how human users choose actions based on an appu0027s GUI from human interaction traces. The learned model can then be used to guide test input generation to achieve higher coverage. Experiments on both opensource apps and market apps demonstrate that Humanoid is able to reach higher coverage, and faster as well, than the stateoftheart test input generators. Humanoid is opensourced at https:github.comyzygitzhHumanoid and a demo video can be found at https:youtu.bePDRxDrkyORs.

Test Migration Between Mobile Apps with Similar Functionality The use of mobile apps is increasingly widespread, and much effort is put into testing these apps to make sure they behave as intended. To reduce this effort, and thus the overall cost of mobile app testing, we propose APPTESTMIGRATOR, a technique for migrating test cases between apps in the same category (e.g., banking apps). The intuition behind APPTESTMIGRATOR is that many apps share similarities in their functionality, and these similarities often result in conceptually similar user interfaces (through which that functionality is accessed). APPTESTMIGRATOR leverages these commonalities between user interfaces to migrate existing tests written for an app to another similar app. Specifically, given (1) a test case for an app (source app) and (2) a second app (target app), APPTESTMIGRATOR attempts to automatically transform the sequence of events and oracles in the test for the source app to events and oracles for the target app. We implemented APPTESTMIGRATOR for Android mobile apps and evaluated it on a set of randomly selected apps from the Google Play Store in four different categories. Our initial results are promising, support our intuition that test migration is possible, and motivate further research in this direction.