May 13, 2011

Finding Batch File Reports in QA Wizard Pro

Helix ALM
Creating and running batch script files in QA Wizard Pro is simple and straightforward. However, because batch files are actually executed outside of the QA Wizard Pro interface, sometimes the report file that is generated may not be where you expect it to be. Here’s how to locate the batch file report, and also how to create the report in a non-default location. First, create a QA Wizard Pro batch script file and save it. The file will have an extension of .qawbatch. For example, MyScripts.qawbatch. After you create the batch file, right-click "MyScripts" and select properties, which will show the location of the batch file. For example, C:Users<user>DocumentsMyScripts.qawbatch. Locate the batch file, then double-click it to run it and generate the report. (Note: It will not show up in the QAWP Workspace Reports folder because it was not run in the workspace.) Go to the location that you ran the batch file from and locate the "Reports" folder. The report will be named after the first script that was run in the batch file. For example, C:Users<user>DocumentsReportsScript1.qawreport.
  • If you move the batch file, QA Wizard Pro will put the report in a Reports folder where you ran it. For example, qawrunscript "C:/Scripts/MyScripts.qawbatch" creates a Reports folder in  C:Scripts.
  • You can specify the report name and location using /reportfile "path". For example, qawrunscript MyScripts.qawbatch /reportfile "C:/Results/MyScripts.qawreport" creates a report named “MyScripts.qawreport” in the C:Results folder.