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

how to know no.of mails in our g mail by using vb-script

0 Answers   HP, Thinking Hats,


in which situation u will use recording and in which situation u will used to write script manually

1 Answers  


Write the vb script for the lowest and highest values of an array?

1 Answers   Manhattan,


how u will evaluate the tool for test automation?

0 Answers   SysArc,


With help of object repository,we can able to write the descriptive program manually?

1 Answers  






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.

0 Answers  


What is smart identification in QTP?

0 Answers   HCL,


What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?

1 Answers   Infosys,


Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first

2 Answers   Symphony,


Explain different type of event trigger option.

0 Answers  


What is .Ini file in QTP?

3 Answers  


If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.

1 Answers  


Categories