I have a Webedit object. some text is entered in that object
I want to know the font sixe of that text.How could I do
this using QTP? This is a requirement for me. I am happy if
any one help on this

Answer Posted / sunny

Hi

U can know the font size thru that object property recorded
in object repository. or else u can add that property to
object repository and by using x= oh.fontsize method u can
get the font size of that object.....

Plz post the reply if it works fine i never tried this.........

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.

1913


How does qtp identify the object in the application?

752


How to customize qtp?

824


What is the limitation to XML Checkpoints?

1857


What is keyword view in qtp?

744


How do you check ticket cost and ticket number in flight application?

843


images are dynamically changes how to compare two images with out using the bitmap

2222


what type of automation is follwed in the project?

1731


Explain about datafile/verification of date file when file is not available in local system?

2511


Describe the differences between functions and actions in UFT?

840


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1660


What are the different recording modes and how do they work?

855


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3585


Explain quicktest professional testing process?

759


What are the factors on which script execution time is dependent?

835