TesT AuTomATion Best Practices

Similar documents
Dealing with Device Fragmentation in Mobile Games Testing. Ru Cindrea - Altom Consulting

The Importance of Continuous Integration for Quality Assurance Teams

WEB, HYBRID, NATIVE EXPLAINED CRAIG ISAKSON. June 2013 MOBILE ENGINEERING LEAD / SOFTWARE ENGINEER

Automated testing for Mobility New age applications require New age Mobility solutions

Mobile App Testing Guide. Basics of Mobile App Testing

Automation Testing in Mobile Applications Swati Hajela

Page 18. Using Software To Make More Money With Surveys. Visit us on the web at:

WHITEPAPER BEST PRACTICES IN MOBILE APPLICATION TESTING

Manual Tester s Guide to Automated Testing Contents

White Paper. Bridging the essential gap between Mobile Cloud and crowd based testing. 1. Introduction. 2. Testing Lifecycle

Questions and Answers

DARMADI KOMO: Hello, everyone. This is Darmadi Komo, senior technical product manager from SQL Server marketing.

White Paper Bridging the Essential Gap between Continuous Quality and Crowd Based Testing

Mobile Test Strategy. Shankar Garg. Senior Consultant - Testing

Smarter Balanced Assessment Consortium. Recommendation

Here is a demonstration of the Aqua Accelerated Protocol (AAP) software see the Aqua Connect YouTube Channel

ASHVINS Group. Mobile Application Testing Summary

Mobile App Testing Process INFLECTICA TECHNOLOGIES (P) LTD

Service Virtualization:

Project, Portfolio Management (PPM) for the Enterprise Whose System is it Anyway?

AUTOMATED MOBILE TESTING REQUIRES BOTH REAL DEVICES AND EMULATORS

What you should know about: Windows 7. What s changed? Why does it matter to me? Do I have to upgrade? Tim Wakeling

INDEPENDENT TESTING & QA SERVICES

Developing for the App Store. (Legacy)

Managed Service Plans

Sample Exam Foundation Level Syllabus. Mobile Tester

Intro to the Art of Computer Science

The Economics of. Software as a Service (SaaS) VS. Software as a Product. By Scott Sehlhorst

TURKEY SOFTWARE QUALITY REPORT

Mobile Application Testing Challenges & Best Practices

Why effective Test Automation drives successful and qualitydriven mobile payments

8 Common Myths About Performance Testing in Production Don t Let These Misconceptions Keep You From Production Testing.

SALES TEMPLATES. for prospecting, scheduling meetings, following up, networking, and asking for referrals.

Information Technology User Guide Office 365 ProPlus

Mobile Automation: Best Practices

W H I T E P A P E R E m b r a c i n g C o n s u m e r i z a t i o n w i t h C o n f i d e n c e

Copyrighted , Address :- EH1-Infotech, SCF 69, Top Floor, Phase 3B-2, Sector 60, Mohali (Chandigarh),

Discover The Benefits Of SEO & Search Marketing

10 How to Accomplish SaaS

The 2014 Bottleneck Report on Enterprise Mobile

8 Strategies for 2008

Software Testing, Mythology & Methodologies

Mobile Testing That s Just a Smaller Screen, Right?

The Secret to Playing Your Favourite Music By Ear

Sample Exam Foundation Level Syllabus. Mobile Tester

Upping the game. Improving your software development process

Q: What types of businesses/industries can benefit from the SBA loan programs? A: Most small owner-operated business can benefit from SBA loans

KEY PERFORMANCE INDICATORS (KPIS): DEFINE AND ACT

Auto Clicker Tutorial

how 140 characters can ruin your reputation essential reading for retailers ebook

Social Return on Investment

Mobile Testing, Agile Methodologies & You!

Hosted Acronis Backup Cloud. Keep your data safe with our cloud backup service, powered by Acronis

Where's Gone? LEAD GENERATION PRINTABLE WORKBOOK

Test Automation Process

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

Implementing Storage Virtualization: Elements of a Successful Project

Syllabus Version 2.5_R ( )

Budget Planner SOFTWARE REQUIREMENT SPECIFICATION. Professor: Dr. Doan Nguyen. Team Members: Bindu Madhavi K Khambam Suganya Srinivasan

Being Productive Venkat Subramaniam

Social media is a powerful tool. Many people are well aware of this and with the 1.6 billion people on Facebook, surely that is enough to at least

International Journal of Advanced Engineering Research and Science (IJAERS) Vol-2, Issue-11, Nov- 2015] ISSN:

Higher Focus on Quality. Pressure on Testing Budgets. ? Short Release Cycles. Your key to Effortless Automation. OpKey TM

Why Test Automation Fails

CONTEXT AWARE CONTENT MARKETING

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

Mastering Disaster Recovery: Business Continuity and Virtualization Best Practices W H I T E P A P E R

5 Secrets to a Successful Mobile Application Testing Strategy

The Dangers of Use Cases Employed as Test Cases

Introduction site management software


Could a Managed Services Agreement Save Your Company Tens of Thousands of Dollars Each Year?

Top Ten Mistakes in the FCE Writing Paper (And How to Avoid Them) By Neil Harris

Using Karel with Eclipse

McKinsey Problem Solving Test Top Tips

Realize your full potential with the new version of SIMATIC PCS 7

Transcription:

Test Automation Best Pr actices

