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

LogiGear Magazine September Issue 2020: Testing Transformations: Modernizing QA in the SDLC
When automated tests are well-organized and written with the necessary detail, they can be very efficient and maintainable. But designing automated tests that deal with data can be challenging if you have a lot of data combinations. For example, let’s say we want to simulate a series of 20 customers, along with the number of ...
It can be complicated to automate model-based testing. Here’s how to employ action words to get the job done.
Introduction In many of the Test Automation projects that we are involved with using our Action-Based Testing methodology, management has expressed a need to relate tests and test results to system requirements. The underlying thought is that automation will create extra possibilities to control the level of compliance to requirements of the system under test. ...
I got some comments on my post “Test Everything all the Time” — most notably people commenting that it’s impossible to test “everything”. I can’t agree more. The intention of the post was to make the point that we need to be able to test “everything we can” all the time. That is, you should ...
The 12 Do’s and Don’ts of Test Automation When I started my career as a Software Tester a decade ago, Test Automation was viewed with some skepticism.
LogiGear Magazine – The Big Testing Issue – April 2012
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 ...
Are you frustrated with vendors of test automation tools that do not tell you the whole story about what it takes to automate testing? Are you tired of trying to implement test automation without breaking the bank and without overloading yourself with work? I experienced first-hand why people find test automation difficult, and I developed ...
*You can check the answer key here
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 ...
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.

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe