Hi Thrinath,

Lets understand the basic of TO and RO in VB.

TO-Test object
RO - Runtime object

GetTO - is used to retrieve the property value when the object is static.
GetRO- is used to retrieve the property value when the object is in runtime
state.
*
Runtime object means when any method or operation is performed on any
object resulting in its change in its property's value.*

I hope this will  work. :)

Regards,
Gaurav

On Wed, Mar 6, 2013 at 7:05 AM, Thrinath <[email protected]> wrote:

>
> Hi,
>
> I had written below line in description programing, to retrieve value of
> an property ( Repository is Empty)
>
> *a = Browser("name:= actiTIME - Login").Page("title:= actiTIME -
> Login").WebEdit("name:= username").GetTOProperty("name")
> msgbox a
>
> *when i run the script am getting O/P "username"!
> as per my knowledge it should retrieve BLANK, bcs repository is Empty!
>
> What is exact difference between "GetROProperty" & "GetTOProperty"?
>
> Thanks,
> Thrinath
>
>  --
> --
> 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.
>
>
>



-- 
GAURAV SHARMA
S/W ENGG.
ACCENTURE

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


Reply via email to