TESTDROID RECORDER
Transcription
TESTDROID RECORDER
TESTDROID RECORDER Testdroid Recorder is an Eclipse plug-in that automates the manual tasks of writing tests for Android applications. Record and Playback of Native, HTML and Hybrid applications Recording test cases without application source code Take your Android application and record test cases with Testdroid Recorder in minutes. Recorder captures objects from native, HTML and hybrid applications using object ID's, enabling the creation of robust automated tests for dynamic content. The output is Java, no proprietary scripting language. Testdroid Recorder generates all files needed to set up a working test project. It can record test cases without the application source code and without linking any libraries to your application. You can take any APK file and create automated tests for that APK by using Testdroid Recorder. Smart Asserts and Timeline User defined screenshot capture steps during test execution Testdroid Recorder has a lot of options to validate the output of tests. With Smart Asserts it is easy create test cases, which validate correctness of the application behaviour and correct buttons are present. Timeline captures the time between user actions during recording and then repeat the same user actions with exactly same time intervals during the playback. This is very useful feature for instance when your application accesses a web service to retrieve some data or does some other time consuming processing before the the user can continue. For visual verification of application appearance during test execution Testdroid Recorder has a "Take screenshot" button. By clicking this button you can define places in your test case where a screenshot is taken during the test execution. The screenshots are stored to SD-card from where they can be fetched for inspection. For additional information, please visit us at www.bitbar.com or www.testdroid.com General: [email protected] Sales and Licensing: [email protected] Support: [email protected] © 2013 Bitbar Technologies Ltd. All rights reserved. This document contains information that is proprietary to Bitbar Technologies Ltd. Testdroid Recorder, Testdroid Cloud and Testdroid Enterprise are intellectual property of Bitbar Technologies Ltd. Other product mentioned herein may be the trademarks of their respective owners. Landscape and Portrait Drags, Swipes, Pinch and hard keys Most of the layout issues are discovered when user changes the orientation of the application from portrait to landscape. With Testdroid Recorder users can force the orientation of the app during test execution and take for example a screenshot of both cases. Testdroid Recorder supports gestures like drags and swipes as well as pinch. Also hard keys are supported, if your application makes use of volume key for advanced user experience. User defined UI widget call methods Change device language Testdroid Recorder let's you decide in which order the UI widget call methods are used when your test code is generated. Each of the UI Widget call methods have their pros and cons and it always depends on the application itself which one is the most appropriate and which ones can be used. The options are: R.Id Text Label X,Y click You can change the device language during the test recording and validate your app automatically for multi-language use. The same test code works automatically for every language, as the test code uses component Id's for example for pressing the buttons. HOW DOES IT WORK Test Recording Test Execution Testdroid Recorder accesses Android’s View hierarchy to inspect the user inputs. When user clicks something on the screen Testdroid Recorder will capture that UI event call and store it. When the test Java code is generated, recorder recreates the sequence of UI widget calls and generates corresponding lines of test code in Java automatically. This way your tests are not relying only on x,y clicks on the screen and can be executed on almost any Android device. Android tests created with Testdroid Recorder can be executed from Eclipse as JUnit tests. You can run the tests in Testdroid Cloud on 200+ real devices to see quickly, how does your application work on different makes and models, from the small screen devices to tablets. If you connect your own Android device to your workstation via USB cable you can also execute the tests locally and see the results in Eclipse’s JUnit result view. SYSTEM REQUIREMENTS Operating System: Windows XP, 7, Vista or 8 Ubuntu Linux, Mac OS 10.7 or later Eclipse: 3.6 onwards Other required software: Google Android Development Tools (ADT) Robotium library (Testdroid Recorder will install this automatically) Android SDK Other requirements: Android emulator (Android Virtual Device) or Android device and a USB cable for running tests on real device