QTP QuickTest Professional Test Automation

Test your knowledge of QTP (QuickTest Professional) test automation concepts including object repositories, test execution, checkpoints, scripting, and the OSS testing framework.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

In QTP which method is used to retrieve data from HTML TABLE?

  1. GetCellData (Row,Col);
  2. GetRowValue (Rowid,Colname);
  3. GetData (Row,Col);
  4. GetCellValue (Row,Col);
Question 2 Multiple Choice (Single Answer)

In QTP, what command is used to insert the transactions in test?

  1. Services.StartTransaction "Name", Services.EndTransaction "Name";
  2. StartTransaction.Services “Name”,EndTransaction. Services "Name";
  3. StartTransaction ("Name"), EndTransaction ("Name");
  4. Services.StartTransaction "Name", EndTransaction. Services "Name";
Question 3 Multiple Choice (Single Answer)

To refer the global data sheet, we can use the statement/statements

  1. dtglobalsheet
  2. dtglobalsheet and Global
  3. dtGlobal and dtglobalsheet
  4. dtGlobal AND Global
Question 4 Multiple Choice (Single Answer)

Where the Checkpoint information will be stored in QTP

  1. Shared repository & Function Library
  2. Shared Repository
  3. Local Repository
  4. Function library
Question 5 Multiple Choice (Single Answer)

In QTP, which Checkpoint is being used for verifying the web page with W3C standard?

  1. Bitmap checkpoint
  2. Standard checkpoint
  3. Accessibility checkpoint
  4. XML checkpoint
Question 6 Multiple Choice (Single Answer)

What Property - Indicates whether QuickTest beeps after performing each Sync function during a run session?

  1. BeepSync
  2. BeepOnSync
  3. SoundOnSync
  4. SoundSync
Question 7 Multiple Choice (Single Answer)

What Specifies the time interval (in seconds) during which QuickTest attempts to perform the checkpoint successfully.

  1. Text Checkpoint timeout
  2. Check Method timeout
  3. Standard Checkpoint timeout
  4. Checkpoint timeout
Question 8 Multiple Choice (Single Answer)

Which of the following statement will be executed without any error?

  1. Browser("Ultimatix GetConnected").Page("Ultimatix GetConnected").WebEdit("employeeNumber").Set "000000"
  2. Browser("title:=Ultimatix - Get Connected !").Page("title:=Ultimatix - Get Connected !").WebEdit("name:=employeeNumber").Set "000000"
  3. Browser("title:=Ultimatix - Get Connected !"). Page("title:=Ultimatix - Get Connected !"). WebEdit("employeeNumber").Set "000000"
  4. Browser("Ultimatix GetConnected").Page("Ultimatix GetConnected"). WebEdit("name:=employeeNumber").Set "000000"
Question 9 Multiple Choice (Single Answer)

The file extension of Shared object repository file and Local object repository file are

  1. (.TSR and .QRS)
  2. (.QRS and .MTR)
  3. (.TSR and .MTR)
  4. (.MTR and .QFL)
Question 10 Multiple Choice (Single Answer)

When spying an object, if a particular property for identifying an object is not listed in the list of properties. How can we identify the desired object?

  1. Using the Default Property.
  2. Adding the specific property to identify the object.
  3. Using some other property to identify the object.
  4. Adding the specific property to the list.
Question 11 Multiple Choice (Single Answer)
  1. Name the Spread Sheet, where all the components for any specific proposition is listed, where we decide which component to execute
  1. OSS_cfg
  2. Inter_TestCase_DataTransition
  3. OSS_TestExecution Sheet
  4. None of the above
Question 12 Multiple Choice (Single Answer)

Name the Folder where the Output Spread sheet of any component (if any) will be stored?

  1. Temp
  2. Data
  3. Reports
  4. Logs
Question 13 Multiple Choice (Single Answer)

Which of the following can be used to get the details whether all the Initial files like “OSS_TestExecution Sheet”, “OSS_cfg” are loaded properly

  1. Inter_TestCase_DataTransition
  2. Detailed HTML Report
  3. Summary HTML Report
  4. Log files under the “logs” Folder
Question 14 Multiple Choice (Single Answer)

Where can one change the path of the Reports (Detailed & Summary HTML Report) to be stored

  1. OSS_TestExecution Sheet
  2. OSS_cfg
  3. Test data Sheet
  4. It is Hard Coded in the Scripts
Question 15 Multiple Choice (Single Answer)

What happens if more than one row in the “OSS_TestExecution Sheet” is flagged as “Yes”

  1. Respective Component Scripts will be executed in the order of hierarchy
  2. Scripts will get executed for one component (First in the list with the Execute flag “Yes”) & stops after successful execution
  3. No Script will get executed & the QTP hangs.
  4. None of the above
Question 16 Multiple Choice (Multiple Answers)

Which of the following Folders has the Sub-Folders of “Applications” & “Common” (Select all that are applicable)

  1. Scripts
  2. Data
  3. Reports
  4. None of the Above
Question 17 Multiple Choice (Single Answer)

The function to Load the Object Repository is present in which of the following “.vbs” File

  1. OSS_Main
  2. OSS_API
  3. OSS_DriverScript
  4. Every component “.vbs” file will have the function defined
Question 18 True/False

Each Component of the proposition has its own respective executable file?

  1. True
  2. False
Question 19 Multiple Choice (Single Answer)

What happens, if the “Inter_TestCase_DataTransition” is not deleted, prior to executing a NEW scenario? (From the First Component of the Proposition)

  1. The existing “Inter_TestCase_DataTransition” (Output Sheet) sheet will be deleted & a new “Inter_TestCase_DataTransition” sheet is created
  2. The Scripts stops running as the existing Output Sheet is not deleted prior running a “NEW” scenario
  3. The details of the NEW order will get overwritten in the same sheet.
  4. None of the Above
Question 20 True/False

Each component in the Proposition will have a separate “.usr” & “.vbs” files.

  1. True
  2. False