Using childobjects concept you can get the count of of the all the edit
boxes.
and then use index concept to get each object individually.
'describe ur edit box
set a=description.create()
a("micclass").value="WebEdit"
''get all the edit boxes in object c
set c=object.Childobjects(a)
''getting each eidt box
c(0) is the first edit box
c(2) is the thrid edit box
Regards,
Vamsi
On Thu, Sep 15, 2011 at 6:45 PM, Sandeep PL <[email protected]> wrote:
> My editbox is similar to Google search field , no property is helping me to
> use getroproperty
> On 15-Sep-2011 5:43 PM, "raghu busireddy" <[email protected]>
> wrote:
> > Hi SANDEEP,
> >
> > I think u are taking about List box not Edit box.
> >
> > if u want count no of item present in List box use Get Ro
> > Property("itemscount")
> >
> > Reply
> > Thanks
> > raghu
> >
> > On Wed, Sep 14, 2011 at 10:14 PM, Sandeep PL <[email protected]>
> wrote:
> >
> >> HI,
> >>
> >> In Edit box after entering few char, List of Items are displayed ,
> >> When I spy that I am getting it as web element.
> >> But I need to Count the Number of Items displayed and get the names
> >> of all items , Please suggest me any work around is there .
> >>
> >> Thank you,
> >> Sandeep
> >>
> >> --
> >> 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
>
> --
> 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