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.
Innertext & punctuation after CSS applied
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Innertext & punctuation after CSS applied
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
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
Thanks for the reply Robert. I was thinking that might be the case.