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 five challenges you faced in QTP?
If there r 1000 test scripts that were written. If a change to any functionality is to be made then how can we know in which script is this functionality existing.
what r the 3 basic factor on which we determine to perform automation
How can i store runtime value through vb script while using qtp
When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.
what properties do use to identify a browser and page while using descriptive programming?
How to Import data from a ".xls" file to Data table during Runtime.
We need to verify the user name & password in for the user validation. But we don't want to use the parameterization/ loop for user name and password. What is the way in scripting so that user & password will generate automatically.
In QTP what is the difference between Step-in, Step-out, Step-over ?
what r advance features u had done in QTP?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
how to recall a function in QTP?