|
271. What Does Split Function Do?
Date Posted: 06/27/2012
Ans: Returns a zero based, one dimensional array containing a specified number of substrings.
|
|
|
272. What Is The Function Of Get Sheet Method In The Data Table?
Date Posted: 06/27/2012
Ans: Only sets focus on the current sheet.
|
|
|
273. Can Launch Two Instances Of QTP On The Same Machine?
Date Posted: 06/27/2012
Ans: No. You can work with only single instance of QTP on the same machine. But QTP itself can work on multiple instances of the Application under Test (AUT). Ex: QTP can handle multiple IE browser windows.
|
|
|
274. What Is The Difference Between Properties And Methods?
Date Posted: 06/27/2012
Ans: A property is a named attribute of an object. Properties define the characteristics of an object such as Size, Color etc. or sometimes the way in which it behaves.
A method is an action that can be performed on objects.
For example, a dog is an object. Its properties might include long white hair, blue eyes, 3 pounds weight etc. Its methods might be move, jump, play, breath etc.
|
|
|
275. What Is The Deference Between Recovery Scenario And "On Error Resume Next"?
Date Posted: 06/27/2012
Ans:
-
Both are for handling Error events, Recovery Scenario is a QTP Tool feature, whereas "On Error Resume Next" is a VB Script feature
-
“On Error Resume Next" is used when we are sure about the step where the error can occur. Recovery Scenario can be used to handle unexpected event or error.
|
|
|
276. How Do You Measure Transaction Time In QTP Other Than Using Of Start And End Transaction Points?
Date Posted: 06/27/2012
Ans: By using ‘Timer’ function we can measure transaction times.
|
|
|
277. What Are The Properties You Use For Identifying A Browser, A Page When Using Descriptive Programming
Date Posted: 06/27/2012
Ans:
-
Title property for Browser
-
Title property for Page.
|
|
|
278. How Many Folders Are Created In One Test Creation In QTP?
Date Posted: 06/27/2012
Ans: Two folders and six files.
|
|
|
279. What Are The Limitations Of Quick Test?
Date Posted: 06/27/2012
Ans:
-
It supports MS Windows operating environment only
-
It doesn’t support CLI Applications (Command line interface)
-
It supports IE only for generating scripts but it does not support Mozilla and other browsers. For executing tests it supports Mozilla like other browsers.
-
It has limited support for web services testing.
|
|
|
280. What Are The Extensions Of QTP Files?
Date Posted: 06/27/2012
Ans:
QTP Test / Test Script(.mts){.mts=module/mercury test script}
-
Local Repository file (.mtr){.mtr=module/mercury test repository}
-
Shared repository files(.tsr){Test shared repository}
-
Library files (.vbs)
-
Environmental files (.xml)
-
Test batch file (.mtb){module test batch}
-
QTP result file (xml) optional: pdf, doc, xml-for reporting
-
Recovery scenario file (.qrs){quick recovery scenario}
|
|