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
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 |
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 |
in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page
Describe synchronization point.
How to get line numbers in your editor in expert view?
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
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
We stored into the objects OR and then write the scripting
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
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
What is deference between normal QTP testing and descriptive programming?
Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.
Where virtual objects stores results?
Where the text version of script file located in file system?