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 modular and data and keyword driven framework
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
Explain about tristate constants?
What is select case statement?
Explain the scope of the variables using dim, public, and private keywords respectively.
How will you get a subset of a array in vbscript?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
Which function allows you to instantiate an object given its programmatic identifier or progid?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
What are the naming conventions while declaring a variable in the vbscript language?
what is event handling?
write a program to display configuration of a local system with the help of vb script.
Mention what if you do not specify anything when you call a procedure?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.