You don’t have automated tests in your mobile project? Still thinking that automated functional test creation is a long and complicated process that requires a high level of initial knowledge? What if I say that you can create automated functional tests for your mobile application in less than three minutes? What if I say that in those three minutes we will, in addition, configure the device and application for functional testing from scratch?
Maybe it sounds a bit like science fiction, but now it is possible with IBM Mobile Test Workbench, which is part of IBM Rational Test Workbench (RTW). This product allows you to easily record a functional test visually just by navigating through your application as usual. RTW will record all your actions inside the application and will allow you to add different value checks, assertions and other metrics to your test to verify each step. After test creation, you will be able to replay this recording manually, by launching from the device, or automatically, by launching from the studio, while the device is in passive mode. You will also be able to view test results on the device or in the studio with screenshots of each step, together with timestamps and other details.
The most important thing, in my opinion, is that with RTW the developers can complete the task to create automated functional tests. They test their applications on real mobile devices during the development process anyway. Why not record a test visually during the first run and then just use replay capabilities instead of manually testing on multiple devices after each build? This will also help testers to not worry about functional testing, as this will be covered by developers, and focus instead on nonfunctional aspects of mobile application testing that cannot be measured during automated testing—user acceptance and user experience.
The main differentiators of RTW from other functional testing software are speed and easiness. Developers and testers don’t need to learn a new scripting language and spend hours on each functional test. This task can be fully accomplished visually, without a line of code, in minutes. The video above proves it.
Using automated functional tests can allow you to easily raise end product quality. You can read more about IBM Rational Test Workbench in the article “Becoming a mobile enterprise: Quality management.”
How much time do you usually spend creating an automated functional test for your mobile application? Let me know in the comments or connect with me on Twitter.