Page 1 of 1

Validate text color

Posted: Mon Dec 16, 2019 11:45 am
by SanMan
I have a table and there is a text with some color:

/row[@index='0']/cell[@content='<html><style>body {font: 11 Tahoma; color:#FF00FF}...

What is the best way to validate the text color?

Should I save the content to String and then search the "color:" and read the value?

Or is there some better ways to do this?

Re: Validate text color

Posted: Mon Dec 16, 2019 11:56 am
by odklizec
Hi,

Could you please post a Ranorex snapshot (NOT screenshot) of given element? It would be much easier to determine what to do. Thanks.