hi, i am trying to capture "web element" names in a web page, and i written the code like this,,
with Browser("title:=")
with .page("")
.webelement("htmltag:=...").getroproperty("innertext")
end with
end with
////////////////////////////////////////////////////////////////////////////////////
QTP RETURN ERROR like this:
" object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object"
ok fine , i need to search another property other than "index"
i use all the properties like class,text,innerhtml,innertext,visible=true,x , y,abs x ,abs y...but qtp returns error .....
in this webpage index is difficult to find? how to solve



hi, i am trying to capture "web element" names in a web page, and i written the code like..

Answer / rangalnrt

with Browser("title:=")
with .page("")
.webelement("innertext:=.*innertext value .*","index:=0").getroproperty("innertext")
end with 
end with

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How do you test the different ads displayed in the Inbox home page of Yahoo. Once u login Yahoo mail, in inbox page there will a banner, where different ads are scrolling, how do you test that using qtp?

2 Answers  


how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"

5 Answers   IBM,


There is web page with the webtable,this contains some data, how do you manipulate the data.

2 Answers   Tech Mahindra,


what are the disadvantages of descriptiveprograming

5 Answers   GE,


Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp

1 Answers   Cap Gemini,






HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people

3 Answers   GE,


How QTP integrate with application?

1 Answers  


What is the Command used to start the QTP

0 Answers   HCL,


what is the difference between xmlutil and xmlDOM in qtp?

2 Answers  


can u tell me website address of VBscript with examples.

2 Answers  


How do you configure QTP AND Test director?

0 Answers  


pls help me with scripting,right from the beginning in QTP

1 Answers  


Categories