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
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 |
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 |
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 |
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 |
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 |
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 |
QTP -object reposistory spy tool is not able to spy the pop up message appearing in the application, so how is that i can handle such run time pop ups in QTP by code???
what is output parameters in qtp?explain? 2)
.how will you load the object during runtime
Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?
How you can decide which type of object repository you have to use?
What expansion of "MIC" in MICPASS (TEST ReportPAGE)
What are the limitations in using Virtual objects?
can onyone tell me how to comapre the output of two different Data Bases in QTP?
In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?
Can anybody give the script to addsheet, add column,add values under that column in the rows?
recording is not a good programming practice.How to write effective script without recording.Which is the correct method explain in detail
Explain the concept of object repository & how QTP recognises objects?