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

For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in

3 Answers  


what is the difference between seat and concerent licenses.

3 Answers   AppLabs, TCS,


Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page.

4 Answers   Virtusa,


write the regular expression for date format of mm/dd/yy?

10 Answers   CTS, HCL,


what is the extension for QTP files?

16 Answers   American Solutions,






Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check

1 Answers   CTS,


what is object spy

5 Answers   TCS,


After i ran the Test in Batch mode i didn't get any results. Can any one let me know how it can be done?

3 Answers  


we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do

5 Answers   Covansys,


what is the smart identification techniqu?what r the different mechanisums used in it?

0 Answers   Accenture,


Explain in brief about the QTP Automation Object Model.

0 Answers   Crea,


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

1 Answers  


Categories