2 Which test Cases should be automated? A test case or use case scenario is a simulated situation in which a user performs determinate actions when using a particular app. Some typical test cases can be automated and it would be a very idea to do so to save money, time and keep users as happy as possible! Depending on your app, you may want to writes specific test scripts for certain features and actions. Nonetheless there a few criteria to decide which tests to automate.

Which test Cases should be automated? 3 1. Automate the most frequent test cases There may already be a number of tests that you re manually running as routine tests to check basic functionality on different devices and after every minor update. Those tests might be a good start for test automation, since they are executed repeatedly and running them manually might lead to errors, such as forgetting a step, so that the results might not be reliable. Above all performing repetitive test is time consuming and extremely boring, so don t let the talent of your testers get wasted on something a script can do better.

Which test Cases should be automated? 4 2. Automate test cases that are easy to automate Automated test cases that are easy to automate to have positive results on your ROI: it will take a little time to write effective scripts that will save time and money in the long run.

Which test Cases should be automated? 5 3. Automate test cases that have predictable test results You can automate test with conditional actions, which have a predictable results e.g. if you click on the icon, the app must be launched. Those kind of tests, which state the obvious are not obvious at all. There are apps which pass every in-app test, but when a user tries to launch it, nothing happens.

Which test Cases should be automated? 6 4. Automate the most tedious manual test cases Manual testing can be tricky at times, that s when automated testing get his big spotlight. Software testing is always tricky but it becomes even trickier when it comes to mobile app testing. Every device is different and every manufacturer changes Android a little bit to personalize it, so manual testing can become tedious and complicated. Luckily for us we can automated those tests so to get the exact and right information that we need to know about our app. In conclusion: automate generic processes as much as possible so that you have time to look in detail into issue and bugs. No app is going to be perfect, but you can try to get as close as possible, because end-users are unforgiving people!

Which test Cases should be automated? 7 5. Automate test cases that are impossible to perform manually Some tests cannot be performed manually, i.e. you maybe can perform them manually, but you just see that something isn t working, but you don t know why. Performing an automated test in this case can also indicate the cause of a certain action/series of actions not working. Again saving time, saving money and boosting your ROI.

Which test Cases should be automated? 8 6. Automate test cases that run on several different hardware and/or soft ware pl atforms and configur ation With today s device fragmentation, testing on as many devices as possible is of the most important things to do before making the debut in the app market. So writing tests that can be run on different devices, from different manufacturers, on different OSs and OS versions will save you a great amount of time.

Which test Cases should be automated? 9 7. Automate frequently used functionalit y Frequently used functionalities come often with high risk conditions, for both the device and sensitive user data. Without proper testing, apps might have negative effects on the end-user device, such as: Loss of functionality ( e.g. loss of data connection) Unexpected high data usage Battery draining 2-3 times faster than normal Security or privacy exposure. Some apps ask more permission than actually necessary and data leakage can cause unwanted and unnecessary exposure of the user s data.

10 Decide Which Test Cases To Automate Every test has its own place in the testing process. The majority of test can be automated, but there are a few tests that need to be performed manually. This graphic gives you an overlook of what should be tested when during an apps life cycle.

Decide Which Test Cases To Automate 11 The success of automated testing is determined by the testing strategy: you must create a test automation plan, identifying the initial set of test cases (that will serve as groundwork for future tests) and the testing tools you ll be using. Frameworks are an important tool to choose: there are many different kinds of automated UI testing frameworks and it might get really confusing. But choosing the right one, is one of the keys to mastering test automation. Another tool to choose is the testing tool itself: will you be using emulators or real devices? Will you buy all the devices or will you be using a remote online cloud service? After having set the agenda and found everything you need, the real work begins. What action will your automated tests perform? Try to keep your tests as easy and short as possible. There is no sense in writing a test which is large, complex and difficult to edit and to debug. Small and logic are the recurring keywords.

Decide Which Test Cases To Automate 12 You can put all the pieces together later, grouping them, but making sure that every small part is working properly. You can also write test as you develop the app, instead of finishing one thing and then starting with the tests. Test automation is all about saving time, so finding bugs and issues early in the app code, makes sure that it will a quick fix, or at least there is not that much code to check. When grouping tests, you create test suites; when testing an app you can run the whole suite or you can specify which tests in the suite you do not want to run in a specific test cycle. Tests can be organized by functional area, major/minor division in the application, common function or set of test data. Tests can also be run randomly or you can specify the order in which the tests are performed.

13 What to Keep in Mind When Running Automated Tests Automated test scripts must be maintainable and updatable easily, when changes are needed. Test automation is all about running test in less time. Try to write tests that can run smooth and give reliable test results even if the UI changes, especially in the first stages of the app. Test do sometimes rely on object s coordinates; if the object changes place, the test can no longer be performed because the object to be tested can no longer be found. That s why you should provide unique names/labels for your controls: this makes your test resistant to UI changes and assures that your tests will run no matter what changes in the UI. Location based tests are more unstable and break easily.

What to Keep in Mind When Running Automated Tests 14 Regression test for compatibility are very important as well: device and OS fragmentation have to be taken into account when updating apps. Regression tests are meant to check if the recently made changes have broken something that was working before, not only on the latest device with the latest OS version but on older devices with older OS versions as well. Automated testing is now more important than ever before: app s updates have to be released faster to the market, making app development a continuous development process. Tools for continuous integration are designed to help you keep track of bugs and issues as you go. Whether automated or manual, mobile app testing should be done in the right way. And without test automation you ll be soon out of the game!

ht tps://testobject.com Neuendorfstr. 18b D-16761 Hennigsdorf T +49 (0)3302 2097320 Email: info@testobject.com