Tips on How to Implement Automation Testing Fast | DevsDay.ru

IT-блоги Tips on How to Implement Automation Testing Fast

DZone DevOps 7 апреля 2021 г. Yelena Lavrentyeva


Automation is not the next big thing. It’s the future that is now. It is easy to understand why. Technology does the job quicker and often better while freeing us for more creative tasks. When it comes to software testing that helps us get rid of nasty bugs and make users happy, the benefits of QA automation are pretty much the same. A higher speed, reduced costs, and fewer errors. However, many are slow to adopt. 

According to a recent survey, 25% of testers from across industries are just starting on their test automation journey or have no automation whatsoever. Common automation testing challenges range from a lack of skilled resources or knowledge to identify the right methods and tools to changing software requirements.

Meanwhile, testing remains the number one reason for delays in software delivery cycles.

If you are thinking about test automation as well but don’t know how to get started, stay tuned. Tips and practical examples are below.

Expert Advice on How to Implement Automation Testing Fast

Is QA automation hard? Slava Markovski, QA Automation Team Lead at ITRex with 15+ years of experience in a global tech giant, agrees that test automation can indeed be challenging. Advanced skills are required, from test case design to knowledge of smart automation tools and automated test environments in agile. But once implemented, dependency on such skills reduces, while automation testing can be implemented really, really quickly.

Here are his 5 great tips on how to do automation testing easily from scratch: 

  1. Start with creating small test cases instead of spending a huge amount of time designing your intricate QA automation framework upfront.
  2. Smoke tests are imperative.
  3. Use remote machines to run tests from the very beginning.
  4. Make sure you’ve got a well-thought-out plan for running tests in parallel and as part of your CI/CD pipeline.
  5. Set up capabilities to analyze test results on a daily basis.

"Our automation testing strategy helps teams realize the first benefits from test automation in a matter of weeks," Slava says, and explains how:

  • Keep it simple. Some QA engineers start working on a new automation project by designing bulky scenarios. A costly mistake! Requirements evolve, along with business needs, and at the end of the day, your top-notch framework can be simply good for nothing. It’s essential to get complete product knowledge first and determine what you want to cover with automated checks. So, we start small. We develop small test cases that are easy to debug and reuse while working on a dynamic framework that will keep up with app changes.
  • Smoke tests. Smoke testing is a software testing process that determines whether the deployed software build is stable or not. This basic health check runs on each build is intended to confirm that we can proceed with more rigorous tests without wasting time and resources from flawed artifacts. In any good CI/CD pipeline, smoke tests should be automated due to their repetitive nature. While working on smoke test cases, our team also gets a chance to understand the app’s architecture and business logic better, which is important for building a robust QA automation framework.
  • Remote test execution. Remote test execution means deploying remote machines to perform tests across multiple systems, browsers, and system configurations. A key advantage is the ability to simultaneously execute hundreds of automated tests in different test environments. This approach helps us not only save time but increase coverage as well, and prevent our local systems from collapsing under the load.
  • Parallel Testing. Parallel testing also reduces test execution time dramatically. To test your app against a dozen devices, you need to write only ONE script and 'push the button,' as soon as developers submit new code. Parallel testing boosts your ROI, as it brings increased test coverage to the table. We create test cases with parallelization in mind, trying to avoid test dependencies and hard-coding.
  • CI/CD. Automation testing enables continuous testing, which in its turn enables CI/CD in an agile or DevOps environment. In fact, you cannot achieve efficient CI/CD without a QA automation strategy. We make sure that we take full advantage of CI/CD practices to increase quality while allowing developers to deliver software faster. This means that testing occurs earlier and more frequently before release, with everyone in the team instantly notified if something goes wrong within the app. Tests are started by the timer. Reporting is automated. Remote and parallel test execution are in place, too.
  • Daily Tests Analysis. Regression tests, performed to ensure that a change in the code has not negatively affected the previously working code, are normally run on a nightly basis, with test results available in the morning. We start our working day with a thorough analysis of failed tests. So, failures are fixed early without delaying delivery.

That said, efficient automation implementation is actually not that hard if you follow these simple rules, Slava adds.

How It Works in Practice: Automation Testing Examples 

Many of our clients across industries have benefited from automation testing introduction. Below are just a few real-world examples from our portfolio:

  • Leading global retailer. A robust automation testing framework built by our QA team from scratch for a leading global retailer has accelerated the delivery of their complex big data platform. Their team can now run 200 automated UI regression tests in just seven minutes, with the previous 2 or 3 days of manual testing replaced with 30 minutes’ testing.
  • Developer of popular mobile dating app. Our solution has automated more than a dozen tests for the registration/authentication flows and live-streaming functionality of a dating mobile app with millions of users. Test execution time reduced from one hour to 10 minutes as a result, freeing resources for more business-oriented tasks.
  • Elearning company. The development of an automation testing framework for a leading eLearning company has helped automate over 300 tests for their cloud data analytics platform. Manual testing time reduced by more than 25 hours in each release cycle.

Like other senior-level IT executives from around the world, our clients also enjoy both reduced test cycle time and reduced test costs from best automation testing practices. Automation makes lofty promises and truly delivers on them. On top of that, it can be set up quickly, with immediate benefits.

Conclusion

Test automation is happening, but for many companies, it is still not at the level it should be. However, with users’ zero tolerance to bugs and increasing pressure on teams to speed up release cycles for fixes and updates, automation testing can be the only way out of this challenge. Technologies unlock hidden value and make you fly. All you need is the right strategy and the right skills to set up test automation best practices. Machines will do the rest.

Источник: DZone DevOps

automation testing

Читайте также


8 Best Practices To Reduce Your AWS Bill for Kubernetes

DevOps DZone DevOps 20 апреля 2021 г. 18:31
If your AWS Kubernetes bill went way over your budget this month, it’s not your fault. Typically, companies go over their cloud budgets by 23% (Flexera).  Cloud providers aren’t exactly helping here. The bills are long, complicated, and har...... читать далее
devops aws kubernetes k8s aws cost cloud optimization cloud compute

Why Software Testing Is Needed In The Pharmaceutical Industry

QA EuroSTAR Huddle 20 апреля 2021 г. 7:04
The pharmaceutical industry is the most regulated industry in the world and it is a big contributor to the health care system. Software testing... Read more + The post Why Software Testing Is Needed In The Pharmaceutical Industry appeared first on...... читать далее
Test Management

Дизайн UX Planet 19 апреля 2021 г. 15:08

Improving on Customer Relationship Management using Service Design — A UX Design case studyPhoto by Kensuke Creations on FacebookIn our current time and age, food delivery has become the norm. Companies like GrabFood, Deliveroo and foodpanda are domi...... читать далее

ux-design foodpanda ux user-experience services

Разработка Dice Insights 19 апреля 2021 г. 11:03

In many organizations, it is the chief information security officer (CISO) who oversees efforts to fight threats such as data breaches, ransomware and phishing. In fact, companies with […] The post Becoming a CISO: 5 Things You Need t...... читать далее

Headline Working in Tech Cisco Cybersecurity Programming

DevOps DZone DevOps 18 апреля 2021 г. 15:45

How to run Ruby on Rails tests in Minitest on Github Actions? What to do if tests are slow? How to manage complex workflows? You can use Github Actions build matrices to divide Minitest files between jobs and run the test suite much faster. If your M...... читать далее

tutorial devops qa ruby on rails continious integration github actions parallel testing mintest

Безопасность DZone Security 16 апреля 2021 г. 23:22

Tuesday, April 13 marks Identity Management Day — a time to bring awareness to business leaders, IT decision-makers, and others about the importance of managing and securing digital identities. It’s a nice concept: businesses coming together to...... читать далее

security it cyber security identity management identity access management digital identity

DevOps DZone DevOps 16 апреля 2021 г. 22:38

DevOps, an organizational approach that has been used immensely for quicker development and deployment of applications, has been the latest technical buzz. Today organizations are adopting DevOps, as it promises to provide best practices starting rig...... читать далее

devops jenkins selenium automation selenium - web browser automation jenkins automation

Популярные темы

новости (393) ux (363) design (329) headline (271) python (226) ubuntu (220) ux-design (217) devops (206) новость (204) javascript (201) web dev (193) security (188) seo (150) tutorial (141) working in tech (137) дайджесты вакансий от new.hr (136) статьи (131) ui (127) programming (118) testing roundup (116) software testing (113) user-experience (111) дизайн (99) product-design (94) google (93) java (90) игровые проекты (85) ui-design (84) design-thinking (84) primary (77) api5 (76) технологии (76) движки и конструкторы игр (70) прочее (70) job hunting (68) windows 10 (68) бизнес (68) php (66) bash programming (66) laravel (65) technology (65) debian (61) hardware (60) css (59) linux mint (57) uncategorized (56) обучение (56) мероприятия (56) работа (52) docker (51) español (51) covid-19 (50) web design and applications (49) cloud (49) android (49) case-study (49) chrome (48) турбо-страницы (47) инструкции (46) обзоры (46) tutorials (46) data (45) ux-research (45) machine learning (44) publication (44) angular (44) networking (44) навыки алисы (43) inspiration (43) home page stories (43) разработчики (42) apple (42) kubernetes (42) web (41) art (41) job skills (41) c++ (41) powershell (41) ios (40) kali linux (40) mysql mariadb (40) google ads (39) cybersecurity (39) virtual reality (39) автоматизация (38) wp (38) vue.js (37) маркетинг (37) wordpress (36) aspnet (36) тестирование (36) события (36) arch linux (36) полезное (36) productivity (36) marketing (36) кейсы (35) css 3 (35) events (35) smm (35)