Qtp certification sample questions

  • 1,465 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,465
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
95
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. For more QTP Scripts, visit www.ramupalanki.com QTP Certification Sample QuestionsQ1. How many tabs are there in Test Settings (File->Settings) windowA) 5B) 6C) 7D) 8Q2. Browser navigation timeout is in which tab of Test Settings (File->Settings) window?A) PropertiesB) ResourcesC) WebD) Web SettingsQ3. Identify the tabs in the Test Settings (File->Settings) windowA) Properties, Run, Resources, Parameters, Environment, Web, RecoveryB) Properties, Run, Resources, Parameters, Environment, Web Settings,RecoveryC) Properties, Run Options, Resources, Parameters, Environment, Web, RecoveryD) Properties, Run, Resources, Input Parameters, Environment, Web, RecoveryQ4. Generate Script is in which tab of Test Settings (File->Settings)windowA) PropertiesB) ResourcesC) WebD) RecoveryQ5. For each object and method in an Expert View statement, acorresponding row exists in the Keyword View.A) TrueB) FalseC) There is some problem with the statement.D) None of aboveQ6. The following are the four main columns in the Keyword viewA) Item, Operation, Value, CommentsB) Item, Operation, Value, DocumentationC) Item, Operation, Property, DocumentationD) Number, Operation, Value, DocumentationQ7. You can work on one or several function libraries at the same time.A) TrueB) FalseQ8. You can insert additional steps on the test objects captured in the Activescreen after the recording session.A) TrueB) FalseQ9. The Active Screen enables you to parameterize object values and insertcheckpointswww.ramupalanki.com
  • 2. For more QTP Scripts, visit www.ramupalanki.comA) TrueB) FalseQ10. A QTP user can increase or decrease the active screen informationsaved with the test.A) TrueB) FalseQ11. The toolbar enables you to view the details of an individual action orthe entire test flow is:A. Testing toolbarB. None of the aboveC. Action toolbarD. Test PaneQ12. The key that is used to Start/End analog recording mode ?A. F3B. SHIFT+ALT+F3C. CTRL+SHIFT+F3D. F10Q13. QuickTest supports virtual object for analog or low-level recording.A. FalseB. TrueQ14. To use a specific property to identify your object, but that property isnot listed in the properties list. Then how do you identify that object?A. Add the specific property to the listB. Use the Default propertyC. Use some other property to identify your objectQ15. The checkpoint used to check the alt attribute exists for all relevantobjects (such as images) isA. Database CheckPointB. Accessibility checkpointC. Bitmap checkpointD. Standard checkpointQ16. Bitmap checkpoint is supported in VB environment.A. TrueB. FalseQ17. Can we parameterize the checkpoints properties?A. NoB. YesQ18. What is the shortcut key that is used for a Standard Checkpoint?A. F12B. F2C. F10D. F7Q19. Can we change name of checkpoint?www.ramupalanki.com
  • 3. For more QTP Scripts, visit www.ramupalanki.comA. NoB. YesQ20. To compare the values of the specified property during a run sessionwith the values stored for the same test object property within the test.A. CheckpointB. All the aboveC. Output ValueD. Compare the object propertyQ21. You will use which recording mode for an object not recognized byQuickTest?A. Low-Level Recording ModeB. Normal recording ModeC. Analog ModeQ22. The statement that calls the recorded analog file is:A. RunAnalogB. CallAnalogC. ExecuteAnalogQ23. An action can be called by other tests or actions is:A. Call ActionB. Split ActionC. Reusable ActionQ24. You can replace the page in your Active Screen tab:A. FalseB. TrueQ25. QuickTest adds a checkpoint statement in the Expert View as:A. Check CheckpointB. CheckpointQ26. A Checkpoint checks that a text string is displayed within a definedarea in a Windows application is:A. AccessibilityB. Text AreaC. StandardD. TextQ27. In ACTIVE X environment, an ACCESSIBILITY checkpoint is supported?A. NoB. YesQ28. Can we get the execution time for an action in a Test?A. YesB. NoQ29. Can we add external library files in QTP?1. No2. Yeswww.ramupalanki.com
  • 4. For more QTP Scripts, visit www.ramupalanki.comQ30. The method used to get data from HTML Table isA. GetData(Row,Col)B. GetRowValue(Rowid,Colname)C. GetCellData (Row,Col)Q1. The Command used to insert the transactions in test is:A. StartTransaction(Name�), EndTransaction(Name�)B. Services.StartTransaction "Name", Services.EndTransaction "Name"C. StartTransaction.services "Name�, EndTransaction.services "Name"Q2. A step in which one or more values are captured at a specific point inyour test and stored for the duration of the run session is:A. Output ValueB. CheckpointsC. Active ScreenQ3. QTP can detects an application crash and activate a defined recoveryscenario to continue the run session.A. TrueB. falseQ4. In Batch Test process, the test list are saved in file format as:A. *.mtbB. *.mtsC. *.mbtD. *.mtrQ5. The command used to invoke other application from QTP:A. InvokeApplicationB. SystemUtil.RunC. RunD. Both b & cE. Both a & bQ6. The command used to retrieve data from excel sheet isA. Set ab = Connection("srcfilepath ") , Set ws = ab.getdata(sheetid)B. Set ab = CreateObject("srcfilepath ") , Set ws = ab.getsheet(sheetid)C. Set ab = GetObject("srcfilepath") , Set ws = ab.worksheets(sheetid)Q7. The method that explicitly activates the recovery scenario mechanismis:A. recovery.activateB. enableC. recovery.enableD. activateQ8. The method used for sending information to the test results is:A. Reporter.log()B. Reporter.reportevent()C. Reporter.msgbox()D. Reporter.report()www.ramupalanki.com
  • 5. For more QTP Scripts, visit www.ramupalanki.comQ9. To terminate an application that is not responding we use:A. SystemUtil.terminateB. SystemUtil.StopC. SystemUtil.CloseProcessByNameQ10. The recovery mechanism does not handle triggers that occur in the laststep of a test:A. falseB. TrueQ11. We can add Test object methods, function calls into the Test using:A. Function generatorB. Step generatorC. Object repositoryQ12. The method that adds to the test while implementing synchronizationis:A. SynchronizeB. WaitC. WaitPropertyD. PauseQ13. The mechanism used to identify objects during run session is:A. Recovery scenarioB. Smart identificationC. Handling objectQ14. Post-recovery test run options specifies:A. how to continue the run session after QTP identify the eventB. errors while runningC. recovery scenario during a run sessionQ15. The action that can be called multiple times by the test as well as byother tests is called:A. non-reusable actionB. Reusable actionC. External actionQ16. The command used to connect with Database is:A. Createobject(connectivity name�)B. dbconnect(connectivity name)C. open(connectivity name)D. None of the aboveQ17. The method used to retrieve the folders is:A. FileSystemObject.Getfolder()B. FileSystemObject.selectfolder()C. FileSystemObject.retrievefolder()Q18. The method used to compare 2 XML files is:A1. XMLfile1.compare(XMLfile2)B. XMLcompare(file1,file2)C. compare(XMLfile1,XMLfile2)www.ramupalanki.com
  • 6. For more QTP Scripts, visit www.ramupalanki.comQ19. The QTP script files are stored in the extension of:A. *.mtsB. *.usrC. *.mtrD. *.vbsQ20. The method used to register the user-defined function with test objectis:A. setFunc()B. RegisterUserFunc()C. RegisterFunc()Q21. The method used to open the specified URL in a browser is:A. openURL()B. navigateURL()C. navigate()Q22. The 3 Parameter types available in data driver is:A. DataTable,Environment,Random numberB. DataTable,random number,uniqueC. environment,string,numericQ23. The method added to the test while parameterizing is:A. get Data (variable, dtGlobalSheet)B. get DataTable(variable, dtGlobalSheet)C. Set Data(variable, dtGlobalSheet)D. Set DataTable(variable, dtGlobalSheet)Q24. The length of the array can be get by the method:A. length(array)B. ubound(array)C. count(array)Q25. The method used to get the count value of list box or combo box is:A. GetItemsCountB. GetCountC. GetItemCountQ26. To retrieve the current the objects in your application during the runsession:A. GetVisibleTextB. GetROPropertyC. SetROPropertyD. GetTOPropertyQ27. The list of test objects and their properties and values are stored inthe:A. Object RepositoryB. Object IdentificationQ28. The method used to continue the test execution after getting run-timeerror is:www.ramupalanki.com
  • 7. For more QTP Scripts, visit www.ramupalanki.com1. On Error Resume Next2. On Error Raise Next3. On Error NextQ1. Browser navigation timeout is in which tab of Test Settings (File->Settings) window.A) PropertiesB) ResourcesC) WebD) Web SettingsQ2. How many tabs are there in Test Settings (File->Settings) windowA) 7B) 6C) 5D) 8Q3. Identify the tabs in the Test Settings (File->Settings) windowA) Properties, Run, Resources, Parameters, Environment, Web, RecoveryB) Properties, Run, Resources, Parameters, Environment, WebSettings,RecoveryC) Properties, Run Options, Resources, Parameters, Environment, Web,RecoveryD) Properties, Run, Resources, Input Parameters, Environment, Web, RecoveryQ4. Generate Script is in which tab of Test Settings (File->Settings)windowA) PropertiesB) WebC) ResourcesD) RecoveryQ5. The following are the four main columns in the Keyword viewA) Item, Operation, Value, CommentsB) Item, Operation, Value, DocumentationC) Item, Operation, Property, DocumentationD) Number, Operation, Value, DocumentationQ6. For each object and method in an Expert View statement,acorresponding row exists in the Keyword View.A) TrueB) FalseC) There is a problem with the statement.D) None of aboveQ7. You can work on one or several function libraries at the same time.A) TrueB) FalseQ8. You can insert additional steps on the test objects captured in the Activescreen after the recording session.A) Truewww.ramupalanki.com
  • 8. For more QTP Scripts, visit www.ramupalanki.comB) FalseQ9. The Active Screen enables you to parameterize object values andinsertcheckpointsA) TrueB) FalseQ10. A QTP user can increase or decrease the active screeninformationsaved with the test.A) TrueB) FalseQ11. The Information pane provides a list of............. in the test:A) Semantic errorsB) Syntax errorsC) Common errorsD) Logic errorsQ12. When we switch from Expert view to the Keyword view,QTPautomatically checks for syntax errors in the test and shows them intheinformation pane.A) TrueB) FalseQ13. If the information pane is not open, QTP automatically opens it incasea syntax error is detected.A) TrueB) FalseQ14. ..................... provides a list of the resources that arespecified in yourtest but cannot be found.A) Missing paneB) Missing Resources paneC) Resources paneD) Missing Items paneQ15. Whenever you open a test or a function library, QTPautomaticallychecks for the availability of specified resources.A) TrueB) FalseQ16. The Data Table does not assists you in parameterizing your test.A) TrueB) FalseQ17. Tabs in the Debug Viewer pane are:A) Watch, Variables, DebugB) Watch, Data, CommandC) Watch, Variables, CommandD) View, Variables, CommandQ18. ............... tab enables you to view the current value of anyvariable orVBScript expression.www.ramupalanki.com
  • 9. For more QTP Scripts, visit www.ramupalanki.comA) WatchB) VIewC) LocateD) CurrentQ19. The .... tab displays the current value of all variables that havebeenrecognized up to the last step performed in the run session.A) ViewB)VariablesC) LocateD) CurrentQ20. The .........tab enables you to run a line of script to set ormodify thecurrent value of a variable or VBScript object in your testor function library.A) ViewB) VariablesC) CommandD) CurrentQ21. Panes in QTP can have one of the following states—docked or floating.A) TrueB) FalseQ22. Which of the following statement is True:A) QuickTest enables you to open and work on one test at a timeB) QuickTest enables you to open and work on two tests at a timeC) QuickTest enables you to open and work on predefined number of testsat a timeD) QuickTest enables you to open and work on nine test at a timeQ23. Which of the following statement is True:A) You can open and work on two function libraries simultaneouslyB) You can open and work on multiple function libraries simultaneouslyC) You can open and work on nine function libraries simultaneouslyD) You can open and work on one function library at a timeQ24. You can open any function library, regardless of whether it isassociated withthe currently open test.A) TrueB) FalseQ25. You can work with multiple documents (test, component, orapplicationarea, function libraries) using the...... dialog boxA) PanesB) DisplayC) ShowD) Windowswww.ramupalanki.com