Debugging Your Scripts—When the Test(s) Uncover a Defect

It's great to plan and design your test scripts. Building them can be very enjoyable; at least this is when we had the most fun. You will learn a lot in the process, especially about the tool you are using and its restrictions and strong points. Figuring out how to overcome specific problems can be very rewarding. However, utilizing them in everyday practice can become a whole other ball game. In the Main script, we've included a record counter. As each record is read, write the record counter value into the Robot's log file. This is a significant aid in determining which input data record caused the error. You can imagine how difficult it would be to read through several hundred lines ...

Get Just Enough Software Test Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.