That right:) Also once you have reference to real object, you don't need its index. You probably have number of similar objects and want to find one of it. There are different ways doing it... Look to this presentations, it may inspire you :)
http://www.slideshare.net/yassa/qtp-descriptive-programming/ http://mercuryquicktestprofessional.blogspot.com/2006/11/descriptive-programming-simplified.html On Thu, Nov 20, 2008 at 12:56 PM, Biswajit Agarwal <[EMAIL PROTECTED]>wrote: > if i am correct it wont work because the index is the QTP's index its not > application index. QTP will display only application data bnot its own > data... correct me if i am wrong.. actaully touching QTP after 2 yrs.. > > > On Thu, Nov 20, 2008 at 10:23 PM, Roman Zilber <[EMAIL PROTECTED]> wrote: > >> You right, it doesn't work. >> Why do you need to know the index? >> >> On Thu, Nov 20, 2008 at 12:43 AM, mabobine <[EMAIL PROTECTED]>wrote: >> >>> >>> x = Browser("XYZ").Page("ABC").WebEdit("A12").GetTOProperty("index") >>> >>> msgbox (x) >>> >>> Displays empty >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
