Hi Friends,
while playing the recorded test i am getting this error
"Cannot identify the object "q" (of class WebEdit). Verify
that this object's properties match an object currently
displayed in your application." error is coming in this
line of code "Line (2):
"Browser("Google").Page("Google").WebEdit("q").Set "airtel
broadband"". " .... please tell me how to overcome this
problem. need help asap... Thanx in advance
Answers were Sorted based on User's Feedback
Answer / sanjeev
Hi AK,
Have you added the object into object repositiry? If not
try to add the required object into object repository.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nidhi jain
their is some problem in object identification. It might
possible that this object (webedit)property changing
dynamically. try to analyze this object for 3 or 4
different user.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ram
When you are recording the, below statement generated.
Browser("Google").Page("Google").WebEdit("q").Set "airtel
broadband"
While recording you could have included "Value" property in
Mandatory properties list. So the value recored in object
repository for the object is "airtel
broadband"
But when you ran it, i think you have removed "airtel
broadband" and clicked on Run
What happened when you are running, it is looking for value
property in the object resposotiry. But in our run time
object property has no value, but our test object has value
as "airtel broadband"
So thats why the error is displaying.
Go to Tools --> Object Identification --> Web --> Web Edit
--> Add/Remove --> Deselect Value property
Is This Answer Correct ? | 0 Yes | 0 No |
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)
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 dictionary object? what is the use of it? How you will display all the items in the dictionary object?
Plz explain about Virtual object? What is the situation u r using , explain with example?
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
How many scripts did you have?
what type of scripts are asked in qtp?
what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2
Hi All, How to Compare two strings character by character in QTP
What are the Automation Limitations??
How to Map network drive in QTP