Automation with Console-Based Testware


In this chapter, you have seen that a Console application can be a useful tool when you want to automate test lab setups. You saw two examples: one that created a useful report about the PC itself and one that automated an installation after it checked this report. You also saw how to work with command-line arguments and how to create your own. Finally, you saw how by using a combination of simple tools, such as batch files and the Task Scheduler, you can create a system that will automate lab setups—a process that can save your company time and money.

Of course, this example used text files to save both the report data from the InspectPC and the SetUp testware applications. In many professional testing suites, you will find that they use a database to store this kind of data instead. You can build your testware to do this as well, but you will need more experience with database programming. To get started, you will take a look at databases and how to work with them in Chapter 8.


Visual Studio Network Share Static Void Application File Batch File 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Randal Root and Mary Romero Sweeney 2006

Personalised recommendations