how to get font size of a "WebEdit"

Answers were Sorted based on User's Feedback



how to get font size of a "WebEdit"..

Answer / latha

Browser("yahoo").Page("yahoo").Webedit
("name").object.currentstyle.fontsize

Is This Answer Correct ?    19 Yes 0 No

how to get font size of a "WebEdit"..

Answer / ragupathi from syntel

'We will use OUTERHTML Property and use split concept we
will get font size

Example
Outerhtml=<input size=12 .....>

dim a,i
a= Window("yahoo").page("yahoo").Webedit
("name").getroproperty("outerhtml")
i=split(a,"=")

msgbox i(0)

thats just for example only

Is This Answer Correct ?    1 Yes 6 No

how to get font size of a "WebEdit"..

Answer / saravanaraja

a=Browser("").page("").Webedit("").GetRoProperty("width in
characters")

msgbox a

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More QTP Interview Questions

What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?

2 Answers   TCS,


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

0 Answers   Mindlance,


What is the Limitations of Testing ?

4 Answers   TCS,


i m fresher iwant to know about testing what is the scope of testing field.i m aware in manual testing shall i go to automatiuon testinh directly or if any work experinc in manual testinh then only i go to manually automation testing.

2 Answers  


Explain hybrid framework with advantages and disadvantages?

0 Answers  






what are the different Frame Works in Quick Test Proffessional testing

5 Answers   Wipro,


How does QTP identifies the object in the application?

1 Answers   Crea,


draw the qtp frame work?

0 Answers  


why we use sendkey method in qtp?

2 Answers   ABC,


Can we create a qtp test from qc?

0 Answers  


How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


how we connect oracle or sql data server database to qtp

3 Answers   Tanla Solutions,


Categories