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

Understanding the benefits and challenges of Automating ERP is critical. According to SAP, ERP (Enterprise Resource Planning) “is the core processes that are needed to run a company: finance, human resources, manufacturing, supply chain, services, procurement, and others. At its most basic level, ERP integrates these processes into a single system. But new ERP systems ...
The challenges with any automation effort is to know your capability. I’ve seen too many automation efforts begin and end with a tool decision. Generally these tools are very complex pieces of software that do many more things then we would ever use in our normal everyday testing. It even adds more misery to the ...
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 ...
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 ...
We’re excited to share with you the latest and greatest features of TestArchitect Gondola, as well as how to use them. So, check them out below! Gondola Studio UI/UX ImprovementsGondola Studio’s new Test Execution Dialog makes it easy to configure and run your test. You can choose the browser or device you’d like to run ...
Many organizations rely on HP Quality Center to design test plans and track test results. TestArchitect’s Quality Center integration makes working with QC as easy as pie. TestArchitect (TA) is a three-in-one tool for Test Management, Test Development, and Test Automation. Users can create and manage test assets, execute tests, track and analyze test results, ...
“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 ...
This article was developed from concepts in the book Global Software Test Automation: Discussion of Software Testing for Executives. Introduction There are many potential pitfalls to Manual Software Testing, including: Manual Testing is slow and costly. Manual tests do not scale well. Manual Testing is not consistent or repeatable. Lack of training. Testing is difficult ...
All too often, software development organizations look at automating software testing as a means of executing existing test cases faster. Very frequently there is no strategic or methodological underpinning to such an effort. The approach is one of running test cases faster is better, which will help to deliver software faster. Even in organizations that ...
Regardless of your current state of tools, building an effective Continuous Integration suite of significant automated regression tests is the key to moving to a higher level of confidence in today’s development world. In the evolution timeline of software development tools, new tools have recently proliferated. We have all been sold on collaboration, transparency and ...
Developers of large data-intensive software often notice an interesting — though not surprising — phenomenon: When usage of an application jumps dramatically, components that have operated for months without trouble suddenly develop previously undetected errors. For example, the application may have been installed on a different OS-hardware-DBMS-networking platform, or newly added customers may have account ...

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe