Can we add the function library directly from scripting in
qtp instead of adding from resource tab?
Answer Posted / nath .t
Sorry for the small mistake in the above answer.
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
qtApp.Open "C:\Tests\Test1", False, False
qtApp.Test.Settings.Resources.Libraries.Add "e:\Utils.vbs"
Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
What is object repository in qtp?
What is accessibility check point?
Explain how to use QTP to check broken links on a page?
Describe synchronization point.
What is the syntax to call one action in another?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
What do you to script when objects are removed from application?
distinguish between old version and new version QTP features.
What is the difference between qtp and selenium?
How to use parameterization in qtp?
What is recovery scenario manager? When you go for recovery scenario manager?
How to get popup error message.
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