validating the text

Hi,

I want to validate the text

but the pages are different one is having some backgroundclour
and another one plain in web page

is their any method that we can get the only text into one format in a file
and compare both of them, then validation makes easy.

please concentrate on this, this will be useful to everyone

You can use text images and use variables for the properties that need to change. So you could use a variable for the text itself and for the background color:

if not imageFound((text:textVar, textFont:"Arial", textSize:"8", textBackgroundColor:colorVar)) then
     //do something or log an error
end if