GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 624 of 684    Print  
Creating Action Template
how do i create an action template? plz explain with an example?

ie,whenever we create a new action it should show that information in every new action.

thanks



  
Total Answers and Comments: 4 Last Update: October 15, 2008     Asked by: kishchilukuri 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 19, 2008 03:49:04   #1  
NawabShaikh Member Since: January 2007   Contribution: 238    

RE: Creating Action Template
In QTP Installation Folder there is bin; you can find one file ActionTemplate.

Edit the file as per ur coding Standards and save it...whenver u will open a New Test the Action template details will be reflected.


Regards
Nawab

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
June 11, 2008 02:31:34   #2  
akothuru Member Since: April 2008   Contribution: 49    

RE: Creating Action Template
1. Open the dat folder in the following path: C:/ProgramFiles/MercuryInteractive/QuickTestProfessional/dat
2. Check whether "Actiontemplate.mst" file exist in Dat folder if not Create a notepad in that folder.
3. Enter the text you want get displayed in QTP by default.
Use single quotes ' before the text so as to make it a comment.
E.g.
'TestScript Name:
'Date Created:
4.Save the file as "Actiontemplate.mst" That's it. Whenever you open the QTP you can see the text added in Actiontemplate by default.

 
Is this answer useful? Yes | No
June 24, 2008 08:48:12   #3  
Dipak123 Member Since: June 2008   Contribution: 6    

RE: Creating Action Template
Steps to Create an Action Template

1. Open Notepad
2. Type comments that you want to include in your Action Template
3. Go to File>Save As
4. Save the File as ActionTemplate.mst in the "C:/ProgramFiles/MercuryInteractive/QuickTestProfessional/dat" Folder

Do remember one thing - The File Name should be ActionTemplate.mst. Both A and T should be Capital Letters.

Regards and Thanks
Dipak

 
Is this answer useful? Yes | No
October 14, 2008 11:28:37   #4  
plnsrikanth Member Since: January 2008   Contribution: 2    

RE: Creating Action Template
Steps to create Action Template :
1. Open Note Pad
2. Type The Comments Want To Include like

Eg:'Test Name:
'Action Name:
'Action Description:
'Resources:
'Author:
'Modified Fields:
'Date:
Etc.......

3. Go to File --> Save As
4. Save the file Like This "ActionTemplate.mst" in Dat Folder (C:/ProgramFiles/MercuryInteractive/QuickTestProfessional/dat)

After Saving When Open the QTP the comment lines displays in every Action


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape