1 / 13

Ernest Holston and Brandi Amstutz

REU Program at ECU “Software Testing – Foundations, Tools, and Applications”. Mobile Testing Demonstration Using MonkeyRunner. Ernest Holston and Brandi Amstutz. Demonstration Case Study.

nerita
Download Presentation

Ernest Holston and Brandi Amstutz

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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

More Related