# US 12,182,007 B2 · Method for testing application

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

- Number: US 12,182,007 B2
- Document ID: US12182007B2
- Status: Granted
- Kind: B2
- Application number: 18/013,521
- Filed: 2022-06-01
- Published: 2024-03-28
- Granted: 2024-12-31
- Earliest claimed: 2021-12-23
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science Technology Co., Ltd.
- Inventors: Cong Tian; Yumin Tang
- Web page: https://patentgrep.com/patent/US12182007B2

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 8/61: Installation
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06Q 10/40: Business processes related to social networking or social networking services
- G06Q 30/0251: Targeted advertisements
- G06Q 30/0631: {Recommending goods or services}
- H04L 67/125: involving control of end-device applications over a network
- H04L 67/535: {Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34)}
- G06F 11/3692: {for test results analysis}
- G06F 11/3696: {Methods or tools to render software testable}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present application discloses a test method and apparatus for an application, an electronic device, and a storage medium, relates to the field of test technologies, and may be applied to the fields of artificial intelligence and big data technologies. A specific solution includes: obtaining, from a target APP, a first recommended item for being selected, where the target APP is an APP of interest to a target user; triggering the target APP to open a first sub-page corresponding to the first recommended item for being selected when the first recommended item for being selected matches target information of interest, where the target information of interest is information of interest to the target user; and determining a test result for the target APP based on a matching degree between a first target recommended item and the target information of interest, where the first target recommended item includes a recommended item generated by the target APP after the first sub-page is opened on the target APP. According to the technical solutions of the present disclosure, the use of an app by a user may be simulated, so that a recommendation effect of the app is automatically tested.

## Claims

### Claim 1

A method for testing an application, comprising:
obtaining, from a target application, a first recommended item for being selected, wherein the target application is an application of interest to a target user;
in response to the first recommended item for being selected matching target information of interest, triggering the target application to open a first sub-page corresponding to the first recommended item for being selected, wherein the target information of interest is information of interest to the target user; and
determining a test result for the target application based on a matching degree between a first target recommended item and the target information of interest, wherein the first target recommended item includes a first recommended item generated by the target application after the first sub-page is opened on the target application.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
triggering a terminal to be installed with the target application; and
triggering, according to a first preset time condition, the terminal to open the target application.

### Claim 3 (depends on 1)

The method according to claim 1, wherein after triggering the target application to open the first sub-page corresponding to the first recommended item for being selected, the method further comprises:
triggering the target application to perform a specified operation on the first sub-page,
wherein the first target recommended item further includes a recommended item generated by the target application after the specified operation is performed by the target application.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
obtaining, from an associated application, a second recommended item for being selected, wherein the associated application is an application associated with the target application; and
in response to the second recommended item for being selected matching the target information of interest, triggering the associated application to open a second sub-page corresponding to the second recommended item for being selected,
wherein the first target recommended item further includes a second recommended item generated by the target application after the second sub-page is opened on the associated application.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
triggering a terminal to be installed with the associated application; and
triggering, according to a second preset time condition, the terminal to open the associated application.

### Claim 6 (depends on 4)

The method according to claim 4, further comprising:
obtaining query information from the associated application;
triggering the target application to search for the query information; and
determining a test result for the target application based on a matching degree between a second target recommended item and the query information, wherein the second target recommended item includes a third recommended item generated by the target application after the query information is searched for on the target application.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
determining the target user from preset user models, wherein the preset user models include applications of interest and information of interest corresponding to a plurality of users with different attributes, respectively; and
determining, from the preset user models, the target application and target information of interest corresponding to the target user.

### Claim 8

An electronic device, comprising:
one or more processors;
a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs comprises instructions for:
obtaining, from a target application, a first recommended item for being selected, wherein the target application is an application of interest to a target user;
in response to the first recommended item for being selected matching target information of interest, triggering the target application to open a first sub-page corresponding to the first recommended item for being selected, wherein the target information of interest is information of interest to the target user; and
determining a test result for the target application based on a matching degree between a first target recommended item and the target information of interest, wherein the first target recommended item includes a first recommended item generated by the target application after the first sub-page is opened on the target application.

### Claim 9 (depends on 8)

The electronic device according to claim 8, wherein the one or more programs further comprises instructions for:
triggering a terminal to be installed with the target application; and
triggering, according to a first preset time condition, the terminal to open the target application.

### Claim 10 (depends on 8)

The electronic device according to claim 8, wherein the one or more programs further comprises instructions for:
triggering the target application to perform a specified operation on the first sub-page after triggering the target application to open the first sub-page corresponding to the first recommended item for being selected,
wherein the first target recommended item further includes a recommended item generated by the target application after the specified operation is performed by the target application.

### Claim 11 (depends on 8)

The electronic device according to claim 8, wherein the one or more programs further comprises instructions for:
obtaining, from an associated application, a second recommended item for being selected, wherein the associated application is an application associated with the target application; and
in response to the second recommended item for being selected matching the target information of interest, triggering the associated application to open a second sub-page corresponding to the second recommended item for being selected,
wherein the first target recommended item further includes a second recommended item generated by the target application after the second sub-page is opened on the associated application.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein the one or more programs further comprises instructions for:
triggering a terminal to be installed with the associated application; and
triggering, according to a second preset time condition, the terminal to open the associated application.

### Claim 13 (depends on 11)

The electronic device according to claim 11, wherein the one or more programs further comprises instructions for:
obtaining query information from the associated application;
triggering the target application to search for the query information; and
determining a test result for the target application based on a matching degree between a second target recommended item and the query information, wherein the second target recommended item includes a third recommended item generated by the target application after the query information is searched for on the target application.

### Claim 14 (depends on 8)

The electronic device according to claim 8, wherein the one or more programs further comprises instructions for:
determining the target user from preset user models, wherein the preset user models include applications of interest and information of interest corresponding to a plurality of users with different attributes, respectively; and
determining, from the preset user models, the target application and target information of interest corresponding to the target user.

### Claim 15

A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the electronic device to:
obtaining, from a target application, a first recommended item for being selected, wherein the target application is an application of interest to a target user;
in response to the first recommended item for being selected matching target information of interest, triggering the target application to open a first sub-page corresponding to the first recommended item for being selected, wherein the target information of interest is information of interest to the target user; and
determining a test result for the target application based on a matching degree between a first target recommended item and the target information of interest, wherein the first target recommended item includes a first recommended item generated by the target application after the first sub-page is opened on the target application.
