Skip to main content
Crewman
January 21, 2025

What is your biggest pain point when it comes to automation testing?

  • January 21, 2025
  • 18 replies
  • 841 views

Please do share your biggest challenge or difficulty when it comes to automation testing. It could be anything—tool limitations, script maintenance, lack of resources, learning curve, or any specific issue you face. Your input will help us understand common pain points and work towards better solutions for automation testing.

18 replies

Space Cadet
January 21, 2025

Selection of Proper Test Cases/Scenarios
Requirement Clarity 
expectations from the stakeholders

Ensign
January 21, 2025

script maintenance, UI Changes

Ensign
January 21, 2025

Scaling the automation FW with the never ending new features being added to the product.

Tech debt in maintaining the automation framework due to everchanging dependencies and their new versions.

Space Cadet
January 21, 2025
  • Script maintenance is extremely time consuming
  • Flaky tests decreases the reliability in automation
  • Shrinking size of the QA team within development teams along with QAs being hybrid that do both manual and Automation and hence left with very less time to accomplish in-sprint testing and no time to take care of test backlog/test maintenance.

 

Bharat2609
Ensign
January 21, 2025

@Mukesh_Otwani  ​@Mustafa 

Based on my experience in automation testing, sharing my answer:

I would say my biggest pain point in automation testing is dealing with test flakiness and maintenance, particularly in our web application testing suite.

Let me explain the main challenges I face:

Test Flakiness: The most frustrating issue is when tests pass in one run but fail in another without any actual changes to the application. This often happens due to:

•    Dynamic loading times causing timing issues
•    Network latency in API calls
•    Browser rendering differences
•    Async operations not being handled properly

I've tried several approaches to handle this:

1.    Added smart waits instead of hard-coded sleeps
2.    Improved element synchronization
3.    Implemented retry mechanisms for flaky operations


But even with these solutions, maintaining stable tests requires constant attention.

->Another significant challenge is keeping up with frequent UI changes. When developers update the application:

•    Locators break unexpectedly
•    New features get added without proper test coverage planning
•    Existing workflows change, making test scenarios outdated

For example, last month our team updated our React framework version, which changed how some elements were rendered in the DOM. This broke about 30% of our test cases, and it took considerable effort to update all the locators and test logic.

To minimize these issues, I've started:

•    Using more robust locator strategies (like data-testid attributes)
•    Having regular sync-ups with developers about upcoming changes
•    Implementing a modular framework design where common elements are maintained in one place

However, this is still a work in progress, and it requires constant collaboration with the development team.
 

Bharat
Ensign
January 21, 2025

Flaky Tests, TDM, Finding the Right Framework & Tools, Initial Investment, Skill Gaps, sometimes due to Unrealistic Expectations, etc.

Space Cadet
January 21, 2025

 

There are so many reasons test automation may fail, biggest issue is always a lack of knowledge of testing and automation.

Next to that is that most applications are not designed for testability and in some situations the developers are unwilling to adapt the code to improve observability.

Other issue is that the amount of test scripts is only growing. Test wear out, especially regression tests. So keep on identificating (residual) risks and adapt your test strategy to those.

Another issue is the underestimating of the amount of work test automation will take, especially if management want to test everything automated. Which results in a lot of maintenance and reduced added value.

Last remark: it depends ….

Space Cadet
January 21, 2025

To choose the better tool , resource selection based on the tool and more importantly the type of script we are going to write for the project.

Ensign
January 21, 2025

It was really great session and depicted many unsung areas to cover like automation plan, understand, filter realistic test cases, end goal of automation, ROI etc. It should be adapted across the team then only automation will fetch ROI else it will be POC only.

 

There are many challenges starting to end. To name a few like 

 

  1. Automation is considered as silver bullet by many leaders on paper who have not practical experience to technology field. Expecting 100% automation which is not even practical any where.
  2. Application is not stable and undergoing the repetitive changes every now and then.
  3. App is not functionally stable.
  4. Before moving to UI automation, API layer is not stable enough.
  5. API should be the first priority to automate then UI.
  6. Time allocated to automation activities are very less, unrealistic expectation to keep covering everything within sprint 
  7. No time allocated to maintain the script
  8. Flaky tests
shashwata
Ensign
January 21, 2025
  • Maintaining automation scripts
  • Reducing flaky test count
  • Automating complex, multi-feature scenarios with intricate prerequisites.
RSH.