Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Font Size & Color Testing
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
How can we test Font Size, Font Color in web application using QTP.
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)