There are some moments when I do feel like we are living in the future.

A future where Artificial Intelligence and Machine Learning are helping us solve our daily problems.

I've had one of those moments a few days ago, when I discovered that Endtest has introduced Self-Healing Automated Tests.

But how does it work?

According to their FAQ:

Whenever you run a test, our platform learns more about your application.

If an element from your application is changed and the test gets broken, our engine will automatically fix the broken steps by updating the locators.

Fascinating.

It appears that their technology is using some sort of Machine Learning.

This means that we won't have to consume our precious time with maintaining our tests.

I have already tried out this functionality. Here's how I did it:

I changed the ID for one of the inputs in my application. I ran the test with the Self-Healing mode ON. The test detected the change and updated the locator from my test.

Brilliant.