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

Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

0 Answers  


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

0 Answers  


Explain qtp(quick test professional)?

0 Answers  


Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..

5 Answers   Clinical Soft,


how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script

2 Answers  






Can we select add ins in UFT during run time

1 Answers   NIIT,


How to add a runtime parameter to a data sheet?

6 Answers  


What is the current version of QTP and now it is the product of Mercury or HP

12 Answers   TCS,


What is a Web Table?

5 Answers   Kanbay,


write a qtp script to see time in windows command prompt? its urgent....

9 Answers   BSL,


can any one tell me the script to click on a button in the wintoolbar.

1 Answers  


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

0 Answers   Yahoo,


Categories