How to create an Action Template?
Answer / nalini
If you want to see some statements by default when you
create an action, below are the steps to create Action
Template:
Check QTP installation folder: C:\Program
Files\hp\QuickTest Professional\dat\
1) if ActionTemplate.mst file exists in the QTP
installation folder
1.1) Include required statements in the file. Note: Put
Single Quote at beginning of the each statement.
1.2) Save the ActionTemplate.mst file
1.3) Open a new test, you can find the statments by
default.
2) If ActionTemplate.mst file doesn't exist in the QTP
installation folder, we need to create a new file.
2.1) Open Notepad
2.2) Include required statements. Note: Put Single Quote
at beginning of the each statement.
2.3) Save it under QTP installation folder with filename
as ActionTemplate.mst
2.4) Open a new test, you can find the statments by
default.
Is This Answer Correct ? | 4 Yes | 0 No |
How you automate test scripts
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
How do you delete unwanted results in qtp?
what are the principles of good testing scripts for automation?
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?
we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
6 Answers Cognizant, Covansys,
Differences between quicktest professional (qtp) and winrunner?
Write a QTP script to enter a keyword in to Google search engine?
Which statement will use for close an action in QTP?
what is actually contain test report? can anybody post the test report
when u script reveiwing in which area u more concentrates?
I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini