# US 11,119,900 B2 · Modular testing kit and testing framework for testing a human machine interface (HMI) application

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,119,900 B2
- Document ID: US11119900B2
- Status: Granted
- Kind: B2
- Application number: 15/937,509
- Filed: 2018-03-27
- Published: 2019-09-26
- Granted: 2021-09-14
- Earliest claimed: 2018-03-21
- Assignees: Wipro Limited
- Applicants: Wipro Limited
- Inventors: Souvik Dutta; Debasish Chanda; Swarup Mandal
- Web page: https://patentgrep.com/patent/US11119900B2

## CPC

- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3692: {for test results analysis}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This disclosure relates generally to a human machine interface (HMI) application, and more particularly to modular testing kits and testing framework for testing the HMI application. In one embodiment, a method for developing a modular testing kit for testing a modular component of the HMI application is disclosed. The method may include generating a plurality of test cases for testing the modular component based on a definition of each of a set of interfaces configured to implement the modular component on a target platform, developing the modular testing kit to execute the plurality of test cases by simulating each of the set of interfaces, and creating a test script for each of the plurality of test cases using the modular testing kit.

## Claims

### Claim 1

A method of developing a modular testing kit for testing a modular component of a human machine interface (HMI) application, the method comprising:
generating, by a host service delivery platform (HSDP), a plurality of test cases for testing the modular component based on a definition of each of a set of interfaces configured to implement the modular component on a target platform, wherein the modular component comprises one of a view component, a Business Logic component (BL component), and a platform component, wherein a view-BL-interface (VBI) and a BL-platform-interface (BPI) is created based on the definition of each of a set of interfaces;
developing, by the HSDP, the modular testing kit using the VBI interface and the BPI interface to execute the plurality of test cases by simulating each of the set of interfaces, wherein simulating each of the set of interfaces comprises simulating one or more commands corresponding to the modular component that are dependent on one or more other modular components, wherein the VBI interface further comprises a BL-view interface and a view-BL interface and the BPI interface further comprises a BL-platform interface and a platform-BL interface;
developing, by the HSDP, a HMI test automation framework (HTAF), for testing the HMI application deployed on the target platform; and
creating, by the HSDP, a test script for each of the plurality of test cases using the modular testing kit and the HMI test automation framework, wherein the modular testing kit perform a white box testing of the corresponding modular components of the HMI application, and the HTAF perform black box testing of each of the modular components of the HMI application.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the plurality of test cases comprises:
analyzing each of the set of interfaces to determine a plurality of input/output (I/O) parameters; and
generating the plurality of test cases based on a range of each of the plurality of I/O parameters.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the plurality of test cases comprises generating an optimized number of test cases from the definition of each of the set of interfaces using an orthogonal array.

### Claim 4 (depends on 1)

The method of claim 1, wherein the modular component comprises the view component of the HMI application, wherein the set of interfaces comprises the business logic (BL) view interface, and wherein the modular testing kit comprises a view testing kit (VTK) configured to simulate the BL-view interface for testing the view component.

### Claim 5 (depends on 4)

The method of claim 4, wherein the VTK is configured to simulate one or more view commands specified in the definition of the BL-view interface, and to verify whether the view component passes the one or more view commands to the BL component.

### Claim 6 (depends on 1)

The method of claim 1, wherein the modular component comprises the BL component of the HMI application, wherein the set of interfaces comprises the view-BL interface and the platform-BL interface, and wherein the modular testing kit comprises a BL testing kit (BTK) configured to simulate the view-BL interface for user input simulation and the platform-BL interface for platform input simulation for testing the BL component.

### Claim 7 (depends on 6)

The method of claim 6, wherein the BTK is configured to simulate one or more view driven triggers specified in the definition of the view-BL interface and one or more system initiated triggers specified in the definition of the platform-BL interface, and to verify whether the BL component performs as expected.

### Claim 8 (depends on 1)

The method of claim 1, wherein the modular component comprises the platform component needed for the HMI application, wherein the set of interfaces comprises the business logic (BL)-platform interface, and wherein the modular testing kit comprises a platform testing kit (PTK) configured to simulate the BL-platform interface for testing the platform component.

### Claim 9 (depends on 8)

The method of claim 8, wherein the PTK is configured to simulate one or more platform actions specified in the definition of the BL-platform interface, and to verify whether the platform component performs as expected.

