Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what the difference between shared repository and per action repository?

1039


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

2117


What is the syntax for how to call one script from another?

1024


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1881


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

2231


How many add-ins comes by default with qtp?

1002


What is system testing and what are the different types of tests you perform in system testing?

1145


What is checkpoint in qtp?

1006


what frame work you are following?

1926


How is a Step generator used in UFT?

1199


Explain actions in qtp ?

962


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1859


What is the extension of the qtp local repository?

1055


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

1825


In qtp, how you can exit for loop?

998