Set oDesc = Description.Create()
oDesc("micclass").value = "WebRadioGroup"
Set oChild = Browser("New Page 1").Page("New Page 1").ChildObjects
(oDesc)
allItems = oChild.Count
For i = 0 to allItems-1
Browser("New Page 1").Page("New Page 1").WebRadioGroup("R1").Select
oChild(allItems-1 )
Next
I have simply modified the code given by Roman,Just select the last
RadioButton as per ur requirement
Thanks
Sridhar
On Jan 14, 8:17 am, Roman Zilber <[email protected]> wrote:
> http://motevich.blogspot.com/2008/08/qtp-descriptive-programming-numb...
>
>
>
> On Wed, Jan 13, 2010 at 11:32 AM, Diego Diego <[email protected]> wrote:
> > Hello EveryBody
>
> > I have a page with radiobuttons and I need to click the last RB I get.
>
> > NOTE: the number of radiobuttons varies depending on the search.
>
> > I hope someone can I help me.
>
> > Regards.
>
> > --
> > YesterdayDj`s Labs
>
> > --
> > 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- Hide quoted text -
>
> - Show quoted text -
--
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