Hi Sweta,
Please try the below code to retrieve row color,
Set cellRender = jTableObj.Object.getCellRenderer(0,1)
' background color '
cellRender.getBackground().toString()
' returns: "javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]" '
' font color '
cellRender.getForeground().toString()
If the above code doesnt work, please send recorded code or send
screenshot of property intellisense.
Regards,
Udhay
On Mon, Nov 14, 2016 at 5:30 PM, Sweta kumari <[email protected]> wrote:
> Hi everyone,
>
> I really need help in qtp , i am trying to retrieve row color from a java
> table , but i am not able to get . Please help .
>
> Thanks and Regards,
> Sweta
>
> --
> --
> 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/d/optout.
>
--
--
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/d/optout.