Gopi:

Assuming it is a web edit box;

Set obj = Browser(browser).Page(page).webedit(editbox).object

sColour = obj.currentStyle.color
msgbox "colour = " & sColour

hth


Parke


On Mon, Mar 19, 2012 at 6:15 AM, shashi qa <[email protected]> wrote:

> Use Getroproperty
>
>
>
> shashi
>
>
> On Mon, Mar 19, 2012 at 11:24 AM, GOPI <[email protected]> wrote:
>
>> How we select color is changing to yellow in a text box using qtp
>>
>> --
>> 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
>>
>
>
>
> --
> Regards
>
> Shashidhar
> +91 -8125564879
> [email protected]
>
>  --
> 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
>



-- 
Parke
Cell: 770-842-0121

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