Hi Chinna,

You are most welcome to read the following article at Relevant Codes:
http://relevantcodes.com/qtp-all-about-the-description-object-description-create/

"Description.Create" forms the basis of ChildObjects, and I think you
might find the article quite helpful.

-Anshoo


On Feb 15, 10:39 pm, b sridhar <[email protected]> wrote:
> Hi Chinna,
>
> The advantage of child object is:
>
>     If you want to select a one particular link out of some number of links
> on a web page,You have to use childobjects method and by using *
> GetROProperty* method you can pick the required property to validate and to
> select that matched property link.
>
> Ex:
>     Set strDesc= Descritpion.Create()
>     strDesc("micclass").Value="Link"
>     Set
> strLinks=Browser("Yahoomail").Page("Yahoomail").ChildObjects(strDesc)
> *Use the count property to get the total number of links on a webpage*
>     strTotalNoOfLinks=strLinks.Count
>
>   *Thanks*
> *  Sridhar  *
>
> On 2/14/10, chinna <[email protected]> wrote:
>
> > what is use of childobject in qtp please give example with details
>
> > --
> > Thanks & Regards,
> > Chinna,
> > Mob:9739656841
>
> > --
> > 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]<mercuryqtp%[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

Reply via email to