ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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...
 Question Submitted By :: Ravi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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...
Answer
# 1
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 ?    0 Yes 0 No
Devipriya
 
  Re: 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...
Answer
# 2
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 ?    0 Yes 0 No
Chinna
 
 
 
  Re: 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...
Answer
# 3
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
Swapna
 
  Re: 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...
Answer
# 4
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
Ravi
 
  Re: 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...
Answer
# 5
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
Sudeepthz
 
  Re: 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...
Answer
# 6
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
Sri Satya
 
  Re: 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...
Answer
# 7
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
Jay
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Explain key word driven frame work?How to use in real time? HP2
Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts? Datamatics2
How to see entire results at the same timeafter the batch run.. Cannot see the entire results at a time. Is there a easier way view everthing at same,as our batch file very large  2
What is the method for maximize the application while we using Decriptive programming in QTP?  2
Hi to All, My name is Aditya, i have 4 year exp in software testing (Manual Testing), but i try to shift my career now in automation testing. right now i have no exp or u can say i am not hand exp in live application. So please guide me, what i do ???? Can i join again automation course only practical which is live application. if u know any person who's expert in qtp and he/she ready to take my class i have our own and company laptop. If required i will pay amount please don't mind. Please help me, and i am also planing to join core java from coming 1st Aust (in seed) for only purpose the understanding script of Automation (QTP)... Please help me... I am waitting u r replay... Thank you Thanks again  2
How to supress warnings from the "Test results page"? BirlaSoft4
what is option explicit?  3
what is aregular expression? UHG3
What is the "Release Notes", what it cosists? Key components in Release Notes ?  2
How to Map network drive in QTP  2
what is the main use of reviews Ordain-Solutions1
hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script  1
Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties.. Clinical-Soft5
When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ? Accenture3
How can I generate customized logs in QTP ? Ordain-Solutions1
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...  7
I have written some scripts in QTP by using older version, but I want to run them in latest version. Is there any process to do that.If so can anyone explain me?  1
i need the licence key for QTP V9.5 can anyone help me on getting this?  37
what is the frame work your using in automation testing  1
how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com