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
Answer Posted / 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 View All Answers
What is keyword view in qtp?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
How can you pass value one action to another action?
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
What is the standard timing delay for web based application in qtp?
How do I get the QTP scripts result in xml format by using vb script function?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
write the vb script for call to new action in qtp?
how to do the batch testing in test director using manual testing procedure?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
whare exactly we have to use functions and sub routain
What is the difference between the keyword view and expert view?
what are the utilities and drivers