In DotNet application there are standard and custom object and for that QTP
unable to retrive certain property values due to child objects property
cannot retrive direclty or perform any operation e.g. set, input, select
then use .Object methods

e.g. SwfWindow("****).SwfObject("****").Object.ChildItem(i).Text

SwfWindow("****).SwfObject("****").Object.ChildItem(i).Set "xyx"

To know the Child property there is .Net Spy avaliable if you installed .Net
addin in addtion to standard Object Spy.

Explore more about .net spy you will find more details about object methods.

-Shirish


On Tue, Jan 25, 2011 at 8:06 AM, Shell <[email protected]> wrote:

> Hi,
>
> Can anyone please help me that how does .object method works in QTP?
>
> Eg: SwfWindow("****).SwfObject("****").Object
>
> 1. Why do we use it?
> 2. How do we use it?
>
> Thanks
> Shell
>
> --
> 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