# US 7,613,953 B2 · Method of converting a regression test script of an automated testing tool into a function

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

- Number: US 7,613,953 B2
- Document ID: US7613953B2
- Status: Granted
- Kind: B2
- Application number: 10/446,334
- Filed: 2003-05-27
- Published: 2009-03-12
- Granted: 2009-11-03
- Earliest claimed: 2003-05-27
- Assignees: Oracle International Corporation
- Inventors: Venkata Subbarao Voruganti
- Web page: https://patentgrep.com/patent/US7613953B2

## CPC

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

## Abstract

A method of converting a regression test script of an automated testing tool into a function. The regression test script is received, wherein the regression test script comprises at least one object. A physical description of object is inserted into the regression test script. The regression test script is compiled to generate the function.

## Claims

### Claim 1

A method of converting a regression test script of an automated testing tool into a function, said method comprising:
receiving said regression test script comprising at least one object, wherein said object describes at least one action initiated by said regression test script to test a software application;
inserting a physical description related to said object into said regression test script, said physical description copied from an external GUI map;
assigning a variable name to said physical description;
compiling said regression test script comprising said object and said physical description referenced by the variable name to generate said function such that a regression test is subsequently performed according to said regression test script by invoking said function and does not require the external GUI map;
storing said function in a centralized library accessible by a plurality of users allowing said function to be shared between different regression tests and reused for said subsequent regression test, wherein the function comprises the regression test script and is executed to implement the regression test script; and
testing the software application by invoking the stored function, wherein the stored function performs the regressive test without the external GUI map.

### Claim 2 (depends on 1)

The method as recited in claim 1 wherein said regression test script is data-driven.

### Claim 3 (depends on 2)

The method as recited at claim 2 furthering comprising assigning a command to connect said regression test script to a data table.

### Claim 4 (depends on 3)

The method as recited in claim 3 further comprising designating said command as a global command.

### Claim 5 (depends on 4)

The method as recited in claim 4 further comprising reloading said command for making said command available in a public library.

### Claim 6 (depends on 1)

The method as recited in claim 1 further comprising:
declaring said variable name in said regression test script.

### Claim 7 (depends on 1)

The method as recited in claim 1 further comprising naming said regression test script.

### Claim 8 (depends on 1)

The method as recited in claim 1 wherein said regression test script is written in Test Script Language (TSL).

### Claim 9 (depends on 1)

The method as recited in claim 1 wherein regression test script is recorded according to said automated testing tool.

### Claim 10

A computer-readable medium having computer-readable program code embodied therein for causing a computer system to perform a method of convening a regression test script of an automated testing tool into a function, said method comprising:
receiving said regression test script comprising at least one object, wherein said object describes at least one action initiated by said regression test script to test a software application;
inserting a physical description related to said object into said regression test script, said physical description copied from an external GUI map;
assigning a variable name to said physical description;
compiling said regression test script including said object and said physical description referenced by the variable name to generate said fUnction such that a regression test is subsequently performed according to said regression test script by invoking said function and does not require the external GUI map;
storing said function in a centralized library accessible by a plurality of users allowing said function to be shared between different regression tests and reused for said subsequent regression test, wherein the function comprises the regression test script and is executed to implement the regression test script; and
testing the software application by invoking the stored function, wherein the stored function performs the regressive test without the external GUI map.

### Claim 11 (depends on 10)

The computer-readable medium as recited in claim 10 wherein said regression test script is data-driven.

### Claim 12 (depends on 11)

The computer-readable medium as recited at claim 11 wherein said method further comprises assigning a command to connect said regression test script to adata table.

### Claim 13 (depends on 12)

The computer-readable medium as recited in claim 12 wherein said method further comprises designating said command as a global command.

### Claim 14 (depends on 13)

The computer-readable medium as recited in claim 13 wherein said method further comprises reloading said command for making said command available in a public library.

### Claim 15

The computer-readable medium as recited inclaim 10 wherein said method further comprises:
declaring said variable name in said regression test script.

### Claim 16 (depends on 10)

The computer-readable medium as recited in claim 10 wherein said method further comprises naming said regression test script.

### Claim 17 (depends on 10)

The computer-readable medium as recited in claim 10 wherein said regression test script is written in Test Script Language (TSL).

### Claim 18 (depends on 10)

The computer-readable medium as recited in claim 10 wherein regression test script is recorded according to said automated testing tool.

### Claim 19

A method of converting a data-driven regression test script of an automated testing tool into a data-driven function, said method comprising:
receiving said data-driven regression test script comprising at least one object,wherein said object describes at least one action initiated by said regression test script to test a software application;
inserting a physical description related to said object into said data-driven regression test script, said physical description copied from an external GUI map;
assigning a variable name to said physical description;
declaring said variable name in said data-driven regression test script;
assigning a command to connect said data-driven regression test script to a datatable comprising data used by said data-driven regression test script in testing said software application;
compiling said data-driven regression test script comprising said object and said physical description to generate said data-driven function;
storing said data-driven function in a centralized library accessible by a pluralityof users allowing said data-driven function to be shared between different regression tests andreused for said subsequent regression test; and
testing the software application by executing the stored data-driven function, wherein the stored data-driven function performs the regressive test without the external GUI map.

### Claim 20 (depends on 19)

The method as recited in claim 19 further comprising designating said command as a global command.

### Claim 21 (depends on 20)

The method as recited in claim 20 further comprising reloading said command for making said command available in a public library.

### Claim 22 (depends on 19)

The method as recited in claim 19 further comprising naming said data-driven regression test script.

### Claim 23 (depends on 19)

The method as recited in claim 19 wherein said data-driven regression test script is written in Test Script Language (TSL).

### Claim 24 (depends on 19)

The method as recited in claim 19 wherein said data-driven regression test script is recorded according to said automated testing tool.

### Claim 25

A system for converting a regression test script of an automated testing tool into a function, said system comprising:
means for receiving said regression test script comprising at least one object, wherein said object describes at least one action initiated by said regression test script to test a software application;
means for inserting a physical description related to said object into said regression test script, said physical description copied from an external GUI map;
means for assigning a variable name to said physical description;
means for compiling said regression test script comprising said object and said physical description to generate said function such that a regression test is subsequently performed according to said regression test script by invoking said function and does not require the external GUI map;
means for storing said function in a centralized library accessible by a plurality of users allowing said function to be shared between different regression tests and reused for said subsequent regression test, wherein the function comprises the regression test script and is executed to implement the regression test script; and
means for testing the software application by invoking the stored function, wherein the stored function performs the regressive test without the external GUI map.

### Claim 26 (depends on 25)

The system as recited in claim 25 wherein said regression test script is data-driven.
