i need the word "good morning" to be displayed by default
whenver we click upon the blank test while opening the qtp.
Could you please answer...

Answers were Sorted based on User's Feedback



i need the word "good morning" to be displayed by default whenver we click upon the blan..

Answer / devipriya

You can set any default text in QTP by the following method.
1. Open the dat folder in the following path:

C:/ProgramFiles/MercuryInteractive/QuickTestProfessional/dat

2. 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.
eg., 'Good morning

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 Correct ?    6 Yes 0 No

i need the word "good morning" to be displayed by default whenver we click upon the blan..

Answer / chinna

You can set any default text in QTP by the following method.
1. Open the dat folder in the following path:

C:/ProgramFiles/MercuryInteractive/QuickTestProfessional/dat

2. Create a notepad in that folder.
3. Type the text at "Good morning"
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 Correct ?    1 Yes 0 No

i need the word "good morning" to be displayed by default whenver we click upon the blan..

Answer / swapna

I have create actiontemplate.mst in dat folder, however
could not see when I opened QTP. Where exactly in qtp does
it display?

Is This Answer Correct ?    0 Yes 0 No

i need the word "good morning" to be displayed by default whenver we click upon the blan..

Answer / ravi

HI Swapna,

The answer given by Chinna is correct.It working fine.
Create an Actiontemplate.mst file in the above mentioned
path, That is where u installed your QTP.
Now Open QTP application, When u can see the whatever text
u have written in the Actiontemplate.mst file.

Is This Answer Correct ?    0 Yes 0 No

i need the word "good morning" to be displayed by default whenver we click upon the blan..

Answer / sudeepthz

Hi Could some one explain me how to create the notepad in
Dat folder.. Give me with an example please

Is This Answer Correct ?    0 Yes 0 No

i need the word "good morning" to be displayed by default whenver we click upon the blan..

Answer / sri satya

Hi Swapna,
What Chinna told is correct. You might have mistake while
saving it..
i.e while saving in Save window, pls select Save as type as
All Files. You will get it...

Is This Answer Correct ?    0 Yes 0 No

i need the word "good morning" to be displayed by default whenver we click upon the blan..

Answer / jay

Hi Swapna,

The above script is correct. It works fine.
I have encountered the same problem, but the problem is not
with the script.
As per the script i have created a notepad but while
renaming i have selected someother notepad file. The script
didnt work. So For Crossverification i have opened the
Actiontemplate.mst file in notepad where i was expecting my
default test eg: Good morning but i could not find the
text. Then i recognized i have done a mistake and edit the
same file and entered the text and saved it.
I hope you would have done the same. It works for me now..
Pls let me know if you still could not figure the issue

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Why divide a test into three action calls?

1 Answers  


give the code to count child objects (Total) in the page

1 Answers  


1. How to capture data from images in QTP and produce them in Excel sheet

1 Answers   Broadridge,


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

0 Answers  


What are different versions in Win Runner ,QTP ,Load Runner and Test Director till now and atleast please let me know new features for each version. Ex QTP8.2,QTP 8.5.QTP9.2 supports Mozilla 2.0

1 Answers   DELL,






hi, Can any body tell me whats the difference between the QTP and the Rational Robat ad the Silk Test and LOad Runner and are they used in any Company On the Major scale bcas I finnf Many comapny Using the Manual Testing Only Hence Askin the Question Hope I will get the Assitence .

1 Answers   First Europa,


What is the main disadvantage of using low level and Analog modes?

2 Answers  


1. In build1 there is a page with two check boxes and a submit button. You have prepared a script for that page and its working fine. In Build 2 the developers have added two checkboxes in the page. Will the script prepared for Build 1 work for Build 2 or not. If yes, why and if No, why. Remember the developers have not touched the object properties of the textboxes in the page.

3 Answers   ADP,


How to capture dynamic objects in qtp like mark up text

3 Answers  


Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??

6 Answers   Virtusa,


HOW TO FIND WEBTABLE? HOW TO RETRIVE THE WEBTABLE VALUES? PLZ TELL ME THE PROCEDURE.

2 Answers   TCS,


Write the vb script for the lowest and highest values of an array?

1 Answers   Manhattan,


Categories