Hi Jhonny , This is a custom control called as suggestion list.. if you want to select the value you have to use script as below 1. Type data in edit box 2. Create a Web Element with description object based on inner text property 3.Use Obj. Highlight 4. use Obj.Click
Regarding Finding list count, I don;t think it is possible until unless the suggestion list is identified as a web table. Please share screenshot to get clear understanding of your UI. Regards, Kishor On Wed, Jan 11, 2012 at 12:22 AM, Jhonny Maldonado Martinez < [email protected]> wrote: > I am trying to get number of items in autocomplete list of webpage. > Like google search, when you type characters then it automatic > populates list. So I need to count the items in that list in QTP 11.0 > and also want to select one of hem. > When i run the Spy, only detects WebTable, WebEdit and Web Element, > that list is not a WebList or something like that. even dosnt works > the countitem > > > Please help me, i really need this code! > > Tnks :P > > > -- > 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 -- 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
