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

What do you to script when objects are removed from application?

610


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

1718


What is text check point and text area check point?

604


How smart identification works in qtp ?

574


Shall we add Local Repository to shared object repository,if yes,how we add

5680






when u script reveiwing in which area u more concentrates?

1416


What is the Command used to start the QTP

1529


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

1484


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1540


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1620


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1384


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

525


What are the features of quick test pro(qtp)?

529


Can you write a script to check if the folder exists or not?

515


What are advantages of test automation?

663