Because the object state got changed upon mouse over, you have to use FireEvent method.
Syntax would look like below: Object.FireEven "onmouseover" After this you have to use method to get the back ground color On Monday, 7 January 2013 11:41:21 UTC+5:30, shilpa gupta wrote: > > Hi All > > Pls see below query: > I have windows based application and a button is highlighted (its color > changed) on mousehover over that button. > how this can be done in qtp 11 > 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
