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

Explain the features and benefits of quick test pro(qtp)?

0 Answers  


How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies

4 Answers   Semantic Space,


what is reusable action and how the same can be implemented (process)?

2 Answers  


w is output value

3 Answers   MBT,


What is keyword driven testing..what is the use of this in Automated testing

2 Answers   IBM,






Does QTP record on Objects created on XWindows Environment?

0 Answers   Infotech,


what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?

2 Answers   Covansys, Systel,


What is the regular expression for Yahoo mail Inbox?

2 Answers  


How to change the run-time value of a property for an object in QTP?

4 Answers  


what is file database

1 Answers   Wipro,


How is the Bitmap checkpoint different from Image checkpoint?

0 Answers  


i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.

1 Answers  


Categories