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

In recent years, much attention has been paid to setting up Test Automation frameworks which are effective, easy to maintain, and allow the whole testing team to contribute to the testing effort. In doing so, we often leave out one of the most critical considerations of Test Automation: What do we do when the Test ...
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 ...
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 ...
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 ...
Bringing in experts can set you up for automation success. Test automation isn’t easy when your testing gets beyond a few hundred test cases. Lots of brilliant testers and large organizations have, and continue to struggle with test automation, and not for lack of effort. Everyone understands the value of test automation, but few testing ...
Learn how to leverage TestArchitect and Selenium for turnkey, Automated Web testing. TestArchitect lets you create, manage, and run web-based automated tests on different types of browsers—using either a WebDriver or non-WebDriver technique. In this article, we will explore employing WebDriver for testing a web-based application with TestArchitect. TestArchitect with WebDriver is a tool for automating ...
Introduction A characteristic of data warehouse (DW) development is the frequent release of high-quality data for user feedback and acceptance. At the end of each iteration of DW ETLs (Extract-Transform-Load), data tables are expected to be of sufficient quality for the next ETL phase. This objective requires a unique approach to quality assurance methods and ...
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 ...
Recently while teaching a workshop on Testing Dirty Systems, I uttered this “Randyism” off the top of my head, “Test automation is not automatic.” I realized immediately that I had just concisely stated the problem in making test automation a reality in many organizations. Most testers know that test automation is not automatic. (Wouldn’t it be great?) However, ...
An automation framework is a way to organize your code in meaningful manner so that any person who is working with you can understand what each file contains. Automation frameworks differ based on how you organize your code – it can be organized based on your data, so that any person who wants to use ...
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 ...
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 ...

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe