Programming assistance to identify suboptimal performing code and suggesting alternatives
First Claim
Patent Images
1. A method for improved testing of a web user interface where each page and point of interaction in the web user interface is represented by a Page Object, the method comprising:
- responsive to a processor receiving code to navigate a path from a first Page Object to a second Page Object in the web user interface, identifying a slow path between the first Page Object and the second Page Object that meets or exceeds a threshold and identifying a second path between the first Page Object and the second Page Object that does not meet or exceed the threshold;
responsive to identifying the slow path, execute a process for marking the slow path and replacing the slow path with the second path; and
navigating the path from the first Page Object to the second Page Object in the web user interface using the second path in order to test the web user interface.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus, and computer program product to improve testing of web interfaces where each page and point of interaction in the web interfaces are represented by Page Objects. Responsive to a processor receiving code to navigate a path from a first Page Object to a second Page Object in the user interface, the path is identified as a slow path. Responsive to identifying the path as a slow path, a marker is displayed with the code.
-
Citations
19 Claims
-
1. A method for improved testing of a web user interface where each page and point of interaction in the web user interface is represented by a Page Object, the method comprising:
-
responsive to a processor receiving code to navigate a path from a first Page Object to a second Page Object in the web user interface, identifying a slow path between the first Page Object and the second Page Object that meets or exceeds a threshold and identifying a second path between the first Page Object and the second Page Object that does not meet or exceed the threshold; responsive to identifying the slow path, execute a process for marking the slow path and replacing the slow path with the second path; and navigating the path from the first Page Object to the second Page Object in the web user interface using the second path in order to test the web user interface. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system for improved testing of a web user interface where each page and point of interaction in the web user interface is represented by a Page Object, the computer system comprising:
-
a bus system; a storage device connected to the bus system, wherein the storage device stores program instructions; a processor connected to the bus system, wherein a processor executes the program instructions to; responsive to the processor receiving code to navigate a path from a first Page Object to a second Page Object in the web user interface, identify a slow path between the first Page Object and the second Page Object that meets or exceeds a threshold and identifying a second path between the first Page Object and the second Page Object that does not meet or exceed the threshold; responsive to identifying the slow path, execute a process for marking the slow path and replacing the slow path with the second path; and navigating the path from the first Page Object to the second Page Object in the web user interface using the second path in order to test the web user interface. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for improved testing of a web user interface where each page and point of interaction in the web user interface is represented by a Page Object, the computer program product comprising a computer-readable storage medium having program instructions executable by a computer to cause the computer to perform a method comprising:
-
responsive to a processor receiving code to navigate a path from a first Page Object to a second Page Object in the web user interface, identifying a slow path between the first Page Object and the second Page Object that meets or exceeds a threshold and identifying a second path between the first Page Object and the second Page Object that does not meet or exceed the threshold; responsive to identifying the slow path, execute a process for marking the slow path and replacing the slow path with the second path; and navigating the path from the first Page Object to the second Page Object in the web user interface using the second path in order to test the web user interface. - View Dependent Claims (16, 17, 18, 19)
-
Specification