How to create an Action Template?

Answer Posted / nalini

If you want to see some statements by default when you
create an action, below are the steps to create Action
Template:

Check QTP installation folder: C:\Program
Files\hp\QuickTest Professional\dat\

1) if ActionTemplate.mst file exists in the QTP
installation folder

1.1) Include required statements in the file. Note: Put
Single Quote at beginning of the each statement.
1.2) Save the ActionTemplate.mst file
1.3) Open a new test, you can find the statments by
default.

2) If ActionTemplate.mst file doesn't exist in the QTP
installation folder, we need to create a new file.

2.1) Open Notepad
2.2) Include required statements. Note: Put Single Quote
at beginning of the each statement.
2.3) Save it under QTP installation folder with filename
as ActionTemplate.mst
2.4) Open a new test, you can find the statments by
default.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add synchronisation points in qtp?

762


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

829


How do client side image and server side image work?

1595


Shall we add Local Repository to shared object repository,if yes,how we add

6629


How to check feasibility of the appliction?in automation testing?

1711


Explain the concept of object repository and how quicktest professional recognises objects?

766


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1707


What does mean by Scope of Automation?n How we defined it?

1767


how to explain a claims and insurance project?

1982


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1216


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1657


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1690


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1615


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1760


How you can decide which type of object repository you have to use?

908