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 |
What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP
Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.
What are output values and why they are used ?
will QTP accepts javascript?
How can you exit from an action?
how can you write a script without using GUI in QTP?
what is the difference between DATA TABLE and DATA SET?
What is SQL injection?
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND
What r types of parametarizations?
Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?
vb script for calling one function to the another function