<span id="Label3"></p>When I say<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Software Testing</strong></span></span>, the tester is sure to check the files, features, apis, performance and determine whether the software is secure, as well as other things about the specific parts of the Software. But for<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong> <span style="text-decoration: underline;"><strong>Mobile</strong></span> Testing</strong></span></span>, testers have to consider mobile-related functions based on the User's mobile usage patterns. This article is based on my<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>work</strong></span></span>Experience to Write. As an agile<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Software Development</strong></span></span>The Team's Software Quality Assurance manager, I was bent on putting the iphone,<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Android</strong></span></span>, WindowsPhone7 mobile apps and Mobile Webapps. In the daily work of the Xing Mobile team and in communicating with other mobile testing experts, I have a deep understanding of the difficulty of mobile testing. gradually, I made clear what is a mobile best practice that helps improve my colleagues and my testing efforts and provide users with higher-quality Apps.<strong><strong><span style="text-decoration: underline;"><strong>Functional Testing</strong></span></strong></strong>Each new feature of the development needs to be tested. Functional testing is an important aspect of mobile app testing, and mobile testers should perform manual testing and<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Automated Testing</strong></span></span>。 At the beginning of the test, the tester must manually test the mobile app as a "black box" to see if the functionality provided is correct and works as Designed. In addition to classic software testing, like clicking a button to see what happens, testers must also perform more versatile mobile device-specific testing. today, modern mobile devices have touch screens that require multi-touch actions to interact with Them. The device can be a portrait or landscape display. They provide motion, tilt and helical Sensors. They have different interfaces to connect to other devices or services, such as gps,nfc, cameras, leds, and so On. The mobile software tester must ensure that all of the App's specific device features are available in the app. There are so many types of mobile devices that it is not possible to test all of the coverage, so the testers have to focus on the key to their app when it comes to functional testing. What is really simple and effective? Device Rotation. I found a lot of bugs during my test work that only needed to rotate the device from portrait to landscape and Back. In addition to the entire manual testing process, test automation is also important for mobile apps. Each code change or new feature can affect existing features and their status. Usually the manual regression test time is not enough, so the tester has to find a tool to perform automated regression testing. Now there are many mobile test automation tools available, Commercial and open source, for various platforms, such as Android,iphone,windowsphone7,blackberry and mobile webapp. Depending on the development strategy and structure, quality assurance experts need to identify the automation tools that best suit their environment. android, There's robotium[rob01],robolectric[rob02],roboguice[rob03],monkeytalk[mon01],monkeyrunner[mon02],nativedriver[. Nat01]andcalabashforandroid[cal01] and other open source Tools. The automation tool Robotium has become the real standard in the open source World. It is simple to use and is based on an Android test device. Test automation Tools for the iphone include Kif (keepitfunctional) [kif01],uiautomation[uia01],monkeytalk[mon01],calabashforios[cal02],frank [fra01],zucchini[zuc01] and so On. All of these tools can also simulate real user interaction on the device or iOS Emulator. Choosing a tool is not easy for test automation, but one thing to keep in mind when making a decision is because it is important that test automation should use the same programming language as the product Code. If the test and the product code are written in the same language, theTesters and developers are good, because that makes it easier for them to do pairing Code. Testers can communicate with developers at the same level, and they can perform code reviews of tests and product Codes. For test automation, developers can write their own scripts in the language they are accustomed to.<strong><strong>summary:</strong></strong>Test the app as a "black box" and try to break it. Open each screen of your mobile app and turn your device from portrait to landscape and back to Portrait. Don't forget to test device-specific features, such as sensors and communication interfaces. Write test automation scripts for mobile APPS. Choose a test automation tool that adapts to your company's policies and Structure. The test and product code should be in the same language.<strong><strong>non-functional Testing</strong></strong>Another important aspect of mobile app testing is the non-functional requirements of mobile apps. Mobile testers have many questions to test before they launch the market or make further Development. The first test to be performed in the early stages of development should be a usability test. This is usually done by an alpha user or Colleague. Walk into a café or restaurant and ask the people inside about their app Usage. Let them look at the first version of the current development and collect feedback to see if the user can use the new feature well in order to get a first Impression. Check the App's performance. Compare the released version to the current version to see if performance is the Same. Better? Or is it worse? Install the app on your old device to see if the app still works on your old device, whether it's good or bad for your hardware device. The most advanced equipment will do the Same. Test<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Telephone</strong></span></span>,<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>SMS</strong></span></span>, mms, Twitter or other notifications come in when the app Reacts. Check your battery when using the app. Make sure the test process test equipment is fully charged and check the battery usage every 10 minutes to see if the app consumes too much power. Install the app on the device at low power to see what Happens. Check your App's memory Usage. If the app stores data in a local file system, test the usage of different memory cards. Think about what happens when local storage is almost full.--app will crash or pop up an error alert box to notify the user? Test the App's installation and removal process. More importantly, test the process of upgrading from an older version to a new Version. Perhaps local<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Database</strong></span></span>has changed, which can cause some serious migration problems. is the app localized? Testers need to test the app in different Languages. Remember to test with different network speeds on different web Carriers. Make sure the app works in both Gprs,edge,umts,lte and WiFi environments. Don't forget to check how the app reacts when the Internet connection is bad or completely dropped. Use the app in airplane mode to see what happens if a request Fails. Connect the test device to your computer and check the development log file for exceptions, warnings, or other strange anomalies. These are just a few of the non-functional requirements that mobile testers and developers should consider when developing and testing an app. It is never possible to check in place on every aspect, so the overall team should support QA members to cover as many aspects as possible to prevent users from getting a bad experience.<strong><strong>summary:</strong></strong>Do a Usability Test. Compare the performance of the App's released version and the new Version. Check your phone, sms, MMS or Weibo or the App's response when you come IN. Check the power of the test Equipment. Test your App's memory Usage. Install and remove Apps. Test the process of upgrading from an older version to a new Version. Check the conversion of the Language. Use apps in different vectors and network connections, such as gprs,wifi,orlte, in the Environment. Check the log file for errors or Exceptions.<strong><strong>Test Equipment--fragmentation</strong></strong>For a mobile quality assurance person, The key question about mobile testing devices is, "what is the best tool for testing?" "this problem has to be solved because it can't be tested on every device!" In this regard, there are two major players in the mobile device Market: Android and ios! but for geographical reasons, some other platforms are also Used. Yes<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Windows</strong></span></span>, blackberry,webos,symbianos, and function Machines. Almost every platform has different vendors selling smart machines with different hardware, software specifications and custom user Interfaces. such as android, there are suppliers like Samsung,htc,asus,lg,motorola,sony,huawei and so On. This is an important example of device fragmentation, and it's really hard to find the right test Equipment. Moving a webpage is another pretty difficult issue because the mobile<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Browser</strong></span></span>Too many kinds, such as: Safari,operamini,dolphin,androidandrimnative,googlechrome,firefox,internetexplorer9 and other function machine browser! So what's the test equipment to choose? Just use the latest browser version? To buy every kind of equipment on the market? or using an emulator? Small bet the simulator here: don't test with simulator! They may be useful for basic testing, but the results are different from the results on the real machine. In my opinion, a good idea to solve this test device problem is to combine the device with the Browser. For example, Mobile testers can combine devices based on their hardware and software specifications. Each combination determines a priority, such as a= highest, b= average, c= Lowest. Each group contains devices that are assigned to that category based on the platform and Vendor. Possible combinations Overview: group 1, priority C:CPU and small devices with small ram and low Resolution. Older software versions and browser groups 2, Priority B: General cpu,ram<512mb, mid-range devices with a good display size and Resolution. The software is not Up-to-date. Group 3, Priority A: Dual-core/four-core cpu,ram>512mb, high-resolution Equipment. The latest software Version. These three groups cover the vast majority of users on a particular platform and represent the market for other<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Mobile Phone</strong></span></span>。 This can reduce the work required during development and Testing.<strong><strong>summary:</strong></strong>Combine and select the preferred test device and browser Version. Do not test with the Simulator.<strong><strong>Combo Tool</strong></strong>As mentioned before, Mobile testers must automate the testing of mobile apps to ensure that code changes do not affect current Functionality. Another best practice is to combine test tools and set them up as a continuous integration server to execute them from the Center. Developers need to write for their code<span style="text-decoration: underline;"><span style="text-decoration: underline;"><strong>Unit Test</strong></span></span>To ensure that each small component is working as Expected. In addition, end-to-end inspection tests using tools like Robotium or keepitfunctional are useful, just like Users.<strong><strong>summary:</strong></strong>Combine the test tools and set them into a continuous system.<strong><strong>Internal Beta version</strong></strong>If a mobile team wants to communicate with the beta testers of a mobile app earlier, they can create their own in-house app store, like Android and Iphone. With the hockeykit[hoc01] tool, the team can pass the new version of the app to colleagues via the Company's Wifi. This is an effective way to get important feedback from colleagues, especially if the team or tester doesn't have a chance to show the app to the outside World. Hockeykit also provides useful data on how to test the app and what OS versions and devices are used by colleagues. It also includes a crashreporter to see the cause of the current development version errors and Crashes.<strong><strong>summary:</strong></strong>Get early feedback with an internal beta Release.<strong><strong>Understanding Customers</strong></strong>Mobile testing is more effective if developers and test teams understand that the App's customers will be used in the Future. A good place to collect customer information is the App store for specific vendors (appleappstore,googleplaystore,windowsmarketplace, etc.). If a team already has an app in these stores, they get information about the devices, software versions, languages, and vectors that customers Use. Mobile web, but no App Store provides relevant user Data. therefore, it makes sense to collect information about the "user agent" (device, Browser) used in mobile web Pages. Aware of this, the team can optimize the various devices and software versions and reduce the effort spent on developing and testing Them. In addition to user data, customer reviews in the App store need to be carefully collated to gather important feedback and their expectations of new features and respond to reported bugs.<strong><strong>summary:</strong></strong>Understand the devices and software versions your customers use to take advantage of data from the vendor market, taking a proactive approach in the app Store. this is the last best practice, which is not directly related to routine mobile testing, but may help you think from different perspectives and get new Ideas. Be a proactive software tester in the community, like this: in such a community, software testers can communicate with other (mobile) quality assurance experts on a variety of test topics. They can share knowledge and help other people solve their problems. Testers can get great ideas when writing test cases: How to write good bug reports, and also improve their own test and test automation Skills.<p><p>Best practices in "go" mobile app testing</p></p></span>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service