Hello,
To understand the difference between GetTOProperty and GetROProperty, you
need to understand Test Object and Run Time Object. Test Object is the
object captured by QTP either during record or when a object is captured
manually. QTP will Test Object to identify the AUT (Application Under Test)
during run session. Run Time Object is the actual object of AUT. If Test
Object and Run Time object matches then QTP will identify the object.

GetTOProperty will retrieve the value from Test Object. If have you recorded
a WebList object, and if you are trying to get the count of that list, you
will get the count from Test Object i.e. if that WebList object had 4 items
at the time of recording, that will be retrieved.

GetROProperty will retrieve the value from Run Time Object i.e if you have
10 items in the WebList Object (AUT), that value will be retrieved.

Hope this answers your queries.

Regards,
Saif

On Wed, Oct 22, 2008 at 2:13 PM, Sundar <[EMAIL PROTECTED]> wrote:

>
> Any body can explain difference between GETROPROPERTY and
> GETTOPROPERTY.
>
>
> I got the no of items in the list box by using following script
>
> count=browser(" ").Page(" ").weblist("  ").GETROPROPERTY("Items
> count")
>
>                                                  (or)
>
> count=browser(" ").Page(" ").weblist("  ").GETTOPROPERTY("Items
> count")
>
>
> But I cant get the difference.  Any body please explain
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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