SlideServe
Menu
Préférences
© SlideServe · v2026

Mobile Testing Demonstration Using MonkeyRunner

nerita avatar
13 diapositives · 259 Views · Jul 09, 2014

Demonstrates mobile testing of the Foursquare application using MonkeyRunner, an Android Development Kit tool. Our goal was to create a simple test script for two Android devices to compare GUI functionality. The script included installing the APK, simulating user interactions, capturing screenshots, and uninstalling the app. We tested core functionalities like searching for "Joyner Library," checking in, and managing locations. This work highlights the importance of mobile testing in delivering quality applications and aids developers and students in debugging and learning.

Mobile Testing Demonstration Using MonkeyRunner - slide 1
01 / 13Mobile Testing Demonstration Using MonkeyRunner
1 / 17

Télécharger la présentation

Mobile Testing Demonstration Using MonkeyRunner
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. REU Program at ECU “Software Testing – Foundations, Tools, and Applications” Mobile Testing Demonstration Using MonkeyRunner Ernest Holston and Brandi Amstutz

  2. Demonstration Case Study Our goal was to write a simple test script to perform the following objectives on two different Android devices for GUI comparison: • Install APK • Launch application • Simulate simple user interaction • Capture screenshots and write to file • Uninstall application from device

  3. Case Study Specifications • Application: Foursquare • Functions to simulate: • Search for “Joyner Library” • Check in with a status message • Return to our personal profile page • Delete “Joyner Library” check-in • Return to device home screen

  4. What is foursquare? • A social networking site that allows you to “check – in” to the places you visit • Integrates with Facebook and Twitter which helps you share your location with all your friends • In some special cases, checking – in to certain locations can even give you the opportunity to receive special offers from that specific location

  5. Writing the test script • This is the Android Debug Monitor. • It’s the program that is used to get the coordinates of specific locations on the phone

  6. Screenshot results From The Application Test Script

  7. NOTICE: Screen flipped to portrait mode after checking in

  8. NOTICE: Even though the check – in has been deleted (as shown by the boxes near the bottom of the screens), it still shows up on the profile

  9. In an attempt to use a generic test script, upon clicking Joyner Library (After searching for it on the profile page) it brought us to this page. **Fault in the application** GENERIC TEST SCRIPT RESULTS

  10. Conclusion • Mobile testing is an important form of software testing • It helps to produce better quality applications on the market • MonkeyRunner is an Android Development Kit tool that allows people to test out applications using the screenshot features it provides • It is very beneficial for Android application developers, who may use it to locate some bugs within an application and fix them, and even for students who want to learn how to test Android applications for their personal benefits

  11. References • http://developer.android.com/tools/help/monkeyrunner_concepts.html#APIClasses