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 |
in a web page How to check and display a particular word from a paragraph?
To which environments does QTP supports ?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
what are the parameters you are considering for object identification?
How QTP support all types of applications (platforms)?
We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
Have you used xml check point in your project? How?
hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script
can u write one user defined function for webedit class.
Expalin Text/Text Area Checkpoint