Automation batch issues

Passes individually but fails in the batch..

This would be an all too common for anyone who has worked in automation

While the reasons for this can be ‘infinite’, here are some common ones I’ve observed on top of my head:

– Dependent test data. When running individually no other script can change the data, in a batch run that is a possibility

– Tool / browser reset. If the previous script failed, the browser was still in error state and the next script starts executing, resulting in failure

– Delay. Browser response time can change when running in a batch, must have dynamic delays before interacting with EVERY object

– Application down. While this might seem a remote possibility, in some cases this does happen in very sbtle ways.

Any other ‘very common’ factor you have noticed?