DEV Community

Klaus
Klaus

Posted on • Edited on

6 2

We now have Self-Healing Automated Tests

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.

Self-Healing Tests Endtest

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:

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

Brilliant.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →