is we can import the object repository from external
source. if it so then how?
Answers were Sorted based on User's Feedback
Open the .tsr file using object repository tool
window..plz mention which version of qtp u r using at the
time of asking question..so i will explain with
navigation...
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suresh
Thank you. But my question is "Is it possible to load
Object Repository through script?"
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anavuong
I want add object before action others function so I have
wrote that below:
RepositoriesCollection.Add "D:\Quick test
Professional\Exercise\Object_case1.tsr"
After then I have opened Object Repository windown but i
don't have see them.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mayank
This is fine, but when you give the relative path and open
the script, qtp converts in absolute path.
I want to add as follows-
RepositoriesCollection.Add "..\..\ObjRep\or.tsr"
QTP is showing as follows
Drive:\xyz\pqr\ObjRep\or.tsr
Is This Answer Correct ? | 0 Yes | 1 No |
how to write vbscript on web applications in qtp. explian with one example?
Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2
How u will open the build automatically in QTP except using Systemutil.run command
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks
What is the use of an object spy tool in qtp?
What is the main differece between QTP 9.0 and 9.2
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
4 Answers Thatavarti Technologies,
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
w is configaration management
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
What is QTP?