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

Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

0 Answers  


how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?

5 Answers   Ordain Solutions,


What r the diffrernt file extentions in QTP?

3 Answers  


is qtp 9.2 supported for firefox browser3.0?bcoz when i tried to create scripts with the application run on firefox browser 3.0 then qtp 9.2 didn't ct=reate the scripts?

2 Answers  


what is parameterisation?

3 Answers  


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

0 Answers  


How to use Environment parameterization in QTP? Explain with an example.

2 Answers  


what is the use of VIRTUAL OBJECTS? explain ?

4 Answers  


what is the diffrence bw qtp architectute and qtp framework?

0 Answers  


What is Tree view?

2 Answers  


Hi Friends, Every one is posting the Answers for the existing questions.Try to post the questions that are asked in Recent Interviews.It will be useful to the other Job seekers.

1 Answers  


What is the difference between Mandatory and BaseFilter Properies..Anybody please answer me..Thanks in Advance

3 Answers   BirlaSoft,


Categories