Today, automated testing has been applied to daily tests. This is not surprising, as automated testing saves time during testing and avoids test errors and omissions that include human factors.
There are many options for automated test tools. Some are open source, some are very expensive. Some of the automation tools came out a few years ago, some in the market. Each tool has certain characteristics, are unique.
Among the many optional automation tools, it is difficult to choose the right tools for the project. The problem is that almost no existing tools are fully adapted to the requirements of the project.
650) this.width=650; "Src=" Http://upload-images.jianshu.io/upload_images/5609636-c25a1c0ff7c71884.png?imageMogr2 /auto-orient/strip%7cimageview2/2/w/1240 "style=" Border:0px;vertical-align:middle;height:auto; "alt=" 1240 "/>
For automated testing to be effective and useful, it must have:
1. Research test and software products in the project;
2. Determine which tests need to be automated
3, the development of automated testing and automated testing tools requirements
4. Research at least a few available and appropriate automation tools
5, on the basis of research to choose the most appropriate one or more tools
6. Discuss the selected automation tools with other project parties, explain the reasons for the selection, and get their approval
7. Promote automation
These methods and procedures are recognized by most quality assurance experts.
There have been many different types of computers recently, and their emergence has begun the rapid development of software products. The most surprising is the evolution of mobile devices, which have different characteristics, ways and interactions than ordinary personal computers.
As a result, smartphones require mobile apps that are also different from notebooks.
Most PC's operating systems are windows. While the popular mobile operating system is Android, Apple iOS, BlackBerry os,windows phones, Symbian and others.
Top 5 Android Test tools
Let's explore the more popular automated testing tools supported by mobile operating systems.
1. Robotium Android Test Tool
650) this.width=650; "Src=" Http://upload-images.jianshu.io/upload_images/5609636-f86cce81b949cc6f.png?imageMogr2 /auto-orient/strip%7cimageview2/2/w/1240 "style=" Border:0px;vertical-align:middle;height:auto; "alt=" 1240 "/>
Robotium is a frequently used automated test tool software that supports Android.
Robotium is a free Android UI test tool. It is suitable for testing automation for different Android versions and sub-versions. Software developers often describe it as Android Selenium. The Robotium test is written in Java. In fact, Robotium is a unit test library.
But it takes a lot of time and effort to create tests through Robotium because the program source code needs to be modified for automated testing. The tool is also not suitable for interacting with system software, it cannot lock and unlock smartphones or tablets. The Robotium also does not have a recording playback function, nor is it available.
2, Monkeyrunner android application test
650) this.width=650; "Src=" Http://upload-images.jianshu.io/upload_images/5609636-e0625e33a298dc70.png?imageMogr2 /auto-orient/strip%7cimageview2/2/w/1240 "style=" Border:0px;vertical-align:middle;height:auto; "alt=" 1240 "/>
Monkeyrunner is a popular Android test tool for automated functional testing.
This tool is one level lower than robotium. This does not have to deal with the source code to do automated testing. This test can be written in Python, and you can use the recording tool to create tests.
Monkeyrunner can connect to a computer or simulate real-world devices to run tests. The tool has an interface that uses it to control Android code for smartphones, tablets or external emulators.
The disadvantage of this test tool is that it must be scripted for each device. Another problem is that the test script needs to be adjusted every time the user interface of the test program changes.
3. Ronaorex Android Test Application tool
650) this.width=650; "Src=" Http://upload-images.jianshu.io/upload_images/5609636-47bfda4e091b9a96.png?imageMogr2 /auto-orient/strip%7cimageview2/2/w/1240 "style=" Border:0px;vertical-align:middle;height:auto; "alt=" 1240 "/>
Ranrex is a version that supports not only the latest Android version, but also earlier and branched versions starting with Android2.2.
The advantage of Ranorex is that it has a detailed screenshot report. It can connect smartphones and tablets via WiFi.
An automated test engineer can use this Android tool to write data-driven tests in detail without using XML data formats. The Ranorex Studio enables automated test engineers to easily create tests with just a click of the mouse. It allows for detailed declaration of additional program modules for testing more complex scenarios in the post-development cycle.
It is a commercial mobile application tool with a license price of 1990 euros. However, the Ranorex search function is quite slow; it takes 30 seconds to complete this operation. We have to equip Ranorex with an APK file device, or we won't be able to automate the test with this tool because it works only on the APK file device.
4. Appium Android Automation Framework
650) this.width=650; "Src=" Http://upload-images.jianshu.io/upload_images/5609636-ecd041c20e2ad5f3.png?imageMogr2 /auto-orient/strip%7cimageview2/2/w/1240 "style=" Border:0px;vertical-align:middle;height:auto; "alt=" 1240 "/>
This is a framework for automated testing of iOS and Android. It is an open source tool. It supports Android versions from 2.3 and later. Appium runs the test with the Webdriver interface. It supports a variety of programming languages, such as Java,c #,ruby and other languages in the Webdriver library.
It can control safari and chrome on your mobile device. This allows you to test mobile sites using Appium and these browsers.
But some automated test engineers complained that it did not have a detailed report. Its weaknesses are also reduced by XPath support on mobile devices.
5, Huawei Mobiletest
650) this.width=650; "Src=" Http://upload-images.jianshu.io/upload_images/5609636-8c307231ee88bc1f.png?imageMogr2 /auto-orient/strip%7cimageview2/2/w/1240 "style=" Border:0px;vertical-align:middle;height:auto; "alt=" 1240 "/>
Huawei Mobiletest offers Android APK compatibility automated traversal testing, based on automated real-computer testing, to help developers identify defects and locate problems.
Conclusion:
Test automation is a complex task. It needs to be fully prepared and researched. A variety of novelty applications and automated testing tools are needed to keep up with information technology. All this knowledge is required to create the most effective tests.
Recommended automated testing tools for five Android apps