How to include an Action template in new action automatically???
Basically QTP does not provide any option to include a piece of text -template- in every new action.
However there is a workaround of doing this. We will call it as "Action Template".
Steps to do:
1) Go to folder inside QuickTest Professional installation. Normally it can be found under C:\Program Files\Mercury Interactive\QuickTest Professional\dat
2)Inside folder create a file by the name "ActionTemplate.mst"
3)Open it in notepad and include the information you would like to see whenever a new action is created.
Insert a new action in QTP and check it !!!
'***************************************************************
Sample Action Template
'########################################################
' Test Case Name : Test Case Name
' Test Case Description : The objective of the testcase
' Author : Jay(Author Name)
' Date Created : XX/XX/XXXX (mm/dd/yyyyy)
' Date Updated : XX/XX/XXXX (mm/dd/yyyyy)
'Updated by :
'########################################################
Basically QTP does not provide any option to include a piece of text -template- in every new action.
However there is a workaround of doing this. We will call it as "Action Template".
Steps to do:
1) Go to
2)Inside
3)Open it in notepad and include the information you would like to see whenever a new action is created.
Insert a new action in QTP and check it !!!
'***************************************************************
Sample Action Template
'########################################################
' Test Case Name : Test Case Name
' Test Case Description : The objective of the testcase
' Author : Jay(Author Name)
' Date Created : XX/XX/XXXX (mm/dd/yyyyy)
' Date Updated : XX/XX/XXXX (mm/dd/yyyyy)
'Updated by :
'########################################################
Comments