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 |
Hi all, what is the latest version of QTP?
Please have a look at this: a = Browser("Travel Boutique Online").Page("Travel Boutique Online_2").webelement("innerhtml:=2622").getroproperty("y") a=a+9 msgbox a Browser("Travel Boutique Online").Page("Travel Boutique Online_2").image("alt:=check","y:=a").click Now please let me explain. As clear from code I am trying to enter value of variable 'a' as Property y. But each time QTP AND MY SYSTEM stops responding when this line is execcuted. But When i enter some number in place of 'a' in the last line. it works fine. Please let me know what I am doing wrong at time of entering the variable in last line. Thanks a lot
Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?
Can you import and export data from XLS and how?
How to change the scripts from Per-Action object repository to shared object repository
Differences between text and test area checkpoints?
How to handle the exceptions using recovery scenario manager in QTP?
What is the difference between keyword driven frameworkd and Modularisation framework?(Chandana)
How many types of Automation frameworks are there in UFT? Describe them.
What is throw object?
does test plan is in test strategy or test strategy is in test plan.
what is the difference between quality and testing ?