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

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 ...
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.
From automotive Software Testing standards, testing techniques, and process, this article is an in-depth guide for those looking to transfer their existing skills to this exciting industry. For the Software Car, autonomous driving gets most of the hype, but most overlook the fact that there is so much more to Software Testing for the automotive ...
Having the right Test Automation plan helps bridge gaps and fragmentations in the complex mobile environment. Figuring out the best Test Automation plan is one of the biggest frustrations for today’s digital teams. Organizations struggle to develop cross-platform Test Automation that can fit with their Continuous Integration cadence, their regression cycles and other elements of ...
LogiGear Magazine September Test Automation Issue 2017
Automated Testing is a huge part of DevOps, but without human-performed quality assurance testing, you’re increasing the risk of  lower-quality software making it into production.  Automated Testing is an essential DevOps practice to increase organizations’ release cadence and code quality. But there are definitely limits to only using Automated Testing. Without human quality assurance (QA) ...
Introduction As a consultant and trainer, I am often asked by my clients and students how to deal with automated acceptance tests. One common question is whether automated acceptance tests should use the graphical user interface (GUI) provided by the application.
Mobile testers need to take a different approach when it comes to Test Automation.
“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 ...
This article was developed from concepts in the book Global Software Test Automation: A Discussion of Software Testing for Executives, by Hung Q. Nguyen, Michael Hacket and Brent K. Whitlock Introduction The top 5 pitfalls encountered by managers employing software Test Automation are: Uncertainty and lack of control Poor scalability and maintainability Low Test Automation ...
Test automation can provide great benefits to the software testing process and improve the quality of the results…. but its use must be justified and its methods effective. The reasons to automate software testing lie in the pitfalls of manual software testing… As we all know too well, the average manual software testing program:
This book isn’t for everyone, but everyone can get some value out of it. What I mean by that rather confusing statement is that folks working in Agile environments will likely want to throw the book across the room while folks in more bureaucratic environments like CMMI or other waterfall environments will likely get a ...

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe