Automating Your Testing - Microsoft Batch Files

preview_player
Показать описание
The ability test consistently is a critical factor when troubleshooting, baselining or lab testing. This becomes a bigger issue when you are part of a team and need to replicate a test that your colleague performed weeks or months ago.
In inability to perform the same test, with the same steps can lead you to make incorrect conclusions and cause general confusion.
The tried and true way to document your testing methodology would be to write or type out your steps. Heck you might include the odd screenshot or video to ensure the reader follows your steps exactly.
This is where I add a little something extra and suggest automating your tasks with some sort of scripting language so you literally just press a button, sit back and collect the data. Scripting ensures that every step is performed the same way, with the same delays, etc. every time.
The most basic script in the Microsoft world would be a batch file. I’ve been tinkering with batch files since 1990 and am always impressed how Microsoft has added more functionality, added Powershell and other goodies over the years. Of course our Linux friends have bash scripts which server the same purpose.
If batch files aren’t .............

Read the rest of the article when its posted at
Рекомендации по теме