Page History: QA Report
Compare Page Revisions
Page Revision: 2009/08/03 16:10
Install
NOTE: QA-Report was written to compare input data (i.e. data created for NDNP during reel evaluation) to the output after data conversion (i.e. the batch, mets issue and mets reel files). These instructions are written for use with data from an MS Access 2007 database and a Windows XP operating system.
- Extract QA-Report and save it on the same drive and folder as the batch you are testing (output data). For example, if your batch is in a folder called NDNP you would save it the same folder. (e.g. C:\NDNP\batch_wa_20081223_sample and C:\NDNP\QA-Report)
How to Run
- To run QA-Report you must first save your input data as xml to the QA-Report folder
- Our input data is delivered in MS Access in three tables (titleTbl, reelTbl, issueTbl)
- From Access save each table as xml into the QA-Report folder (e.g. Export > More > XML File > C:\QA_Report\reelTbl.xml)
- Click OK
- Export XML window will open, save 'Data (XML)' only (uncheck 'Schema of the data (XSD)' - this isn't needed)
- Click OK
- Save Export Steps if you like, click Close
- You can close the database
- QA-Report should now have three xml files (titleTbl.xml, reelTbl.xml, issueTbl.xml)
- NOTE: your data may not be structured in three tables... Also, if your field names are not the same as the sample data provided you may need to tweak the variable names in the .xsl files in QA-Report
- Now run the QA-Report using the BATCH.xml file
- Open your computer's MS-DOS command
- Start > Run > type 'cmd' > click 'OK'
- Navigate to QA-Report (cd C:\NDNP\QA-Report)
- At the prompt run the "run_report" batch file with the BATCH.xml file of the batch you are testing (e.g. C:\QA-Report>run_report '..\batch_wa_20081223_sample\BATCH.xml')
- When the comparison is done a browser window will open with the titleTbl_report.html
Understanding the Results¶