# US 2021/0279167 A1 · Automated videogame testing

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

- Number: US 2021/0279167 A1
- Document ID: US20210279167A1
- Status: Published application
- Kind: A1
- Application number: 17/169,470
- Filed: 2021-02-07
- Published: 2021-09-09
- Earliest claimed: 2020-02-07
- Assignees: Warner Bros. Entertainment Inc.
- Applicants: Warner Bros. Entertainment Inc.
- Inventors: Eldo Jose
- Web page: https://patentgrep.com/patent/US20210279167A1

## 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 8/51: Source to source
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 11/3698: Environments for analysis, debugging or testing of software
- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An automated testing framework and associated tools for executable applications such as games focus on integration testing, wherein users create data-driven tests by using test modules and configuration data as building blocks. The tools facilitate cooperation between coders and non-technical Quality Assurance (QA) staff in creating automated tests, by simplifying the user interface for configuring tests. Components of the tools simulate user interactions with the application under test, for example, gamepad button presses. The tools are also capable skipping portions of gameplay or other interactive activity and directly jumping into a desired game mode during automated testing, and other functions.

## Claims

### Claim 1

A computer-implemented method for automatically testing reaction of an executable application to user inputs, the method comprising:
selecting, by at least one processor in response to first user input, a script file encoding a user input sequence from multiple script files in a computer memory;
identifying, by the at least one processor, at least one test device configured for executing the executable application and communicating with the at least one processor;
generating, by the at least one processor based on the script file, a sequence of commands for processing by the executable application; and
outputting the sequence of commands for delivery to the at least one test device executing the executable application.

### Claim 2 (depends on 1)

The method of claim 1, further comprising instructing a server interposed between the at least one test device and the at least one processor to launch an agent application on the at least one test device, and establishing a connection between the at least one processor and the agent application operating on the at least one test device for outputting the sequence of commands.

### Claim 3 (depends on 1)

The method of claim 1, wherein the selecting further comprises presenting a list of the multiple script files in a user interface and receiving a user selection from the list indicating the script file.

### Claim 4 (depends on 1)

The method of claim 1, wherein the selecting further comprises presenting a list of test devices satisfying one or more criteria in a user interface and receiving a user selection from the list indicating the at least one test device.

### Claim 5 (depends on 1)

The method of claim 1, further comprising, by the at least one processor, performing multiple instances of the method in parallel.

### Claim 6 (depends on 1)

The method of claim 1, further comprising receiving an indication from the at least one test device indicating a status of the executable application after executing the sequence of commands, and outputting the indication.

### Claim 7 (depends on 1)

The method of claim 1, wherein the executable application includes a test module comprising a communication layer that handles communication with the at least one processor, and a game layer that processes the sequence of commands.

### Claim 8 (depends on 7)

The method of claim 7, wherein the communication module of the executable application listens for incoming TCP connection requests generated by the at least one processor.

### Claim 9 (depends on 1)

The method of claim 1, wherein the generating further comprises transcoding the user input sequence from a scripting language to a command language.

### Claim 10 (depends on 9)

The method of claim 9, wherein the scripting language comprises Python and the command language comprises JSON-RPC.

### Claim 11 (depends on 1)

The method of claim 1, wherein the outputting further comprises opening a TCP session with the test device.

### Claim 12

An apparatus for automatically testing reaction of an executable application to user inputs, comprising at least one processor operatively coupled to a computer memory, the memory holding instructions that when executed by the processor, cause the apparatus to perform:
selecting a script file encoding a user input sequence from multiple script files in a computer memory;
identifying at least one test device configured for executing the executable application and communicating with the at least one processor;
generating a sequence of commands for processing by the executable application; and
outputting the sequence of commands for delivery to the at least one test device executing the executable application.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the memory holds further instructions for instructing a server interposed between the at least one test device and the at least one processor to launch an agent application on the at least one test device, and establishing a connection between the at least one processor and the agent application operating on the at least one test device for outputting the sequence of commands.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the memory holds further instructions for communicating with a communication layer of a test module of the executable application, wherein the communication layer handles communication and a game layer of the test module processes the sequence of commands.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the memory holds further instructions for the generating at least in part by transcoding the user input sequence from a scripting language to a command language.

### Claim 16

A system for automatically testing a video game by simulating various inputs provided by a user during game play, the system comprising:
an electronic testing device under the control of a first operating system;
an electronic game play device under the control of a second operating system different from the first operating system; and
an electronic bridge device configured to receive instructions from the electronic testing device and launch an automated test application on the electronic game play device.

### Claim 17 (depends on 16)

The system of claim 16, wherein the electronic bridge device comprises a server interposed between the electronic testing device and the electronic game play device.

### Claim 18 (depends on 16)

The system of claim 16, wherein the electronic testing device instructs the electronic bridge device to launch the automated test application on the electronic game play device.

### Claim 19 (depends on 18)

The system of claim 18, wherein the electronic bridge device establishes a connection between the electronic testing device and the automated test application operating on the electronic game play device for outputting a sequence of commands.

### Claim 20 (depends on 16)

The system of claim 16, wherein the electronic testing device generates the sequence of commands for delivery to the automated test application operating on the electronic game play device.
