Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I have a Webedit object. some text is entered in that object
I want to know the font sixe of that text.How could I do
this using QTP? This is a requirement for me. I am happy if
any one help on this

Answers were Sorted based on User's Feedback



I have a Webedit object. some text is entered in that object I want to know the font sixe of that t..

Answer / jalsa

mr sunny what u said it is ok.what is ur answer for given
question.first u give the answer then u talk anything.don't
point of others.

Is This Answer Correct ?    1 Yes 2 No

I have a Webedit object. some text is entered in that object I want to know the font sixe of that t..

Answer / sunny

Hi

U can know the font size thru that object property recorded
in object repository. or else u can add that property to
object repository and by using x= oh.fontsize method u can
get the font size of that object.....

Plz post the reply if it works fine i never tried this.........

Is This Answer Correct ?    1 Yes 3 No

I have a Webedit object. some text is entered in that object I want to know the font sixe of that t..

Answer / a

SUNNY -
DONT post anything If you dont try it. Don't waste people
time.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More QTP Interview Questions

in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page

1 Answers  


Describe synchronization point.

0 Answers  


How to get line numbers in your editor in expert view?

1 Answers  


how to capture (or) checkpoint for chineese or any other language except english using QTP in a web page. ( my application have 24 language, how to check those lanugages using QTP? is it possible). Please let me know

3 Answers  


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b

3 Answers  


We stored into the objects OR and then write the scripting

0 Answers   L&T, Wipro,


Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J

1 Answers   ADP,


To count the no of links present in the yahoo home page i have written the script like this Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile ("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo! India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing While running the script it showing error that object "yahoo"isnot found in the object repository. Is there any setting before running the script? if yes what is the steps for it.Im using QTP9.0

2 Answers  


What is deference between normal QTP testing and descriptive programming?

4 Answers   Polaris,


Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.

6 Answers   GE,


Where virtual objects stores results?

4 Answers  


Where the text version of script file located in file system?

1 Answers  


Categories