Template for new test script in QTP
[B]Question asked by visitor srinivas[/b]
Each time you open a new test script in qtp, you all get a blank script with no code in expert view right. Now I want you to, add a template such that each time you open a new script in qtp, you get the following lines of comments in the qtp expert view.
''''''''Author:
''''''''ScriptName:
'''''''''DAte created:
Re: Template for new test script in QTP
[B]To create an action template: [/B]
[LIST][*]Create a text file containing the comments, function calls, and other statements that you want to include in your action template. The text file must be in the structure and format used in the Expert View.[/LIST]
[LIST][*]Save the text file as [B]ActionTemplate.mst[/B] in your '[QuickTest Installation Folder]'\dat folder. All new actions you create contain the script lines from the action template.[/LIST]
[B]Note:[/B] Only the file name [B]ActionTemplate.mst[/B] is recognized as an action template.