Hi Aneel, Get the perticuler text as below Set Newobject= Browser().Page().Webtable()
svtext= Newobject.GetCellData(Row,Coloum) We can get the color name of an object as below svbackgrdcolor=Newobject.Object.CurrentStyle.backgroundColor We can get the below information as well using Currentstyle sColor = objWebEl.currentStyle.color sBackgrColor = objWebEl.currentStyle.backgroundColor sFontSize = objWebEl.currentStyle.fontSize sFontStyle = objWebEl.currentStyle.fontStyle sFontFamily = objWebEl.currentStyle.fontFamily sFontWeight = objWebEl.currentStyle.fontWeight Thanks Venkat Reddy 9884524606 On Friday, 8 February 2013 09:39:40 UTC+5:30, aneel wrote: > > Hi All, > > In my windows application we have java table with colored cell and we want > to click on a particular cell which have a particular color and have a > particular text. > > I tried on google but unable to find any approach, > > My question is How we can find the background and foreground color of > particular cell in java table. > > Please respond. > > Thanks and Regards, > Aneel > > -- -- 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/groups/opt_out.
