The code would be something like this. You need to change the object
properties according to your application...
*Set obj = Description.Create
*
*obj("micclass").value = "WebRadioGroup"
*
*Set objRadioBtnGrp = Br("").Pg("").ChildObjects(obj)
*
*count = objRadioBtnGrp.Count
*
*For i=0 to count-1
objRadioBtnGrp(i).Select (5) ' The sixth value can have index of 5 or 6
*
*Next*
*
cheers,
a n i s h
[QTP Framework
Tutorials]<http://www.automationrepository.com/2012/03/qtp-framework-types-an-introduction/>|
[QTP
Blogs] <http://www.automationrepository.com/qtp-blogs/>
**
[Subscribe to get new posts in your
Inbox]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds>
*
On Fri, Aug 2, 2013 at 2:42 PM, Bheemla Naik <[email protected]> wrote:
> I am pretty new to QTP.
>
> could you please help me on below scenario through descriptive programming
>
> i have 3 questions and each qustion has 6 radio buttons and i have to
> select 6th button for 3 question.
>
> please help me how to do this
>
> Thanks in advance
>
>
> --
> --
> 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 Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Anish Pillai
My QTP Blog <http://automationrepository.blogspot.com>
--
--
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 Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.