Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
5 years ago
Solved

TestExecute Tests using Batch file - how to stop the execution when there are environment errors .

Need advice/Recommendation to avoid false errors. Here we are running our several testing using batch files and task scheduler. Our test run every hour of the day. But sometimes our tests fails due ...
  • rraghvani's avatar
    3 years ago

    Somethig like this,

        Aliases.Fetchbtn.Click(); // Perform click here
        const t1 = new Date(Date.now());
        Log.Message("First button clicked at: " + t1.toUTCString());