i am testing an online shopping application.I CLICK on a
link "ADD TO CART" of that application a "new page" is open
and then click on any object of that "new page". after that
when i run this SCRIPT then on this "new page" QTP always
shows error of "OBJECT NOT FOUND". How i solve this problem ?
Answer Posted / swetha
first we need to check whether those objects in that page
are being added to the object repository or not.if objects
are added but still it is not identifying then go to object
repository and change the properties of the not identifying
object so that to uniquely identify that object still it is
not identifying then using virtual object configuration
concept we can make the specified area of the application as
a specified object to make qtp to identify the object.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How many types of parameters are there?
For which type of project the iterative model is suitable?
If I change the property value at runtime is it effect is object repository?
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
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
How to give a call to another action from one action?
What are the data types in qtp?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
What are the types of properties that quick test learns while recording?
What is the difference between analog and low level recording?
What are the types of object repositories? Which one is you are using?
Explain the concept of object repository?
what is stepin & stepout?
What is the standard timing delay for web based application in qtp?
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?