what is bultin funtaion in QTP &tell me five examples?
Answers were Sorted based on User's Feedback
Answer / sreekanth chilam
QTP provides 3 types of Fucntions:
1.Builtin Functions
2.Local Script functions
3.Library functions
Built functions are those which are already defined &
provided QTP by default.
For Built-in functions,only function Declaration/Calling is
sufficient for getting the output of that functions.
Some of the Bulit-in functions in qtp :
Date
Split
Left
Right
Mid
Abs
Ltrim
Rtrim
Trim
Invokeapplication
Lcase
UCase
Strrev
Len
Ubound
Lbound
Cint
CreateObject
Cstr
DatePart
Datediff
| Is This Answer Correct ? | 15 Yes | 0 No |
The following table contains the VBScript Built in
functions in QTP.
Abs Array Asc Atn
CBool CByte CCur CDate
CDbl Chr CInt CLng
Conversions Cos CreateObject CSng
Date DateAdd DateDiff DatePart
DateSerial DateValue Day Derived Maths
Eval Exp Filter FormatCurrency
FormatDateTime FormatNumber FormatPercent GetLocale
GetObject GetRef Hex Hour
InputBox InStr InStrRev Int, Fixs
IsArray IsDate IsEmpty IsNull
IsNumeric IsObject Join LBound
LCase Left Len LoadPicture
Log LTrim; RTrim; and Trims Maths Mid
Minute Month MonthName MsgBox
Now Oct Replace RGB
Right Rnd Round ScriptEngine
ScriptEngineBuildVersion ScriptEngineMajorVersion
ScriptEngineMinorVersion Second
SetLocale Sgn Sin Space
Split Sqr StrComp String
Tan Time Timer TimeSerial
TimeValue TypeName UBound UCase
VarType Weekday WeekdayName Year
| Is This Answer Correct ? | 11 Yes | 0 No |
Built-in functions Displays the built-in functions defined
by QuickTest Professional and their current values.
User-defined. Displays both internal and external user-
defined functions and their current values.
Bulitin functions in QTP are:
Click
Close
Exist
GetRoProperty
SetToProperty
Page
FullScreen
Back
CaptureBitmap.....etc.
| Is This Answer Correct ? | 9 Yes | 5 No |
Answer / ramesh murthy
if you want QTP Scripts & Features Information
Visit:
www.gcreddy.com
in that site so many examples available
web scripts
Excel scripts
Flat file Scripts
Database Scripts
etc..
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / yashwanth
not vb script functions in qtp,
whether only qtp built in functions are available or not
i want
please anyone answer this question and also generic functions
please send to my mail id yashu.kola@gmail.com
| Is This Answer Correct ? | 1 Yes | 1 No |
Diff b/w WEB TESTING AND Client server testing?
How we can call the scripit from another scripit in QTP?,Not a call Action
Hi, I am new to QTP testing and was exploring the frameworks used for automation. I wanted help in writing various scripts and files for keyword driven automation like 1. Control File 2. Test Case File 3. Startup Script 4. Driver Script 5. Utility Script . etc It would be great if someone can give help in this context ... Thanks
What is the Risk Analysis? Waht types of risk analysis are there?
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
I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?
what is the diffrence bw qtp architectute and qtp framework?
Hi, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...and also let me know is there any other automation tool availabe to automate Microsoft Dynamic Navision. Thanks Sandip. +91-9714177088
In QTP whether is it possible to call a function from one action to another action?
what is active screen,keyboard view?
What does ".mst" stands for? (abc.mst)
How to execute a WinRunner Script in QTP?