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 is descriptive programming?
How the exception handling can be done using quicktest professional?
Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use child item concept)
what are the different types of framesworks in QTP?what is the keyword driven framework?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
Why do we use text checkpoint as we can make use of the same in the standard check point?
How to start recording using quicktest professional (qtp)?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
What are advantages of test automation?
Hi, I will provide perticular age,it needs to enter date in text box (MM/DD/YYYY) compare to system date. or already exist data in the text box.
how open two urls in one browser? plz urgent
HI ALL I AM WORKING AS A AUTOMATION ENGINEER FROM PAST 2 MONTHS IN QTP,MY QUESTION IS IF I OPEN THE BROWSER FIRST & THEN THE QTP LATER MY OBJECT SPY WILL NOT WORK,Y IT IS SO..IF U HAVE THE ANSWER PLZ MAIL ME AT AKSHAR.MYSORE@GMAIL.COM