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, 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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default add-ins in qtp?

1052


Should have experience in framework means?

1930


can any body give the banking domain concepts/links

4112


what you mean by artifact,milestone...

2022


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

2029


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

1849


Where we can use the synchronization?

1071


How to handle dynamic objects in quicktest professional?

984


what function you write to do database testing with the help of qtp?

1873


What phases are involved in testing an application in qtp?

1048


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1947


Which recording modes need more memory?

1111


what is the difference between IE & Netscape in web testing on a log in page

2376


Hybrid framework supports Descriptive programming. Is it true?

1212


What is the qtp testing process?

1099