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 to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?
How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
write script for bitmap image?
in qtp how we work with out put values and what is the process?
what properties do use to identify a browser and page while using descriptive programming?
one page contain next button.when we enter that its not going to next page.what type of error that one.
How do you export an output to a excel sheet? Ex: I get my answer by using Msgbox"..." &R. How do I displayed the result of the Msgbox (such as R) to an excel sheet? Please let me know.Thanks
How open an excel sheet in QTP(not a run time )?
Where the text version of script file located in file system?
In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.
Tell me the difference between QTP9.2, QTP9.5 and QTP10.0