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
Which in-built function is used to format the number in the vbscript language?
How will you convert a string to upper case string using vbscript?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
Explain the .wsf files?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
give me any information abou vb script books learn quckly
When to use function procedures and what are its characteristics?
How to delete a cookie using vbscript?
What is the technology used by vb script?
How to create a function in vbscript?
Mention how you can call vbscript functions?
What are the valid scopes of a variable in vbscript?
How will you get a string with the specified character the specified number of times in vbscript?