Micro Focus QTP (UFT) Forums

Full Version: Font Size & Color Testing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can we test Font Size, Font Color in web application using QTP.
Yes, but whose font size and color do u want to test?
let me give one general example for an web element.use the below code
Code:
WebElement("SomeName").Object.currentStyle.someProperty

here 'someProperty' can be:color,fontSize,fontstyle etc...