QTP Automation Interview Questions: Set 1
Q: Full form of QTP?
A: Quick Test Professional Q: What's the QTP ?
A: QTP is a functional testing tool.
Q: Which scripting language used by QTP?
A: QTP uses VB scripting.
Q: What's the basic concept of QTP?
A: QTP is based on two concept-
Q: How many types of recording facility are available in QTP ?
A: QTP provides three types of recording methods-
* Context Recording (Normal)
* Analog Recording
* Low Level Recording
Q: How many types of Parameters are available in QTP?
A: QTP provides the following types of Parameter-
1) DT parameter
2) Environment variable parameter
3) Test parameter
4) Action parameter
5) Random no. parameter
Q: What's the QTP testing process ?
A: QTP testing process consist of seven steps-
* Preparing to recoding
* Enhancing your script
* Report Defects
Q: What's the Active Screen?
A: It provides the snapshots of your application as it appeared when you performed a certain steps during recording session.
Q: What's the Test Pane ?
A: Test Pane contains Tree View and Expert View tabs.
Q: What's Data Table?
A: It assists to you about parameterizing the test.
Q: What's the Test Tree?
A: It provides graphical representation of your operations which you have performed with your application.
Q: Which all environment QTP supports?
Web Objects, ActiveX controls
SAP, Oracle, Siebel, PeopleSoft
Web Services, Terminal Emulator
IE, NN, AOL
Q: How can you view the Test in Expert view?
A: Expert View display the Test Script.
Q: Which keyword used for Normal Recording>
Q: Which keyword used for run the test script?
Q: Which keyword used for stop the recording?
Q: How can you view the Test Tree?
A: The Test Tree is displayed through Tree View tab.
Q: What's the Expert View ?
A: Expert View display the Test Script.
Q: Which keyword used for Normal Recording ?
Q: Which keyword used for run the test script ?
Q: Which keyword used for stop the recording ?
Q: Which keyword used for Analog Recording ?
Q: Which keyword used for Low Level Recording ?
Q: Which keyword used for switch between Tree View and Expert View ?
Q: What's the Transaction ?
A: You can measure how long it takes to run a section of your test by defining transactions.
Q: Where you can view the results of the checkpoint ?
A: You can view the results of the checkpoints in the Test Result Window.
Q: What's the Standard Checkpoint ?
A: Standard Checkpoints checks the property value of an object in your application or web page.
Q: Which environment are supported by Standard Checkpoint ?
A: Standard Checkpoint are supported for all add-in environment
Q: What's the Image Checkpoint ?
A: Image Checkpoint check the value of an image (Link) in your application or web page.
Q: Which environments are supported by Image Checkpoint ?
A: Image Checkpoint are supported only Web environment.
Q: What's the Bitmap Checkpoint ?
A: Bitmap Checkpoint checks the bitmap images in your web page or application.
Q: Which enviornment are supported by Bitmap Checkpoints ?
A: Bitmap checkpoints are supported all add-in environment.
Q: What's the Table Checkpoints ?
A: Table Checkpoint checks the information with in a table.
Q: Which environments are supported by Table Checkpoint ? A: Table Checkpoints are supported only ActiveX environment.
Q: What's the Text Checkpoint ?
A: Text Checkpoint checks that a test string is displayed in the appropriate place in your application or on web page.
Q: Which environment are supported by Test Checkpoint ?
A: Text Checkpoint are supported all add-in environments
* QTP records each steps you perform and generates a test tree and test script.
* QTP records in normal recording mode.
* If you are creating a test on web object, you can record your test on one browser and run it on another browser.
* Analog Recording and Low Level Recording require more disk sapce than normal recording mode
Q: How does Run Time Data or Parameterization is handled in QTP?
A: Run Time data or Parameterization is handled through Data Table, which is a spreadsheet with complete functionality of Excel. Data table support you to parameterization ur test, manipulate the test Data.
Q: How many types of Actions are there in QTP?
A: There are three kinds of actions:
- Non-reusable action—an action that can be called only in the test with which it is stored, and can be called only once.
- Reusable action—an action that can be called multiple times by the test with which it is stored (the local test) as well as by other tests.
- External action—a reusable action stored with another test. External actions are read-only in the calling test, but you can choose to use a local, editable copy of the Data Table information for the external action
Q: What is the Keyword Driven approch?
A: Keyword Driven approch is the technique that separates much of the programming work from the test steps.Test steps are easiler to develop and need only small updations to maintain.
Q: Methodology of Keyword Driven Approch??
A: It's methodology has been classified in two steps,
-Determine the objects and operations to be performed.
-Determine the custom keywords.
-Building the OR
-Develop keywords in the function library.
Q: What is the Test Object?
A: TO is the object that QTP is used to represent the object in your application. It has one or more methods or properties.
Q: What is the Run Time object??
A: RTO is the actual object in your application on which methods are performed during the run time.
Q: What are the advantages of using Keyword Driven Approch??
- Re usability
- Data Driven approach usability