Associated files in QTP?

Answer Posted / poonam

Associated files are the script files(in which the
functions/methods are defined)
Ex: If you want to add a associated file, make a file with
functions in vb script, having extension .vbs

Using the file.
In Test ->Settings ->Resources. add a associated file by
selecting from proper location.
It can be made default for a test.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hoe can we do retesting using functions please give the code for it using login page

1559


How to execute a winrunner script in quicktest professional (qtp)?

513


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1344


What is QTP’s model for test creation?

671


Explain measuring transaction.

586






What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

567


what is ODC and GDC?

7343


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

1597


what is command for executing files?

1510


How are actions and functions different in QTP?

654


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2097


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1469


Do you know how to connect database? Can you tell me the procedures?

545


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

523


What is the pros and cons between QTP and Rational Robot

3281