Hi,

You can use the below code to find the list items

Set IE = CreateObject("InternetExplorer.Application")
IE.visible=true
IE.navigate "
http://www.redbus.in/Booking/SelectBus.aspx?fromCityId=122&fromCityName=Bangalore&toCityId=123&toCityName=Chennai&doj=20-Apr-2012&busType=Any
"

Browser("title:=Book Ticket - Search Buses").Page("title:=Book Ticket -
Search Buses").WebElement("innertext:=Travels","index:=0").Click

Set WE = Description.Create
WE("micclass").value = "WebElement"
WE("html id").value = "travls.*"


Set WE_CO = Browser("title:=.*").Page("title:=.*").ChildObjects(WE)

For i = 0 to WE_CO.Count - 1
print WE_CO(i).GetRoProperty("innertext")
Next


cheers[?]
Sandeep

On Tue, Mar 20, 2012 at 5:10 PM, Deepak Kumar Mahapatro <
[email protected]> wrote:

> hi,
> just try redbus.in. After giving details and clicking search buses you
> will get the page withbus details. there on top there is some list to
> select traveller, rating, boarding point, droping point etc.
> if you find the solution to this please reply.
>
> thanks
>
>
> On Tue, Mar 20, 2012 at 4:09 PM, Syed Rowff <[email protected]> wrote:
>
>> i have heard that some applicaton is not identifying the weblist
>> it is identifying just  like an web element
>> if any one forward the application solution i will try it for practice in
>> QTP
>> else send me the approach  to this  problem?
>>
>> thanks in advance
>> --
>>
>> -Syed Rowff
>>
>> --
>> 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
>>
>
>
>
> --
> Regards,
> Deepak
>
> --
> 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

<<330.png>>

Reply via email to