Innertext & punctuation after CSS applied

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
mhare
Posts: 3
Joined: Fri Mar 27, 2015 2:42 pm

Innertext & punctuation after CSS applied

Post by mhare » Fri Mar 27, 2015 2:50 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Innertext & punctuation after CSS applied

Post by Support Team » Tue Mar 31, 2015 10:18 am

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

mhare
Posts: 3
Joined: Fri Mar 27, 2015 2:42 pm

Re: Innertext & punctuation after CSS applied

Post by mhare » Tue Mar 31, 2015 8:19 pm

Thanks for the reply Robert. I was thinking that might be the case.