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 |
what are the Common Problems in S/w development process
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
How you test the object which is dynamically changes its location?
Tell when we call the function? tell with example.
Using Regular expression in Date format DD/MM/YYYY (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4}) in this regular expression year 0000 also accepted.I need atleast any one single digit must be nonzero value (like 0009,1000,0034)
I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.
write the vb script for call to new action in qtp?
What is ‘object spy’ and what is the function of object spy in qtp?
Analyzing the Checkpoint results ?
how to merge object repositories in qtp for n different applications
with out using import sheet came is it possible to get the excel sheet ?
What criteria do you use when determining when to automate a test or leave it manual?