Regression testing of responsive user interfaces
AssigneeInternational Business Machines Corporation
InventorSantosh Werghis
Life of this patent
Estimating the term…
Abstract
A system, method and program product are provided for testing responsive user interface logic within an application. A method is disclosed that includes: executing the application on a computing system, wherein the application includes an agent injected therein that can interact with the application and communicate with a test platform external to the application; triggering the agent to load a set of configuration parameters for a selected display system; capturing, within the agent, display attributes of an associated graphical display interface generated by the application for the selected display system; and comparing the display attributes of the associated graphical display interface with desired display attributes of the associated graphical display interface.
Claims20
A method for testing an application that utilizes responsive user interface logic to generate alternative graphical display interfaces for different display systems, comprising:
- executing the application on a computing system, wherein the application includes an agent injected therein that can interact with the application and communicate with a test platform external to the application;
- triggering the agent to load a set of configuration parameters for a selected display system;
- capturing, within the agent, display attributes of an associated graphical display interface generated by the application for the selected display system;
- and
- comparing the display attributes of the associated graphical display interface with desired display attributes of the associated graphical display interface.
A system for testing an application, wherein the application utilizes responsive user interface logic to generate alternative graphical display interfaces for different display systems, comprising:
- an agent configured to be injected into the application and logically interact with the application as the application is being executed on a computing system;
- a test platform that is external to the application, wherein the test platform communicates with the agent and triggers the agent to load a set of configuration parameters in the application for a selected display system and capture display attributes of a graphical display interface generated by the application for the selected display system;
- and
- a comparison system that compares the display attributes of the graphical display interface with desired display attributes of the graphical display interface.
A computer program product stored on computer readable storage medium, which when injected into an application and executed by a processor, provides an agent to facilitate testing of responsive user interface logic implemented by the application, comprising:
- program code that can functionally interact with the application as the application is being executed on a computing system;
- program code for receiving test instructions from a test platform that is external to the application, wherein the test instructions trigger the agent to load a set of configuration parameters in the application for a selected display system;
- program code for capturing display attributes of a graphical display interface generated by the application for the selected display system.
Dependencies are inferred from the claim text.