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

Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where.

8 Answers   Microsoft,


HI! I have completed my testing course in 2008. but now am working in banking sector as a data analyst and i want to move to an IT based company but am unable to understand whether i have to complete the testing course again and try for a job .

1 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail. Could you please any assist in this?

2 Answers  


What are the views available in quicktest professional (qtp)?

0 Answers  


Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay

0 Answers   Zensar,


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

0 Answers  


Out of 3 recording modes. 1.Standard 2.Analog 3.Low-level, which one is commonly used. As per my knowledge, Analog is used for Graphs , barcoding or DIgital signatures.

0 Answers  


what is mean by soi in object identification

1 Answers  


What is the difference between keyword driven frameworkd and Modularisation framework?(Chandana)

5 Answers   Wipro,


Which object model ur used in ur project

2 Answers   Cap Gemini,


According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com

1 Answers   HCL,


What scripting language QTP of?

4 Answers  


Categories