Hi All,
I am trying to automate an application. In this on clicking save button if there is any error it appears in red text in some place.
I want to check if there is any text in red in the whole page.
Currently I am using

For i=0 to objectcount
'using currentstyle.color to check the text color


Is there any better method to achieve the same.

There are a lot many save buttons and each time if I do this the function takes about 2 to 3 minutes since there are thousands of objects.

Thank You