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 |
How would you directly trigger javascript in a test?
what is output value in QTP and how it can be used in automation testing
What is runtime objects and test objects? What is the difference between them?
pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example
Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766
What is output value?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
How can we translate the steps between the Keyword and Expert Views?
How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)
what are the mandatory properties for a tex boxc (scenario?)