Hi Nani,
I have tried ur query using below code. TO and RO are working fine for
me.Pls find below the code:-
browser("name:=Google").page("title:=Google").webedit("html
tag:=INPUT").set "Gaurav"
ggg=Browser("name:=Google").page("title:=Google").webedit("html
tag:=INPUT").*GetTOProperty*("value")
msgbox ggg
*Ans - Blank
*browser("name:=Google").page("title:=Google").webedit("html
tag:=INPUT").set "Gaurav"
ggg=Browser("name:=Google").page("title:=Google").webedit("html
tag:=INPUT").*GetROProperty*("value")
msgbox ggg
*Ans -Gaurav
*Regards,
Gaurav
*
*On Thu, Mar 7, 2013 at 5:08 AM, Nani <[email protected]> wrote:
>
> *a = Browser("name:= actiTIME - Login").Page("title:= actiTIME -
> Login").WebEdit("name:= username").GetTOProperty("name")
> msgbox a*
>
> On Wed, Mar 6, 2013 at 7:20 PM, gaurav sharma <[email protected]> wrote:
>
>> Nani, Can u pls paste the code correctly here so that we can dry run it
>> and chk where the problem is..
>>
>> On Wed, Mar 6, 2013 at 6:36 PM, Nani <[email protected]> wrote:
>>
>>> correct Gaurav,
>>> tht's what i don't understood here !
>>>
>>> Regards,
>>> Thrinath
>>>
>>>
>>> On Wed, Mar 6, 2013 at 6:31 PM, gaurav sharma <[email protected]>wrote:
>>>
>>>> Hi Ravi,
>>>>
>>>> since Nani said that OR is empty then how come he is able to retrieve
>>>> the data with Gettoproperty?
>>>>
>>>> Regards,
>>>> Gaurav
>>>>
>>>>
>>>> On Wed, Mar 6, 2013 at 10:46 AM, Ravi kiran <[email protected]
>>>> > wrote:
>>>>
>>>>> TestObject means added object into the Object Repository
>>>>> Runtime object means identify object while execution of script
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Mar 6, 2013 at 9:31 AM, Nani <[email protected]> wrote:
>>>>>
>>>>>> Can you please give me any example for TestObject and RunTime Object.
>>>>>> Thx.
>>>>>>
>>>>>> On Wed, Mar 6, 2013 at 8:50 AM, gaurav sharma
>>>>>> <[email protected]>wrote:
>>>>>>
>>>>>>> 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.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> 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.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> 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.
>>>>
>>>>
>>>>
>>>
>>> --
>>> --
>>> 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.
>>
>>
>>
>
> --
> --
> 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.