IP Library Granted Patent US 11,636,025
Granted Patent B2
US 11,636,025 · App. 17/304,499 · Granted Apr 25, 2023

Intelligent generation of automated user interface testing methods

Inventors: Georg Neumann (Inzell, DE); Edward Geeslin (San Francisco, CA); Charles Finkelstein (Woodinville, WA)
Assignee: Salesforce, Inc.
G06F11/3684G06F8/41G06F11/3664G06F11/3688G06N20/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,636,025
App. No.
17/304,499
Granted
Apr 25, 2023
Kind
B2
Abstract

Systems and methods for recommending test scripts may include identifying a plurality of test scripts associated with a web application, each of the test scripts associated with a set of page objects from a plurality of page objects of the web application, wherein a set of page objects to be tested by a test script is associated with a set of page object characteristics; generating a plurality of groupings of test scripts from the plurality of test scripts based on page objects with similar sets of page object characteristics; receiving a request for a first test script to test a first set of page objects, the request including a first set of page object characteristics associated with the first test script; and identifying the first test script from the plurality of groupings of test scripts based on the first set of page objects and the first set of page object characteristics.

Claims (43)

1. A system for recommending test scripts used to test a web application, the system comprising:

one or more hardware processors of a server computing system; and

a database system implemented using the server computing system, the database system configurable to cause:

identifying a plurality of test scripts associated with a web application, each of the test scripts associated with a set of page objects from a plurality of page objects of the web application, wherein a set of page objects to be tested by a test script is associated with a set of page object characteristics;

generating a plurality of groupings of test scripts from the plurality of test scripts based on test scripts that are associated with sets of page objects with similar sets of page object characteristics;

receiving a request for a first test script from a client computing system coupled with the server computing system, the first test script to test a first set of page objects from the plurality of page objects of the web application, the request including a first set of page object characteristics associated with the first test script;

identifying the first test script from the plurality of groupings of test scripts based on the first set of page objects and the first set of page object characteristics; and

transmitting the first test script to the client computing system to enable testing the web application using the first set of page objects with the first set of page object characteristics.

2. The system of claim 1 , wherein the first set of page object characteristics include information about customization of one or more page objects in the first set of page objects.

3. The system of claim 2 , wherein the first set of page object characteristics include information about usage pattern of the page objects in the first set of page objects.

4. The system of claim 3 , wherein the first set of page object characteristics include information about test sequences of the page objects in the first set of page objects.

5. The system of claim 4 , wherein the identifying of the first test script from the plurality of groupings of test scripts based on the first set of page objects and the first set of page object characteristics comprises:

determining that the page objects included in the first set of page objects is similar with page objects that the first test script is associated with; and

determining that the first set of page object characteristics is similar with page object characteristics that the first test script is associated with.

6. The system of claim 5 , wherein the plurality of groupings of test scripts is used as training data to train identifying the first test script using a machine learning model, and wherein the identifying of the first test script from the plurality of groupings of test scripts is performed based on the first set of page objects and the first set of page object characteristics.

7. The system of claim 6 , wherein each of the plurality of page objects of the web application is generated using a page object compiler.

8. A computer-implemented method comprising:

identifying a plurality of test scripts associated with a web application, each of the test scripts associated with a set of page objects from a plurality of page objects of the web application, wherein a set of page objects to be tested by a test script is associated with a set of page object characteristics;

generating a plurality of groupings of test scripts from the plurality of test scripts based on test scripts that are associated with sets of page objects with similar sets of page object characteristics;

receiving a request for a first test script from a client computing system coupled with the server computing system, the first test script to test a first set of page objects from the plurality of page objects of the web application, the request including a first set of page object characteristics associated with the first test script;

identifying the first test script from the plurality of groupings of test scripts based on the first set of page objects and the first set of page object characteristics; and

transmitting the first test script to the client computing system to enable testing the web application using the first set of page objects with the first set of page object characteristics.

9. The method of claim 8 , wherein the first set of page object characteristics include information about customization of one or more page objects in the first set of page objects.

10. The method of claim 9 , wherein the first set of page object characteristics include information about usage pattern of the page objects in the first set of page objects.

11. The method of claim 10 , wherein the first set of page object characteristics include information about test sequences of the page objects in the first set of page objects.

12. The method of claim 11 , wherein the identifying of the first test script from the plurality of groupings of test scripts based on the first set of page objects and the first set of page object characteristics comprises:

determining that the page objects included in the first set of page objects is similar with page objects that the first test script is associated with; and

determining that the first set of page object characteristics is similar with page object characteristics that the first test script is associated with.

13. The method of claim 12 , wherein the plurality of groupings of test scripts is used as training data to train identifying the first test script using a machine learning model, and wherein the identifying of the first test script from the plurality of groupings of test scripts is performed based on the first set of page objects and the first set of page object characteristics.

14. The method of claim 13 , wherein each of the plurality of page objects of the web application is generated using a page object compiler.

15. A computer program product for identifying test scripts used recommend a test script to test web application comprising computer-readable program code to be executed by one or more processors when retrieved from a non-transitory computer-readable medium, the program code including instructions to:

identify a plurality of test scripts associated with a web application, each of the test scripts associated with a set of page objects from a plurality of page objects of the web application, wherein a set of page objects to be tested by a test script is associated with a set of page object characteristics;

generate a plurality of groupings of test scripts from the plurality of test scripts based on test scripts that are associated with sets of page objects with similar sets of page object characteristics;

receive a request for a first test script from a client computing system coupled with the server computing system, the first test script to test a first set of page objects from the plurality of page objects of the web application, the request including a first set of page object characteristics associated with the first test script;

identify the first test script from the plurality of groupings of test scripts based on the first set of page objects and the first set of page object characteristics; and

transmit the first test script to the client computing system to enable testing the web application using the first set of page objects with the first set of page object characteristics.

16. The computer program product of claim 15 , wherein the first set of page object characteristics include information about customization of one or more page objects in the first set of page objects.

17. The computer program product of claim 16 , wherein the first set of page object characteristics include information about usage pattern of the page objects in the first set of page objects.

18. The computer program product of claim 17 , wherein the first set of page object characteristics include information about test sequences of the page objects in the first set of page objects.

19. The computer program product of claim 18 , wherein the identifying of the first test script from the plurality of groupings of test scripts based on the first set of page objects and the first set of page object characteristics comprises:

determining that the page objects included in the first set of page objects is similar with page objects that the first test script is associated with; and

determining that the first set of page object characteristics is similar with page object characteristics that the first test script is associated with.

20. The computer program product of claim 19 , wherein the plurality of groupings of test scripts is used as training data to train identifying the first test script using a machine learning model, and wherein the identifying of the first test script from the plurality of groupings of test scripts is performed based on the first set of page objects and the first set of page object characteristics.

Assignments (2)
CHANGE OF NAME Recorded Dec 18, 2024
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 069717/0529 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 30, 2021
From: NEUMANN, GEORG; GEESLIN, EDWARD; FINKELSTEIN, CHARLES
To: SALESFORCE.COM, INC
Reel/Frame 057033/0436 →
Continuity (2)
Continuation In Part 17302210 · Apr 27, 2021
Related Publication 20220365870A1 · Nov 17, 2022
Cited By (1)
US 12,554,627