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

What is Port testing. Whhen will you perform?

0 Answers  


How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.

1 Answers  


What is the D/B Test managemet tool and bug trcking tool? Ans send to pbr.qtp@gmail.com

1 Answers   Cap Gemini,


What is use of Global Sync Timeouts in QTP9.2?

2 Answers  


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

0 Answers  






how can we handle errors other than using recovery scenerios in qtp

0 Answers  


In QTP whether is it possible to call a function from one action to another action?

1 Answers  


How can we open an Excel sheet through the script

8 Answers   eSymbiosis,


how qtp handles customised object

1 Answers  


how can i parameterize a login page by using database parameterization i fetch the username and password from database and put this on login page and click on ok button. so how can we write script for that code please let me know asap thanks

4 Answers   iCreate,


when we enter url,one page should open.write a vb script ,that page is open or not

2 Answers   Blue Chip India, Persistent,


In QTP, Which are the concepts are needed to do Functional testing and Regression testing?

3 Answers   IBM,


Categories