TestArchitect Corner: How to Automate Software Testing on Custom Hardware

When configured with a Python harness, TestArchitect can be used to automate testing on software for custom hardware

Unlike other proprietary and open source tools, that are able to automate only desktop, or mobile, TestArchitect (TA Test) has the ability to test the software that runs on hardware in the following ways:

1. TA can validate the data on the Application Under Test (AUT) by UI testing in real-time

2. TA can communicate via connectors to control and validate the Device Under Test (DUT) tools or equipment in real-time

Figure – Demonstration Test Setup

TestArchitect is Extensible for Testing Hardware

This is due to TestArchitect’s easy extensibility. In this edition of TestArchitect, we’ll walk you how to automate testing equipment (ATE). In this example, TestArchitect uses Python (as harness actions) to talk with the tools and test equipment via communications channels and allows the user to configure which tools will be used for testing. Software solutions that need input from external devices can now be fully tested using Test Architect with the help of Python Harness.

Figure  – Sample Python script to control hardware

How to Automate the Workflow on the Device Under Test (DUT)

In order to automate the Workflow on a Desktop Application, one can do so by following these steps:

· First, configure the hardware you want to test.

· Then using TestArchitect to input data, one can automate the workflows on the desktop app to send data as configuration to the hardware.

Figure  – Sample Testing Workflow

· TA monitors and controls hardware via test equipment or directly to test boxes themselves, to feed the tools different data, or change configurations while the Desktop application is running and connecting with tools. We can verify state and configuration of tools in this step also.

Figure – Sample Communication Flow

· Return to the Desktop app/Web app and verify returned data from the tools: TA verifies the data transferred to Desktop app or Web app with data TA fed to the tools.

Leveraging Other Programming Languages  

Figure 7 Sample app which uses input data from hardware

When combined with a Python Harness, TestArchitect becomes a powerful tool to help in complex testing situations. TA can also be extended to support other programming languages like C# and Java, which can also be used as harness actions for other similar projects. To learn more about the benefits of TestArchitect, visit testarchitect.com today.

LogiGear Corporation
LogiGear Corporation provides global solutions for software testing, and offers public and corporate software testing training programs worldwide through LogiGear University. LogiGear is a leader in the integration of test automation, offshore resources and US project management for fast, cost-effective results. Since 1994, LogiGear has worked with Fortune 500 companies to early-stage start-ups in, creating unique solutions to meet their clients’ needs. With facilities in the US and Viet Nam, LogiGear helps companies double their test coverage and improve software quality while reducing testing time and cutting costs.

The Related Post

We’re celebrating the 1st birthday of our Agile eBook! It has been one year since we launched our eBook on Agile Automation. To celebrate, we’ve updated the foreword and included a brand new automation checklist! As we take the moment to mark this occasion, we wanted to take some time to reflect on the State ...
Every once in a while a book is put together that should be read by every person with a relationship to software development. This book is one of them. Everyone dreams of automating their software testing, but few make it a reality. This down-to-earth book contains stories of 28 teams that went for it, including ...
As our world continues its digital transformation with excitement in the advancement and convergence of so many technologies- from AI, machine learning, big data and analytics, to device mesh connectivity, nor should we forget VR and AR- 2017 promises to be a year that further transforms the way we work, play and take care of ...
LogiGear Magazine January Trends Issue 2017
I feel like I’ve spent most of my career learning how to write good automated tests in an Agile environment. When I downloaded JUnit in the year 2000 it didn’t take long before I was hooked – unit tests for everything in sight. That gratifying green bar is near-instant feedback that everything is going as ...
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 ...
Mobile usage today is not just a trend but it is an essential shift in how people communicate with each other, interact with the world, and do business. According to a ComScore, in 2014 the number of mobile users surpassed the number of computer users and is showing strong growth over time, towards some point in ...
September Issue 2019: Advancing Automation
There are few topics in quality assurance testing that cause as much confusion as smoke testing versus sanity testing. The two names would seem to describe very different practices— and they do! But people still get them confused, since the distinction is somewhat subtle.
“Happy About Global Software Test Automation: A Discussion of Software Testing for Executives” Author: Hung Q. Nguyen, Michael Hackett, and Brent K. Whitlock Publisher: Happy About (August 1, 2006) Finally, a testing book for executives!, November 17, 2006 By Scott Barber “Chief Technologist, PerfTestPlus” Happy About Global Software Test Automation: A Discussion of Software Testing ...
With the new year just around the corner, here’s a look at the Test Automation trends that have the potential to dominate. DevOps is being relied upon more than ever. With there being strong Market Drivers for the adoption of DevOps, the need for Test Automation has also never been greater. But what’s next after ...
For those that are new to test automation, it can look like a daunting task to undertake For those who are new to Automation, it can look like a daunting task to undertake, but it only seems that way. If we unpack it and pinpoint the fundamentals, we can have the formula for the desired ...

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe