DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. Why Test Automation Alone Isn't Enough

Why Test Automation Alone Isn't Enough

Now that test automation is more widespread, make sure that you're doing it right and applying automation wherever you can in the lifecycle.

Shoeb Javed user avatar by
Shoeb Javed
·
Nov. 09, 17 · Opinion
Like (3)
Save
Tweet
Share
9.60K Views

Join the DZone community and get the full member experience.

Join For Free

There is no doubt that it is an exciting time to be in testing. Over the past few years, testing has lagged in the adoption of agile practices, but over the last year, we've quickly seen things change. The conversation is no longer about manual vs. automated testing, but how I can do automated testing correctly? "Correctly" being the core word. When most people think about automated testing they think about buying a tool that will auto-run the tests. But that is a very limited perspective that delivers limited results. Why? Because what we're actually talking about is not simply how to automate tests but how to innovate faster and get changes into production faster without impacting the business, especially when dealing with mission-critical enterprise applications.

The first thing I tell clients is that they need to think differently about testing and automation. Testing needs to be prioritized and driven by what drives the business and automation needs to become the first option looked at for all activities across the cycle.

Consider the typical lifecycle of an enterprise application project:

What are the key activities that need to happen along the way?

  • Document existing business processes
  • Evaluate the impact of change requests
  • Prioritize testing based on business impact
  • Create test cases
  • Get test data
  • Run test cases
  • Update ALM system with results
  • Produce required compliance reports

Which of the above can you automate? ALL OF THE ABOVE!

This is where we need to RETHINK automation. Typically, when we think of automation, we think of a very linear process. First, we write the test requirements, then the documents are created, then somebody goes and creates the automation, then someone runs it. Even within most agile environments, the creation of test automation is still a very linear process. But what if we stop thinking linearly? What if we think about how we can use automation to do more things in parallel and how automation can be used to then create additional automation.

RETHINK Automation - Automate From the START

End-to-end business process testing almost always starts with the identification and documentation of the potentially impacted business processes. For the sake of simplicity, let's put aside the questions of how you identify and determine what the impacted business processes will be and say you know the processes. Now, instead of manually creating a document with written steps, screenshots, and process flowcharts, you instead use automation to auto-generate the written steps, capture the associated screens, and create the visual flow. Because software was used to capture the business processes, the steps are immediately available to be transferred to the QA team to auto-create test cases.

Automated discovery "watches" the user perform the actual steps within a business process either in a production or pre-production system. All the ambiguity due to poor documentation or missing steps has been removed because the actual end-to-end business process was captured using automation. QA now knows exactly what the steps in the business process are. The automation can be hardened/parametrized within hours of receiving the change requests. Customizations can easily be made because now the tester understands exactly what the business is trying to achieve. Impact analysis can be run to predict any upstream/downstream impacts of the change along with current test coverage levels. Operations can consume the automation to run as part of a standard DevOps environment.

Teams can start to work independently of each other and in parallel. The organization is enabled to start building automation faster and at scale. New test cases are auto-generated each time a change to a process is captured and documents and processes maps are kept up to date. Compliance reports are auto-generated at the completion of each test run, validating that no one must perform a bunch of manual things to restart the process. The process is always in play, always in motion, always churning, and that is the way you want it. Now you have built core infrastructure that keeps your automation coming as fast as your organization is changing.

In my next post, I'll talk about how automation in QA can then be transferred to other parts of the organization to enable robotic process automation.

Test data Test automation

Published at DZone with permission of Shoeb Javed, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • OpenVPN With Radius and Multi-Factor Authentication
  • Journey to Event Driven, Part 1: Why Event-First Programming Changes Everything
  • Choosing the Right Framework for Your Project
  • Host Hack Attempt Detection Using ELK

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: