Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to make sure that items in a wintree are sorted al?

2853


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

2018


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

2241


How to take whole text output from screen of Bitmap Application.

2380


Explain the scope of the variables using dim, public, and private keywords respectively.

1165


Mention characteristics of sub procedures?

1057


Explain How do you create a recordset object in vbscript?

1030


How can you create an object in vbscript?

1094


What is the difference between a dictionary and an array?

1079


Explain what is loose binding? Why is it not a good practice to use it?

1098


Why to use option explicit in vb script?

1067


What is the extension of the vbscript file?

1061


What is the use of the recordset object and which statement is used to create such an object?

981


How to Import data from a file (file is on the desktop) to the data table

2078


How you can call vbscript functions?

1102