Tuesday, June 22, 2010

Edit "Generate Script" Template for Quality Center QT Add-In

In this post I will update the Script that generates a script from manual test steps in QC. It is assumed that you have the "QuickTest Add-in For Quality Center" installed.

Locate Script
YOUR_HP_DIRECTORY\QuickTest Add-in For Quality Center\bin\Templates\Template10\Action1
Or similar

Make Backup
Copy "Scripts.mts" to a file called "Script.mts.backup"

Edit File
Open "Script.mts" in Edit Software, e.g. Notepad
Script looks like this
' This test was created using HP Quality Center[No Page Break]


Update file
Changing file to this
' This test was created using HP Quality Center[Page Break]
Option Explicit[Page Break]
[Page Break]

Close and Save file

Try it out
Start QC
Create a new test and add some steps
Click the "Genereate Script" button, select "QUICKTEST_TEST" and confirm
Select "Test Script" tab
Change to "Expert View"
Check the results

To edit Step template
Goto
YOUR_HP_DIRECTORY\QuickTest Add-in For Quality Center\bin\Templates

Edit ManualTemplate.txt

No comments: