How to get the Font size in QTP?

To get the font size, there are many methods available in QTP.

E.g.,

  a= Window("yahoo").page("yahoo").Webedit

("name").getroproperty("outerhtml")

i=split(a,"=")

msgbox i(0)

(OR)

 msgbox Browser("yahoo").Page("yahoo").Webedit("name").object.currentstyle.fontsize

(OR)

 a=Browser("").page("").Webedit("").GetRoProperty("width in characters")

msgbox a

Comments

Popular posts from this blog

Is QA a easy job?

Latest Version of TestComplete

Successful tester