2. With the help of for loop we can accesss the all rows and columns  of
table.

  for i=1 to rowcount
    set a= datatable.getsheet("sheet1").setcurrentrow(i)
     a.highlight()
     a.color("#000111")


Akhalesh

On Sun, Sep 2, 2012 at 2:01 PM, shilpa gupta <[email protected]>wrote:

> Hi friends
>
> I am new member of the group, have below queries for QTP 11, windows based
> application:
>
> 1. want to know how to find the color of any object (button etc) in
> windows based application, i searched and found the methods for web based
> application but not for windows based
> 2. in a windows application, there is a table (having multiple rows and
> columns). i want to know the row which is selected (highlighted) , how can
> this be done
> 3. and also on selecting any row in the table, the color of the selected
> row changes. how can we get the color of the selected row
>
> please reply
>
> Regards
>
> --
> 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
>



-- 
Akhalesh yadav
+919555717928
+919310680659

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