### Claim 10

A system for developing a modular testing kit for testing a modular component of a human machine interface (HMI) application, the system comprising:
a host service delivery platform (HSDP) comprising at least one processor and a computer-readable medium storing instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
generating a plurality of test cases for testing the modular component based on a definition of each of a set of interfaces configured to implement the modular component on a target platform, wherein the modular component comprises one of a view component, a Business Logic component (BL component), and a platform component, wherein a view-BL-interface (VBI) and a BL-platform-interface (BPI) is created based on the definition of each of a set of interfaces;
developing the modular testing kit using the VBI interface and the BPI interface to execute the plurality of test cases by simulating each of the set of interfaces, wherein simulating each of the set of interfaces comprises simulating one or more commands corresponding to the modular component that are dependent on one or more other modular components wherein the VBI interface further comprises a BL-view interface and a view-BL interface and the BPI interface further comprises a BL-platform interface and a platform-BL interface;
developing a HMI test automation framework (HTAF), for testing the HMI application deployed on the target platform; and
creating a test script for each of the plurality of test cases using the modular testing kit and the HMI test automation framework, wherein the modular testing kit perform a white box testing of the corresponding modular components of the HMI application, and the HTAF perform black box testing of each of the modular components of the HMI application.

### Claim 11 (depends on 10)

The system of claim 10, wherein generating the plurality of test cases comprises:
analyzing each of the set of interfaces to determine a plurality of input/output (I/O) parameters; and
generating the plurality of test cases based on a range of each of the plurality of I/O parameters.

### Claim 12 (depends on 10)

The system of claim 10, wherein the modular component comprises the view component of the HMI application, wherein the set of interfaces comprises the business logic (BL)-view interface, and wherein the modular testing kit comprises a view testing kit (VTK) configured to simulate the BL-view interface for testing the view component.

### Claim 13 (depends on 12)

The system of claim 12, wherein the VTK is configured to simulate one or more view commands specified in the definition of the BL-view interface, and to verify whether the view component passes the one or more view commands to the BL component.

### Claim 14 (depends on 10)

The system of claim 10, wherein the modular component comprises the BL component of the HMI application, wherein the set of interfaces comprises the view-BL interface and the platform-BL interface, and wherein the modular testing kit comprises a BL testing kit (BTK) configured to simulate the view-BL interface for user input simulation and the platform-BL interface for platform input simulation for testing the BL component.

### Claim 15 (depends on 14)

The system of claim 14, wherein the BTK is configured to simulate one or more view driven triggers specified in the definition of the view-BL interface and one or more system initiated triggers specified in the definition of the platform-BL interface, and to verify whether the BL component performs as expected.

### Claim 16 (depends on 10)

The system of claim 10, wherein the modular component comprises the platform component needed for the HMI application, wherein the set of interfaces comprises the business logic (BL)-platform interface, and wherein the modular testing kit comprises a platform testing kit (PTK) configured to simulate the BL-platform interface for testing the platform component.

### Claim 17 (depends on 16)

The system of claim 16, wherein the PTK is configured to simulate one or more platform actions specified in the definition of the BL-platform interface, and to verify whether the platform component performs as expected.

### Claim 18

A non-transitory computer-readable medium storing computer-executable instructions for:
generating a plurality of test cases for testing a modular component of a human machine interface (HMI) application, based on a definition of each of a set of interfaces configured to implement the modular component on a target platform, wherein the modular component comprises one of a view component, a Business Logic component (BL component), and a platform component, wherein a view-BL-interface (VBI) and a BL-platform-interface (BPI) is created based on the definition of each of a set of interfaces;
developing a modular testing kit using the VBI interface and the BPI interface to execute the plurality of test cases by simulating each of the set of interfaces, wherein simulating each of the set of interfaces comprises simulating one or more commands corresponding to the modular component that are dependent on one or more other modular components, wherein the VBI interface further comprises a BL-view interface and a view-BL interface and the BPI interface further comprises a BL-platform interface and a platform-BL interface; and
developing a HMI test automation framework (HTAF), for testing the HMI application deployed on the target platform; and
creating a test script for each of the plurality of test cases using the modular testing kit and the HMI test automation framework, wherein the modular testing kit perform a white box testing of the corresponding modular components of the HMI application, and the HTAF perform black box testing of each of the modular components of the HMI application.
