Abstract: A technique is provided for automatically updating automation sequences. The technique includes automatically identifying a difference between a current image of a screen of a graphical user interface (GUI) application and a baseline image of the screen of the GUI application, based on one or more image comparison techniques. Each of the current image and the baseline image include one or more fields. The technique further includes determining a change in one or more fields of the current image and the one or more corresponding fields of the baseline image, based on the identified difference. The change is based on one or more similarity scores. The technique further includes updating one or more automation sequences based on the determined change. FIG.1
Claims:WE CLAIM:
1. A method for automatically updating automation sequences, the method comprising:
automatically identifying, by a version change identifier module, a difference between a current image of a screen of a graphical user interface (GUI) application and a baseline image of the screen of the GUI application, based on one or more image comparison techniques, wherein each of the current image and the baseline image comprise one or more fields;
determining, by a field correlation module, a change in the one or more fields of the current image and the one or more corresponding fields of the baseline image, based on the identified difference, wherein the change is based on one or more similarity scores; and
updating, by a field updating module, one or more automation sequences based on the determined change.
2. The method of claim 1, wherein the automatic identification is performed upon a detection of a change of a version of the GUI application.
3. The method of claim 1, wherein the baseline image is generated based on:
processing a unique screen of the GUI application to extract one or more fields from the unique screen, and
storing data associated with the extracted one or more fields in a database.
4. The method of claim 3, wherein the change is determined based on correlating data associated with the one or more fields of the current image and the stored data associated with the one or more fields of the baseline image.
5. The method of claim 1, wherein the change corresponds to at least one of: a change in a resolution of the screen of the GUI application, an addition of one or more fields to the screen of the GUI application, a deletion of one or more fields from the screen of the GUI application, a change in a spatial arrangement of one or more fields of the screen of the GUI application, a semantic change of one or more fields of the screen of the GUI application.
6. The method of claim 1, wherein the one or more automation sequences comprise at least: a set of actions performed on one or more fields of the GUI application, a set of pre-conditions of the one or more fields on which the one or more actions are performed, a set of post-conditions of the GUI application after the one or more actions are performed.
7. The method of claim 1, wherein the one or more automation sequences are pre-recorded.
8. The method of claim 1, wherein the updation of the one or more automation sequences is performed based on a comparison of at least one of the one or more similarity scores with a pre-defined similarity threshold.
9. The method of claim 1, wherein the one or more similarity scores comprise at least a spatial similarity score and a semantic similarity score.
10. The method of claim 1, further comprising recommending, to a user, one or more updates corresponding to the one or more automation sequences, based on the determined change.
11. The method of claim 10, further comprising performing machine learning on the feedback provided by the user corresponding to the recommendations.
12. A system for automatically updating automation sequences, the system comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores the processor-executable instructions, which, on execution, causes the processor to:
automatically identify a difference between a current image of a screen of a graphical user interface (GUI) application and a baseline image of a screen of the GUI application, based on one or more image comparison techniques, wherein each of the current image and the baseline image comprise one or more fields;
determine a change in the one or more fields of the current image and the one or more corresponding fields of the baseline image, based on the identified difference, wherein the change is based on one or more similarity scores; and
update one or more automation sequences based on the determined change.
13. The system of claim 12, wherein the processor is configured to perform automatic identification upon detection of a change of a version of the GUI application.
14. The system of claim 12, wherein the processor is configured to generate baseline image based on:
processing a unique screen of the GUI application to extract one or more fields from the unique screen, and
storing data associated with the extracted one or more fields in a database.
15. The system of claim 14, wherein the processor is configured to determine the change based on correlating data associated with the one or more fields of the current image and the stored data associated with the one or more fields of the baseline image.
16. The system of claim 12, wherein the processor is configured to update the one or more automation sequences based on a comparison of at least one of the one or more similarity scores with a pre-defined similarity threshold.
17. The system of claim 12, wherein the one or more similarity scores comprise at least a spatial similarity score and a semantic similarity score.
18. The system of claim 12, wherein the processor is further configured to recommend, to a user, one or more updates corresponding to the one or more automation sequences, based on the determined change.
19. The system of claim 18, wherein the processor is further configured to perform machine learning on the feedback provided by the user corresponding to the recommendations.
Dated this 12th day of December, 2016
R RAMYA RAO
OF K&S PARTNERS
AGENT FOR THE APPLICANT
, Description:TECHNICAL FIELD
This disclosure relates generally to automation sequences, and more particularly to system and method for automatically updating automation sequences.