TestArchitect™ – Automation Toolset

TestArchitect TM is the name we have given to our automation toolset. It reflects the vision that automated testing requires a well-designed architectural plan allowing technical and non-technical elements to work fluidly in their capacity. It also addresses the continual missing link of all test automation tools of how to design tests. In TestArchitect the test design is located in the center column flanked by the test automation execution engine and test management.

What is often misunderstood is that automated testing is not the same as automating manual testing. For automated testing to be successful, tests need to be designed with their automation already in place. In my experience it is this simple missing factor that is the source, of many test automation failures.

To tackle automated testing we have come up with a vision that consists of three elements:

  • an effective keyword-driven method for test design and automation called Action Based Testing
  • a toolset to support―TestArchitect―that has all the features commonly found in test tools including a shared repository organization and flexible web-based “dashboards” for managing test projects. However, this article will only focus on Action Based Testing aspects
  • a set of guidelines and best practices that can be found at our website, www.logigear.com/hans/

Action Based Testing method was a concept devised 16 years ago as a complex yet very critical project that is now widely used in software testing. The tests are clustered in “test modules”, and are described as a series of “actions’”varying from inputting a value, clicking a button or capturing and verifying a value. The actions are named with “action keywords” or “action words” and have arguments for the input and expected output values. Part of a test module is also a set of “test objectives” that detail the goals of the test. Action Based Testing contains many directions on how to determine the test modules and the test objectives, but that falls beyond the scope of this article.

A key concept in Action Based Testing is that the automation efforts don’t focus on the tests but solely on the actions as named by their action words. In most projects a relatively small set of actions can be used to describe a large set of tests. The result is that the tests are readable for humans and at the same time are fully automated. The automation is very maintainable, since in the case of a change in the system under testing generally only the implementation of one or more actions has to be modified; most of the tests can be left alone.

Do you need TestArchitect to do Action Based Testing? Not necessarily. In fact, a simple interpreter written in the scripting language of a test playback tool can do the job quite well. The outline of such an interpreter would consist of:

repeat

read a test line
look up the keyword
execute the function mapped to the keyword
write results in the result file

until no more test lines

TestArchitect, however, was developed to facilitate Action Based Testing test development. It organizes the test modules and the actions, and has tools similar to a test editor to quickly create the action based tests. Also popular is the feature of ’action definitions’, where existing actions can be used to create new ones without additional programming.

An added feature allows actions to be shared across test projects by having a project “subscribe” to another “supplier’” project. The subscriber can then use all actions of the supplier project freely and any project the supplier itself subscribes to are automatically available to the subscribing project. Subscriptions can be recursive and mutual: a supplier can subscribe to yet another project, in which case those actions are available for its subscribers as well, and even a supplier project can subscribe to one or more of its own subscribers.

The underlying concept in Action Based Testing is to design tests explicitly and to not rely on recording of tests. However, for practical reasons TestArchitect does come with a recording tool called the “Action Recorder”. Instead of generating scripts this tool produces action lines that can be inserted anywhere in a test module or action definition.

Another important aspect of TestArchitect is test result management. After a test run, results are initially stored locally. The user must take an explicit action to store them in the repository visible to others and later have an impact on metrics and reports. This process prevents repositories cluttered with results of the numerous ad hoc dry-runs users supervise during testing or automation development.

Once in the repository, results are further organized with proper naming or storage placement. Lastly, results are linked to the test modules and test cases they have tested.

Automation in TestArchitect is organized as a set of libraries that work completely separate from the test management and test design components allowing you to program the actions in virtually any programming language. It is also possible to execute the tests in a third party playback tool using its scripting language to program the actions.

All in all, TestArchitect is an ecosystem for testers to design, automate, and manage tests grounded in its core design of Action Based Testing. Without this method, I believe it’s just another playback similar to its counterparts. It’s my firm belief that TestArchitect serves to improve the quality and implementation of tests. This to me is at the very core of our primary objectives as testers: to write great tests that find meaningful bugs and help improve overall application quality.

Hans Buwalda

Hans leads LogiGear’s research and development of test automation solutions, and the delivery of advanced test automation consulting and engineering services. He is a pioneer of the keyword approach for software testing organizations, and he assists clients in strategic implementation of the Action Based Testing™ method throughout their testing organizations.

Hans is also the original architect of LogiGear’s TestArchitect™, the modular keyword-driven toolset for software test design, automation and management. Hans is an internationally recognized expert on test automation, test development and testing technology management. He is coauthor of Integrated Test Design and Automation (Addison Wesley, 2001), and speaks frequently at international testing conferences.

Hans holds a Master of Science in Computer Science from Free University, Amsterdam.

Hans Buwalda
Hans Buwalda, CTO of LogiGear, is a pioneer of the Action Based and Soap Opera methodologies of testing and automation, and lead developer of TestArchitect, LogiGear’s keyword-based toolset for software test design, automation and management. He is co-author of Integrated Test Design and Automation, and a frequent speaker at test conferences.

The Related Post

“Testing Applications on the web” – 2nd EditionAuthors: Hung Q. Nguyen, Bob Johnson, Michael HackettPublisher: Wiley; edition (May 16, 2003) This is good book. If you test web apps, you should buy it!, April 20, 2001By Dr. Cem Kaner – Director of Florida Institute of Technology’s Center for Software Testing Education & Research Book Reviews ...
LogiGear Magazine – September 2010
Over the years, we’ve provided an extensive number of articles that provide a wealth of knowledge about Test Automation. Below is a compilation of some of those articles. Guide to Automated Voice Apps Testing This article explores some of the basic test tools you’ll need and how to blend the use different automated testing tools ...
The guide for CUI Automated Testing strategies, including chatbot testing and voice app testing. In the Software Testing industry, trends come and go that shape the future of testing. From Automation in Agile, to the DevOps era we are now in, trends are what evolve and improve our testing processes and ideologies. Currently, many researchers ...
The path to continuous delivery leads through automation Software testing and verification needs a careful and diligent process of impersonating an end user, trying various usages and input scenarios, comparing and asserting expected behaviours. Directly, the words “careful and diligent” invoke the idea of letting a computer program do the job. Automating certain programmable aspects ...
Introduction A common issue that I come across in projects is the relationship between test automation and programming. In this article I want to highlight some of the differences that I feel exist between the two.
Based in Alberta, Canada, Jonathan Kohl takes time out of his busy schedule to discuss his views on software testing and automation.
As I wrote in various articles, organization is one of the 3 key requisites for successful automated testing, the other two being test design and automation architecture.
Test Automation is significant and growing-yet I have read many forum comments and blog posts about Test Automation not delivering as expected. It’s true that test automation can improve reliability while minimizing variability in the results, speed up the process, increase test coverage, and ultimately provide greater confidence in the quality of the software being ...
LogiGear Magazine – October 2010
For this interview, we talked to Greg Wester, Senior Member Technical Staff, Craig Jennings, Senior Director, Quality Engineering and Ritu Ganguly, QE Director at Salesforce. Salesforce.com is a cloud-based enterprise software company specializing in software as a service (SaaS). Best known for its Customer Relationship Management (CRM) product, it was ranked number 27 in Fortune’s 100 ...
Two dominant manual testing approaches to the software testing game are scripted and exploratory testing. In the test automation space, we have other approaches. I look at three main contexts for test automation: 1. Code context – e.g. unit testing. 2. System context – e.g. protocol or message level testing. 3. Social context – e.g. ...

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe