How can you test font size, type and color using QTP tool?
Answer Posted / dharit shah
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 |
Post New Answer View All Answers
What is the difference between vbscript and vba?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
How will you get the octal value of the given number in vbscript?
how to automatically update the sql server2005 database records when insert in vb6?
When are redim statement and preserve keyword used in the vbscript language?
Why is error handling required?
Explain about operator precedence in vb script?
Mention what is vbscript?
What's the difference between vbscript and vb.net?
When does ‘on click of button’ event gets triggered in the vbscript language?
give me any information abou vb script books learn quckly
How to make sure that items in a wintree are sorted al?
How will you get the exponent of the given number in vbscript?
How will you reverse a string in vbscript?
Mention how to assign a date value to a variable?