IP Library Granted Patent US 11,748,243
Granted Patent B2
US 11,748,243 · App. 17/302,210 · Granted Sep 5, 2023

Intelligent generation of page objects for user interface testing

Inventors: Charles Finkelstein (Woodinville, WA); Trevor James Bliss (Alameda, CA)
Assignee: Salesforce, Inc.
G06F11/3688G06F11/3684G06F16/986G06N3/08
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,748,243
App. No.
17/302,210
Granted
Sep 5, 2023
Kind
B2
Abstract

Systems and methods for performing user interface (UI) test automation may include receiving a document object model (DOM) associated with a web application, the web application having one or more web pages; generating a generic object representation of the web application based on the DOM using a page object model; generating a page object based on the generic page object representation in a first programing language; and storing the page object in the first programming language in a database to be accessed by test scripts associated with a UI test automation of the web application.

Claims (36)

1. A system for performing user interface (UI) test automation, the system comprising:

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

obtaining a document object model (DOM) associated with a web application, the web application including one or more web pages;

generating a generic page object representation based at least on the DOM, the generic page object representation associated with a web page of the web application, the generic page object representation generated using a data interchange format;

generating, by a plurality of instances of a page object compiler, a plurality of page objects based on the generic page object representation in different programming languages, the page objects associated with the web page of the web application; and

performing the UT test automation for the web application with test scripts generated using at least the page objects in the different programming languages.

2. The system of claim 1 , wherein the generic page object representation is agnostic to any programming language.

3. The system of claim 2 , wherein the generic page object representation is generated based on a page object model.

4. The system of claim 3 , wherein the generic page object representation is generated based on prior generation of a plurality of page object representations.

5. The system of claim 4 , wherein the generic page object representation is generated by a neural network trained using at least the prior generation of the plurality of page object representations.

6. The system of claim 5 , further comprising:

storing the page objects in the different programming languages in a database to be accessed by the test scripts.

7. The system of claim 6 , wherein the data interchange format is JavaScript Object Notation (JSON), and wherein a first page object is generated by a first instance of a page object compiler and a second page object is generated by a second instance of the page object compiler.

8. A computer-implemented method comprising:

obtaining, by a server computing system, a document object model (DOM) associated with a web application, the web application including one or more web pages;

generating, by the server computing system, a generic page object representation based at least on the DOM, the generic page object representation associated with a web page of the web application, the generic page object representation generated using a data interchange format;

generating, by a plurality of instances of a page object compiler, plurality of page objects based on the generic page object representation in different programming languages, the page objects associated with the web page of the web application; and

performing, by the server computing system, UT test automation for the web application with test scripts generated using at least the page objects in the different programming languages.

9. The method of claim 8 , wherein the generic page object representation is agnostic to any programming language.

10. The method of claim 9 , wherein the generic page object representation is generated based on a page object model.

11. The method of claim 10 , wherein the generic page object representation is generated based on prior generation of a plurality of page object representations.

12. The method of claim 11 , wherein the generic page object representation is generated by a neural network trained using at least the prior generation of the plurality of page object representations.

13. The method of claim 12 , further comprising:

storing the page objects in the different programming languages in a database to be accessed by the test scripts.

14. The method of claim 13 , wherein the data interchange format is JavaScript Object Notation (JSON), and wherein a first page object is generated by a first instance of a page object compiler and a second page object is generated by a second instance of the page object compiler.

15. A computer program product for performing user interface (UI) test automation 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:

obtain a document object model (DOM) associated with a web application, the web application including one or more web pages;

generate a generic page object representation based at least on the DOM, the generic page object representation associated with a web page of the web application, the generic page object representation generated using a data interchange format;

generate, by a plurality of instances of a page object compiler, a plurality of page objects based on the generic page object representation in different programming languages, the page objects associated with the web page of the web application; and

perform UI test automation for the web application with test scripts generated using at least the page objects in the different programming languages.

16. The computer program product of claim 15 , wherein the generic page object representation is agnostic to any programming language.

17. The computer program product of claim 16 , wherein the generic page object representation is generated based on a page object model.

18. The computer program product of claim 17 , wherein the generic page object representation is generated based on prior generation of a plurality of page object representations.

19. The computer program product of claim 18 , wherein the generic page object representation is generated by a neural network trained using at least the prior generation of the plurality of page object representations.

20. The computer program product of claim 19 , further comprising instructions to:

store the page objects in the different programming languages in a database to be accessed by the test scripts.

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 1, 2021
From: FINKELSTEIN, CHARLES; BLISS, TREVOR JAMES
To: SALESFORCE.COM, INC
Reel/Frame 056738/0975 →
Continuity (1)
Related Publication 20220365872A1 · Nov 17, 2022
Cited By (4)
US 12,236,216 US 12,450,505 US 12,468,513 US 12,651,033