Verify the Font Size and Type Font on A Button

How to apply eValid to functional testing of web applications.

Verify the Font Size and Type Font on A Button

Postby style » Mon Jul 26, 2010 3:33 pm

Can eValid verify the font size and type font on a button on my web page?
style
 
Posts: 3
Joined: Wed Apr 07, 2010 12:37 pm

Re: Verify the Font Size and Type Font on A Button

Postby eValid » Mon Aug 09, 2010 11:02 am

style wrote:Can eValid verify the font size and type font on a button on my web page?

In most web pages the cascading style sheet determines default values for the type font and the type size and these are not usually reflected in the DOM of the individual page.

But if the current item you're concerned with is different from those defaults, then the actual font, fontFamily, fontSize, fontVariant and fontWeight attributes will be viewable in the DOM for that particular element.

In this case eValid hs a very powerful command: ValidateSelectedObjProperty for which there are variations that let you confirm what you "assert" to be the expected value of any propoerty on any element in the current page.

The eValid Team
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons