# US 10,372,598 B2 · Method and device for design driven development based automation testing

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

- Number: US 10,372,598 B2
- Document ID: US10372598B2
- Status: Granted
- Kind: B2
- Application number: 15/878,199
- Filed: 2018-01-23
- Published: 2019-06-13
- Granted: 2019-08-06
- Earliest claimed: 2017-12-11
- Assignees: Wipro Limited
- Applicants: Wipro Limited
- Inventors: Sandeep Koar
- Web page: https://patentgrep.com/patent/US10372598B2

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 8/20: Software design
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and device for design driven development based automation testing is disclosed. The method includes receiving a design document comprising an overview of a proposed product. The method further includes extracting functionality of the proposed product based on an analysis of at least one design object in the design document. The method includes converting the functionality of the proposed product into at least one test script based on the at least one design object. The method includes replacing one or more of the at least one design object with a corresponding real object in a developed product associated with the proposed product. The method further includes executing the at least one test script to test the developed product, in response to the replacing.

## Claims

### Claim 1

A method for design driven development based automation testing, the method comprising:
receiving, by a testing automation device, a design document comprising an overview of a proposed product at a development phase;
extracting, by the testing automation device, functionality of the proposed product based on an analysis of at least one design object in the design document, wherein the at least one design object includes a snapshot of a layout and screen navigations indicative of the functionality of the proposed product;
converting, by the testing automation device, the functionality of the proposed product into at least one test script based on the at least one design object;
determining whether the functionality of the proposed product is covered in a developed product;
modifying the at least one test script that correspond to the functionality of the proposed product that is not covered in the developed product, based on the determination;
mapping, by the testing automation device, each of the at least one design object to a corresponding real object of the developed product;
determining, by the testing automation device, at least one difference between a design object from the at least one design object and a corresponding real object in the developed product based on the mapping;
replacing, by the testing automation device, based on the determination, one or more of the at least one design object that is different from a corresponding real object in the developed product associated with the proposed product, with the corresponding real object in the at least one test script; and
executing, by the testing automation device, the modified test script to test the developed product, in response to the replacing.

### Claim 2 (depends on 1)

The method of claim 1, wherein the design document comprises at least one of a design document, a User Experience (UX) document, a power point presentation, or wireframes.

### Claim 3 (depends on 1)

The method of claim 1 further comprising preparing the design document based on finalized design and layout of the proposed product.

### Claim 4 (depends on 1)

The method of claim 1, wherein the at least one test script comprises at least one of a business test script and a functional test script.

### Claim 5 (depends on 1)

The method of claim 1 further comprising reviewing the at least one test script to determine whether each functionality of the proposed product is covered.

### Claim 6 (depends on 1)

The method of claim 1 further comprising testing functionality of the developed product in response to executing the at least one test script.

### Claim 7

A testing automation device for performing design driven development based automation testing, the testing automation device comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to:
receive a design document comprising an overview of a proposed product at a development phase;
extract functionality of the proposed product based on an analysis of at least one design object in the design document, wherein the at least one design object includes a snapshot of a layout and screen navigations indicative of the functionality of the proposed product;
convert the functionality of the proposed product into at least one test script based on the at least one design object;
determine whether the functionality of the proposed product is covered in a developed product;
modify the at least one test script that correspond to the functionality of the proposed product that is not covered in the developed product, based on the determination;
map each of the at least one design object to a corresponding real object of the developed product;
determine at least one difference between a design object from the at least one design object and a corresponding real object in the developed product based on the mapping;
replace, based on the determination, one or more of the at least one design object that is different from a corresponding real object in the developed product associated with the proposed product, with the corresponding real object in the at least one test script; and
execute the modified test script to test the developed product, in response to the replacing.

### Claim 8 (depends on 7)

The testing automation device of claim 7, wherein the design document comprises at least one of a design document, a User Experience (UX) document, a power point presentation, or wireframes.

### Claim 9 (depends on 7)

The testing automation device of claim 7, wherein the processor instructions further cause the processor to prepare the design document based on finalized design and layout of the proposed product.

### Claim 10 (depends on 7)

The testing automation device of claim 7, wherein the at least one test script comprises at least one of a business test script and a functional test script.

### Claim 11 (depends on 7)

The testing automation device of claim 7, wherein the processor instructions further cause the processor to review the at least one test script to determine whether each functionality of the proposed product is covered.

### Claim 12 (depends on 7)

The testing automation device of claim 7, wherein the processor instructions further cause the processor to test functionality of the developed product in response to executing the at least one test script.
