Self-healing is the technique or tool which makes the Automation scripts enough capable so that script can fix the issues itself if any failure occurs, due to Object or Web element description changes, during run time.
It applies Artificial Intelligence & Machine Learning algorithm internally to updates the Object Repository if any discrepancy found in already stored Object's description in the repository so that Script should run smoothly without any failure.
Below is the diagram which shows the difference between present & traditional way of identifying an Object.
When a script fails, manual object identification maintenance can take up to 15 minutes per occurrence. A script fails when object properties change, and an automation engineer must stop developing new scripts to troubleshoot and fix the broken one. The team manually inspects or spies the object to see the new property value or find new properties to use, then updates the script or object repository accordingly and reruns the script.
Suppose if there is one application deployment per week and we encounter around 35 object changes (which varies greatly based on application maturity, development methodology, size of project, etc.). At 15 minutes per manual fix, the result is more than one person’s full workday i.e. 8.75 hours & spent per week on basic automation maintenance.
Self-healing employs data analytics to identify objects in a script even after they have changed. Self-healing approach introduces a higher level of intelligence and analysis.
When your script fails due to being unable to find the object it expected, the self-healing mechanism provides a fuller understanding and analysis of options. Rather than shutting down the process, it examines objects holistically, evaluates attributes and properties of all available objects and uses a weighted scoring system to select the one most similar to the one previously used. Self-healing can scrape, evaluate and choose among 10 objects in less than 0.05 seconds. Stop and-go syndrome is effectively cured.
The self-healing difference can be fully realized as it:
• Changes the mindset regarding automation approaches
• Allows automation efforts to start earlier as fears of maintenance subside
• Automates the maintenance process itself in real time
• Improves or preserves the return on investment
I will keep adding more automation concepts in my upcoming posts. Please keep me posted if you have any questions and concerns.
Best of Luck.
No comments:
Post a Comment