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.
Questions
In QTP which method is used to retrieve data from HTML TABLE?
- GetCellData (Row,Col);
- GetRowValue (Rowid,Colname);
- GetData (Row,Col);
- GetCellValue (Row,Col);
In QTP, what command is used to insert the transactions in test?
- Services.StartTransaction "Name", Services.EndTransaction "Name";
- StartTransaction.Services “Name”,EndTransaction. Services "Name";
- StartTransaction ("Name"), EndTransaction ("Name");
- Services.StartTransaction "Name", EndTransaction. Services "Name";
To refer the global data sheet, we can use the statement/statements
- dtglobalsheet
- dtglobalsheet and Global
- dtGlobal and dtglobalsheet
- dtGlobal AND Global
Where the Checkpoint information will be stored in QTP
- Shared repository & Function Library
- Shared Repository
- Local Repository
- Function library
In QTP, which Checkpoint is being used for verifying the web page with W3C standard?
- Bitmap checkpoint
- Standard checkpoint
- Accessibility checkpoint
- XML checkpoint
What Property - Indicates whether QuickTest beeps after performing each Sync function during a run session?
- BeepSync
- BeepOnSync
- SoundOnSync
- SoundSync
What Specifies the time interval (in seconds) during which QuickTest attempts to perform the checkpoint successfully.
- Text Checkpoint timeout
- Check Method timeout
- Standard Checkpoint timeout
- Checkpoint timeout
Which of the following statement will be executed without any error?
- Browser("Ultimatix GetConnected").Page("Ultimatix GetConnected").WebEdit("employeeNumber").Set "000000"
- Browser("title:=Ultimatix - Get Connected !").Page("title:=Ultimatix - Get Connected !").WebEdit("name:=employeeNumber").Set "000000"
- Browser("title:=Ultimatix - Get Connected !"). Page("title:=Ultimatix - Get Connected !"). WebEdit("employeeNumber").Set "000000"
- Browser("Ultimatix GetConnected").Page("Ultimatix GetConnected"). WebEdit("name:=employeeNumber").Set "000000"
The file extension of Shared object repository file and Local object repository file are
- (.TSR and .QRS)
- (.QRS and .MTR)
- (.TSR and .MTR)
- (.MTR and .QFL)
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?
- Using the Default Property.
- Adding the specific property to identify the object.
- Using some other property to identify the object.
- Adding the specific property to the list.
- Name the Spread Sheet, where all the components for any specific proposition is listed, where we decide which component to execute
- OSS_cfg
- Inter_TestCase_DataTransition
- OSS_TestExecution Sheet
- None of the above
Name the Folder where the Output Spread sheet of any component (if any) will be stored?
- Temp
- Data
- Reports
- Logs
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
- Inter_TestCase_DataTransition
- Detailed HTML Report
- Summary HTML Report
- Log files under the “logs” Folder
Where can one change the path of the Reports (Detailed & Summary HTML Report) to be stored
- OSS_TestExecution Sheet
- OSS_cfg
- Test data Sheet
- It is Hard Coded in the Scripts
What happens if more than one row in the “OSS_TestExecution Sheet” is flagged as “Yes”
- Respective Component Scripts will be executed in the order of hierarchy
- Scripts will get executed for one component (First in the list with the Execute flag “Yes”) & stops after successful execution
- No Script will get executed & the QTP hangs.
- None of the above
Which of the following Folders has the Sub-Folders of “Applications” & “Common” (Select all that are applicable)
- Scripts
- Data
- Reports
- None of the Above
The function to Load the Object Repository is present in which of the following “.vbs” File
- OSS_Main
- OSS_API
- OSS_DriverScript
- Every component “.vbs” file will have the function defined
Each Component of the proposition has its own respective executable file?
- True
- False
What happens, if the “Inter_TestCase_DataTransition” is not deleted, prior to executing a NEW scenario? (From the First Component of the Proposition)
- The existing “Inter_TestCase_DataTransition” (Output Sheet) sheet will be deleted & a new “Inter_TestCase_DataTransition” sheet is created
- The Scripts stops running as the existing Output Sheet is not deleted prior running a “NEW” scenario
- The details of the NEW order will get overwritten in the same sheet.
- None of the Above
Each component in the Proposition will have a separate “.usr” & “.vbs” files.
- True
- False