two steps you have to do

   1. chose the webelement whose value u wanted to get
   2. use getroproperty methode for that webelement and get ur required
   property value

Regards,
Vamsi

On Sat, Jun 11, 2011 at 12:54 PM, avinash vl <[email protected]> wrote:

> not sure is this you are asking
> try this
>
>
> a = browser("").Page("").Link("Google Groups").getRoProperty("text")
> If (instr(a, "google" ) > 0 Then
>   b = right(a, (len(a) - 7 )     ' 7 for google and space
> End if
>
> environment.value("abc") = b
>
> now pass b where ever you needed
>
>
> Regards,
> Avinash
>
>
>
> On Mon, Jun 6, 2011 at 6:32 PM, Ganga Subash <
> [email protected]> wrote:
>
>> Hi All,
>>
>> How to select a particular word from the webpage using QTP scrit.
>> E..g : Google Groups
>> Here, I want to select the word 'Groups'(Dynamic, differs in run time) and
>> then need to Copy & paste to another web application.
>>
>> Thanks in Advance,
>> Ganga
>>
>> --
>> 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
> "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
"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