what is bultin funtaion in QTP &tell me five examples?

Answers were Sorted based on User's Feedback



what is bultin funtaion in QTP &tell me five examples?..

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

what is bultin funtaion in QTP &tell me five examples?..

Answer / murali raju

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

what is bultin funtaion in QTP &tell me five examples?..

Answer / nani

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

what is bultin funtaion in QTP &tell me five examples?..

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

what is bultin funtaion in QTP &tell me five examples?..

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

Post New Answer

More QTP Interview Questions

How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

0 Answers  


What is Optional step?

4 Answers  


HI All i need one suggestion.is there any companies taking corresponding degree courses. i have 3+ yrs exp in QTP and i am working north side. iam looking for job in south.

1 Answers  


What is data driven testing in QTP?

11 Answers   Agile Software,


Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.

1 Answers  






I am just a beginner in QTP. Could any one explain me in detail how to automate adding two numbers and getting the result in QTP. Also I would like to parameterize the inputs. I have tried but getting an error like 'Can't use sub.....'(can't recollect the exact error)

2 Answers  


Who uses qtp tool?

0 Answers  


What is the current version of QTP and now it is the product of Mercury or HP

12 Answers   TCS,


HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

0 Answers  


How to test results for qtp ?

0 Answers  


what r the executing modes in QTP

2 Answers  


we have 10 actions in out test how can we convert 9th action is main action ? how ?

5 Answers  


Categories