dharit


{ City } mumbai
< Country > india
* Profession * test engeneer
User No # 30579
Total Questions Posted # 1
Total Answers Posted # 1

Total Answers Posted for My Questions # 2
Total Views for My Questions # 4778

Users Marked my Answers as Correct # 8
Users Marked my Answers as Wrong # 5
Questions / { dharit }
Questions Answers Category Views Company eMail

Hi I able to record IE object but not able to record mozilla firefox 3 object using QTP 10. i don know wats the problem????

2 QTP 4778




Answers / { dharit }

Question { 20130 }

How can you test font size, type and color using QTP tool?


Answer

Set oWebElement = Browser("START").Page("START").WebElement
("ResizeText")
'Grabe the WebElement’s Runtime-Object’s CurrentStyle object
Set oStyle = oWebElement.Object.CurrentStyle
Msgbox oStyle.Color
Msgbox oStyle.fontWeight
Msgbox oStyle.fontStyle
Msgbox oStyle.fontSize

Is This Answer Correct ?    8 Yes 5 No