# US 2021/0334197 A1 · Browser-based tests for hybrid applications using a launcher plug-in

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

- Number: US 2021/0334197 A1
- Document ID: US20210334197A1
- Status: Published application
- Kind: A1
- Application number: 16/860,195
- Filed: 2020-04-28
- Published: 2021-10-28
- Earliest claimed: 2020-04-28
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Wesley Peter
- Web page: https://patentgrep.com/patent/US20210334197A1

## CPC

- G06F 11/3692: {for test results analysis}
- G06F 9/44526: {Plug-ins; Add-ons}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 16/957: Browsing optimisation, e.g. caching or content distillation
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- 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

The present disclosure is directed to systems and methods for testing a hybrid application. For example a method may include: executing a plug-in on a computing device; in response to the executing the plug-in, generating an emulator for testing a hybrid application, the emulator simulating an operating system of a client device such that, during testing, the hybrid application replicates operations of a browser operating on the client device; installing the hybrid application in the emulator; notifying a server that the hybrid application is ready for testing; executing instructions received from the server for testing the hybrid application; and providing results from testing the hybrid application to the server.

## Claims

### Claim 1

A computer-implemented method, comprising:
executing a plug-in on a computing device;
in response to the executing the plug-in, generating an emulator for testing a hybrid application, the emulator simulating an operating system of a client device such that, during testing, the hybrid application replicates operations of a browser operating on the client device;
installing the hybrid application in the emulator;
notifying a server that the hybrid application is ready for testing;
executing instructions received from the server for testing the hybrid application; and
providing results from testing the hybrid application to the server.

### Claim 2 (depends on 1)

The method of claim 1, further comprising removing the emulator from the computing device after providing the results to the server.

### Claim 3 (depends on 1)

The method of claim 1, wherein the instructions for testing the hybrid application include a web address for testing the hybrid application, and wherein the method further comprises directing the hybrid application to the web address.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the emulator comprises identifying one or more system images provided in a software development kit (SDK) for the operating system of the client device, based on the SDK being installed on the computing device.

### Claim 5 (depends on 4)

The method of claim 4, wherein generating the emulator further comprises receiving a selection of a system image from among the one or more system images, and wherein the emulator is generated based on the selected system image.

### Claim 6 (depends on 4)

The method of claim 4, wherein generating the emulator is based on a default system image from among the one or more system images.

### Claim 7 (depends on 1)

The method of claim 1, wherein the installing the hybrid application in the emulator comprises installing the hybrid application in response to the determining that the emulator is active on the computing device.

### Claim 8 (depends on 1)

The method of claim 1, wherein the notifying the server comprises notifying the server in response to the hybrid application being launched in the emulator.

### Claim 9 (depends on 1)

The method of claim 1, further comprising executing the plug-in in response to receiving instructions to execute the plug-in, wherein the instructions include a file location on the computing device for retrieving the hybrid application.

### Claim 10

A device, comprising:
a memory; and
a processor coupled to the memory and configured to:
execute a plug-in on a the device;
in response to the executing the plug-in, generate an emulator for testing a hybrid application, the emulator simulating an operating system of a client device such that, during testing, the hybrid application replicates operations of a browser operating on the client device;
installing the hybrid application in the emulator;
notify a server that the hybrid application is ready for testing;
execute instructions received from the server for testing the hybrid application; and
provide results from testing the hybrid application to the server.

### Claim 11 (depends on 10)

The device of claim 10, wherein the process is further configured to remove the emulator from the device after providing the results to the server.

### Claim 12 (depends on 10)

The device of claim 10, wherein the instructions for testing the hybrid application include a web address for testing the hybrid application, and wherein the processor is further configured to direct the hybrid application to the web address.

### Claim 13 (depends on 10)

The device of claim 10, wherein, to generate the emulator, the processor is further configured to identify one or more system images provided in a software development kit (SDK) for the operating system of the client device, based on the SDK being installed on the computing device.

### Claim 14 (depends on 13)

The device of claim 13, wherein, to generate the emulator, the processor is further configured to receive a selection of a system image from among the one or more system images, and wherein the emulator is generated based on the selected system image.

### Claim 15 (depends on 13)

The device of claim 13, wherein the emulator is generated based on a default system image from among the one or more system images.

### Claim 16

A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:
executing a plug-in on a computing device;
in response to the executing the plug-in, generating an emulator for testing a hybrid application, the emulator simulating an operating system of a client device such that, during testing, the hybrid application replicates operations of a browser operating on the client device;
installing the hybrid application in the emulator;
notifying a server that the hybrid application is ready for testing;
executing instructions received from the server for testing the hybrid application; and
providing results from testing the hybrid application to the server.

### Claim 17 (depends on 16)

The non-transitory computer-readable device of claim 16, wherein the operations further comprise removing the emulator from the computing device after providing the results to the server.

### Claim 18 (depends on 16)

The non-transitory computer-readable device of claim 16, wherein the instructions for testing the hybrid application include a web address for testing the hybrid application, and wherein the operations further comprise directing the hybrid application to the web address.

### Claim 19 (depends on 16)

The non-transitory computer-readable device of claim 16, wherein the notifying the server comprises notifying the server in response to the hybrid application being launched in the emulator.

### Claim 20 (depends on 16)

The non-transitory computer-readable device of claim 16, wherein the operations further comprise executing the plug-in in response to receiving instructions to execute the plug-in, wherein the instructions include a file location on the computing device for retrieving the hybrid application.
