The only way that comes to mind, is simply to scan through the innerHTML of the element ... that gives you the ability to see font tags, class &| style attributes, etc ...
Anyways, just passing it along ... The stylesheets portion of the pages are off under a very ugly almost unreachable OLE interface that i've still not grokked well enough to be able to dig through. j. On 12/19/05, chaya shetty <[EMAIL PROTECTED]> wrote: > Hi, > I want to write a test case in which I am required to verify the > allignment and font of the text. Is there a way in watir by which I can > retrieve the allignment and font of the text? > > Thanks > Chaya > > Send instant messages to your online friends http://in.messenger.yahoo.com > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > > > -- "Remember. Understand. Believe. Yield! -> http://ruby-lang.org" Jeff Wood _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
