Page 1 of 1

Innertext & punctuation after CSS applied

Posted: Fri Mar 27, 2015 2:50 pm
by mhare
I am testing an application where we are using CSS to capitalize field names. My issue, is I want to validate the text displayed on the web page, to validate CSS is applied correctly.

For example - xpath for the label is showing ....../label[innertext="Email address"] however on the screen it appears as EMAIL ADDRESS.

Using Ranorex, is there a way to validate what is displayed on the screen, once the style has been applied?

Thanks you.

Re: Innertext & punctuation after CSS applied

Posted: Tue Mar 31, 2015 10:18 am
by Support Team
Hello mhare,

I’m afraid that I won’t be possible to check if a CSS is correctly applied using Ranorex. The issue is that the DOM-objects do not hold the information about their actual/rendered appearance.

Regards,
Robert

Re: Innertext & punctuation after CSS applied

Posted: Tue Mar 31, 2015 8:19 pm
by mhare
Thanks for the reply Robert. I was thinking that might be the case.