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
can any body give the banking domain concepts/links
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
How can I import environment from a file on disk?
What is difference between Recording time object identification and Run time (Execution) time.
how to test Web application using QTP software
What is an object repository?
What are the steps involved in the recovery scenario wizard?
How to use transactions in qtp?
Explain types of output values?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
What is system testing and what are the different types of tests you perform in system testing?