System, method, and computer program for generating a context visualization during test automation
AssigneeAmdocs Development Limited
InventorsAlon Japheth Comay, Vladimir Tkach, Itai Farber
Life of this patent
Estimating the term…
Abstract
As described herein, a system, method, and computer program are provided for generating a context visualization during test automation. In use, during automated testing of a user interface application, an inspection of an element within a user interface of the user interface application is detected. Additionally, in response to detecting the inspection of the element, a visualization of the element within the user interface is generated. Further, the visualization of the element within the user interface is presented with information associated with the inspection of the element.
Claims13
A non-transitory computer-readable media storing computer instructions which when executed by one or more processors of a device cause the device to:
- detect each input element within a user interface of a user interface application that is being tested during automated testing of the user interface application by a test automation tool, wherein the testing of each input element is performed to verify a correct operation of the input element or a correct functionality of the user interface application in association with the input element;
- for each input element detected as being tested during the automated testing:
- (a) capture information associated with the testing of the input element, wherein the information indicates an event triggered on the input element during the testing of the input element;
- (b) element, generate a visualization of the input element within the user interface by:
- capturing a screenshot of the input element within the user interface,
- highlighting the input element within the visualization to distinguish the input element from other elements in the user interface, and
- including in the visualization the information associated with the testing of the input element;
- (c) log, in a log of the test automation tool, the visualization of the input element within the user interface;
- after the testing of the user interface application, present a visualization of a flow of the testing including, for each input element detected as being tested during the automated testing:
- (a) receive a request associated with the input element within the user interface;
- (b) retrieve, from the log, the visualization of the input element within the user interface;
- (c) after retrieving the visualization of the input element within the user interface from the log, present the visualization of the input element within the user interface.
A method, comprising:
- at a computer system:
- detecting each input element within a user interface of a user interface application that is being tested during automated testing of the user interface application by a test automation tool, wherein the testing of each input element is performed to verify a correct operation of the input element or a correct functionality of the user interface application in association with the input element;
- for each input element detected as being tested during the automated testing:
- (a) capturing information associated with the testing of the input element, wherein the information indicates an event triggered on the input element during the testing of the input element;
- (b) generating a visualization of the input element within the user interface by:
- capturing a screenshot of the input element within the user interface,
- highlighting the input element within the visualization to distinguish the input element from other elements in the user interface, and
- including in the visualization the information associated with the testing of the input element;
- (c) logging, in a log of the test automation tool, the visualization of the input element within the user interface;
- after the testing of the user interface application, presenting a visualization of a flow of the testing including, for each input element detected as being tested during the automated testing:
- (a) receiving a request associated with the input element within the user interface;
- (b) retrieving, from the log, the visualization of the input element within the user interface;
- (c) after retrieving the visualization of the input element within the user interface from the log, presenting the visualization of the input element within the user interface.
A system, comprising:
- a non-transitory memory storing instructions;
- and
- one or more processors in communication with the non-transitory memory that execute the instructions to:
- detect each input element within a user interface of a user interface application that is being tested during automated testing of the user interface application by a test automation tool, wherein the testing of each input element is performed to verify a correct operation of the input element or a correct functionality of the user interface application in association with the input element;
- for each input element detected as being tested during the automated testing:
- (a) capture information associated with the testing of the input element, wherein the information indicates an event triggered on the input element during the testing of the input element;
- (b) generate a visualization of the input element within the user interface by:
- capturing a screenshot of the input element within the user interface,
- highlighting the input element within the visualization to distinguish the input element from other elements in the user interface, and
- including in the visualization the information associated with the testing of the input element;
- (c) log, in a log of the test automation tool, the visualization of the input element within the user interface;
- after the testing of the user interface application, present a visualization of a flow of the testing including, for each input element detected as being tested during the automated testing:
- (a) receive a request associated with the input element within the user interface;
- (b) retrieve, from the log, the visualization of the input element within the user interface;
- (c) after retrieving the visualization of the input element within the user interface from the log, present the visualization of the input element within the user interface.
Dependencies are inferred from the claim text.