Split testing associated with detection of user interface (UI) modifications
AssigneeRed Hat Israel, Ltd.
InventorAlissa Bonas
Life of this patent
Estimating the term…
Abstract
An example method of providing a notification includes comparing a first code segment stored in a first page with a second code segment stored in a second page, before deployment of the second page in a production environment. The first page may be deployed in the production environment, and the second page may be a different version of the first page. The method also includes detecting a user interface (UI) modification based on comparing the first code segment with the second code segment. The method further includes providing a notification of the UI modification.
Claims20
A method performed by a computing system, the method comprising:
- deploying a first webpage in a production environment associated with the computing system, wherein the first webpage is part of a web application instance that, while in the production environment, executes on the computing system to provide a first graphical element within a display of a web browser on a client device, the first webpage corresponding to a first code segment;
- receiving a second code segment corresponding to a second webpage, the second code segment, when deployed, providing a second graphical element within the display of the web browser on the client device;
- merging the second webpage into a repository used to build a web application corresponding to the web application instance;
- prior to deployment of the second webpage in the production environment and while the first webpage is in the production environment, automatically comparing the first code segment stored in the first webpage with the second code segment stored in the second webpage;
- automatically detecting a user interface (UI) modification based on comparing the first code segment with the second code segment to determine if text corresponding to the first code segment is different than text corresponding to the second code segment, wherein the UI modification corresponds to a visual differentiation between the first graphical element and the second graphical element within the display of the web browser on the client device;
- in response to detecting the modification, comparing the detected modification to a list of a plurality of disapproved modifications, the list of the plurality of disapproved modifications being predefined by a user;
- wherein when the detected modification is not included on the list of the plurality of disapproved modifications, providing a notification of the detected modification to a split testing engine;
- and
- with the split testing engine, performing split testing on the first graphical element of the first webpage and the second graphical element of the second webpage in response to receiving the notification.
A system for providing a notification, the system comprising:
- a processor;
- and
- a memory comprising machine readable instructions that when executed by the processor, cause the system to:
- deploy a first webpage in a production environment, wherein the first webpage is part of a web application instance that, while in the production environment, executes on the processor to provide a first graphical element within a display of a web browser on a client device, the first webpage corresponding to a first code segment;
- receive a second code segment corresponding to a second webpage, the second code segment, when deployed, providing a second graphical element within the display of the web browser on the client device;
- prior to deployment of the second webpage in the production environment and while the first webpage is in the production environment, automatically compare the first code segment stored in the first webpage with the second code segment stored in the second webpage
- merge the second webpage into a repository used to build a web application corresponding to the web application instance;
- automatically detect a user interface (UI) modification based on comparing the first code segment with the second code segment to determine if text corresponding to the first code segment is different than text corresponding to the second code segment, wherein the UI modification corresponds to a visual differentiation between the first graphical element and the second graphical element within the display of the web browser on the client device;
- in response to detecting the modification, compare the detected modification to a list of a plurality of disapproved modifications, the list of the plurality of disapproved modifications being predefined by a user;
- wherein when the detected modification is not included on the list of the plurality of disapproved modifications, provide a notification of the detected modification to a split testing engine;
- and
- perform split testing on the first graphical element of the first webpage and the second graphical element of the second webpage.
A non-transitory machine-readable medium comprising a plurality of machine-readable instructions that when executed by one or more processors is adapted to cause the one or more processors to perform a method comprising:
- deploying a first webpage in a production environment, wherein the first webpage is part of a web application instance that, while in the production environment, executes on a computing system to provide a first graphical element within a display of a web browser on a client device, the first webpage corresponding to a first code segment;
- receiving a second code segment corresponding to a second webpage, the second code segment, when deployed, providing a second graphical element within the display of the web browser on the client device;
- merging the second webpage into a repository used to build a web application corresponding to the web application instance;
- prior to deployment of the second webpage in the production environment and while the first webpage is in the production environment, automatically comparing the first code segment stored in the first webpage with the second code segment stored in the second webpage;
- automatically detecting a user interface (UI) modification based on comparing the first code segment with the second code segment to determine if text corresponding to the first code segment is different than text corresponding to the second code segment, wherein the UI modification corresponds to a visual differentiation between the first graphical element and the second graphical element within the display of the web browser on the client device;
- in response to detecting the modification, comparing the detected modification to a list of a plurality of disapproved modifications, the list of the plurality of disapproved modifications being predefined by a user;
- wherein when the detected modification is not included on the list of the plurality of disapproved modifications, providing a notification of the detected modification to a split testing engine;
- and
- performing split testing on the first graphical element of the first webpage and the second graphical element of the second webpage.
Dependencies are inferred from the claim text.