how to get font size of a "WebEdit"
Answers were Sorted based on User's Feedback
Answer / latha
Browser("yahoo").Page("yahoo").Webedit
("name").object.currentstyle.fontsize
| Is This Answer Correct ? | 19 Yes | 0 No |
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 |
Answer / saravanaraja
a=Browser("").page("").Webedit("").GetRoProperty("width in
characters")
msgbox a
| Is This Answer Correct ? | 0 Yes | 7 No |
how to retrieve data from flight resevation->reports
HO DO U CALL A ACTION?
How can we count the no of rows are available in a data table ?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)
w is time parameter
what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
Hi i have a webtable which is having 7 columns and 6 rows of data in that table of 4th and 5 th column each row is partiotioned into 3 sub rows i want to verify in each partitioned rows of corresponding row for ex values will be like this 0 / 1 ,26/28.if it is 0/1 i want to skip only if any num/num greater than 1 i want to click.
Can any body please tell me the steps of keyword driven framework of QTP.
can somebody send the script to write a multiplication table in notepad through qtp