On any automated testing project, if you have to write every line of code from scratch every time, you’ll never finish. If you start early in the project to identify tasks that can be written and stored as utilities and used repeatedly, it will save you time and headaches. An additional benefit is that some of these utilities are usable on other projects. Remember from Chapter 1 that one of the goals of good software is reuse. Actually, the whole reason we are automating testing in the first place is to increase our testing capabilities with code and to avoid doing certain tests over and over manually, right? So, it makes sense to create pieces of code generic enough to be used more than once.
KeywordsText File Standard Module Visual Basic Unload Statement Event Procedure
Unable to display preview. Download preview PDF.