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



Hi Friends, while playing the recorded test i am getting this error "Cannot identify the o..

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

Hi Friends, while playing the recorded test i am getting this error "Cannot identify the o..

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

Hi Friends, while playing the recorded test i am getting this error "Cannot identify the o..

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

Post New Answer

More QTP Interview Questions

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)

2 Answers  


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

0 Answers  


What is dictionary object? what is the use of it? How you will display all the items in the dictionary object?

1 Answers   Bank Of America,


Plz explain about Virtual object? What is the situation u r using , explain with example?

1 Answers  


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

0 Answers  






How many scripts did you have?

0 Answers  


what type of scripts are asked in qtp?

2 Answers  


what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?

4 Answers   BirlaSoft,


Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2

2 Answers   Siemens,


Hi All, How to Compare two strings character by character in QTP

0 Answers  


What are the Automation Limitations??

1 Answers  


How to Map network drive in QTP

3 Answers  


Categories