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

1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?

5 Answers   HP,


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

0 Answers  


How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?

2 Answers  


explain how to write vb script in qtp?when will you write own script?

0 Answers   FirstApex,


when you press a link it displays "the page cannot be displayed" then as a tester how you will find the problem,what type of problem must be it?

3 Answers  






how to write vbscript on web applications in qtp. explian with one example?

4 Answers   Wipro,


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

6 Answers  


assume i have few url link how will i dynamically call then using descriptive programming?

0 Answers   BirlaSoft,


QTP 1.What type of bugs u commonly find in u r project? 2.what is agile testing explain with example? 3.application is given req n functionality r missing then how can u start testing? 4.what r the types of defect tracking tools? 5.what is functionality testing? 6.what is change req how u use it? 7.diff bet gul n functional testing? 8.test cases for IE 6.0? 9.where do u store test cases? 10.what r design objects in qtp? 11.what r 5 types of objects in qtp? 12.how to change .mtr to .tsr n vice versa? 13.in which situations qtp will not recoznize objects? 14.how to call .vbs fuctions, library files in qtp? 15.if 10 windows r ope write command to close all windows in qtp? 16from what stage u start automation in u r project? 17.what is VSS? it is usedin automationr manual? 18.size of object repository? 19.how to conduct GUI testing n performance testing on MS-Word? what r performance TEST CASES? 20. use of virtual objects explain? 21.how to connect buzilla with qtp? 22. what is API ? 23.how to merge 2 object repositories in qtp? 24.what is recovery scenario manager? 25. diff bet link n hyper link? 26.diff bet test case n test case scenario? 27.what is relational testing? 28.where do we write test cases? 29.what is base line in testing? 30.what r key process areas(KPA) in u r company? 31.what is hot fix? 32.what is sql injection? 33.what is valnerability? 34.what is TOM in qtp? 35.can we do qtp testing with out creating objects in object repository? can we completely write code in expert view only? 36.where we cant do automation testig? give example using OR is a advantage r a disadvantage?

6 Answers   IBM,


how to identify the objects if application consists of objects that have same properties.

4 Answers  


what is the diff b/w assistive and mandatary rules of object repository in QTP???

0 Answers  


how we can do web browser using parametarisation in QTP ?

2 Answers   Efextra, Kanbay,


Categories