Modern tools used in the scenario are powerful for this matter. The fact is automation softwares are equipped with an error-handling mechanism to spot the errors that often declare their presence. In case any manual action is required, the same can be done by building a logic in the system. This can be done based on nature and the exact cause of the problem.