Different types of QTP test assets and their extensions:
Technologies supported by QTP:
Does QTP run in any environment?
Explain the views in the QTP GUI?
What is QTP's model for test creation?
What are the different kinds of test steps?
What are the different ways to invoke an application using QTP?
What are the different recording modes and how do they work?
Which recording modes need more memory?
Is it possible to switch between recording modes during a test creation?
Does Low level recording capture mouse movements?
How does QTP identify an object?
What is Smart identification?
What is Object Spy?
What are the two types of repositories available, explain them?
An action has both shared and local OR associated to it and both have the same object in them. In the test which one will be considered?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Can the user toggle between using Local OR and shared OR for the same action?
Are Shared ORs read only?
How to test Fly Out Menu in QTP?
What is descriptive programming in QTP?
Explain QTP(Quick Test Professional)?
Why QTP the best testing tool?
What are the advantages of QTP?
What is the latest version of QTP?
Explain features of the latest version of QTP/ UFT 12.1?
How to Record a QTP Script ?
What is the Expert View?
What is Keyword View?
How will you Compare Keyword and Expert View?
How to Replay a Script in QTP?
How to Test Results for QTP ?
What are the advantages of parameterization ?
How to use Checkpoints in QTP ?
How to create a Standard Checkpoint ?
How to use Output values in QTP ?
Explain Types of Output Values?
How to use Conditional Loops in QTP ?
How to use Reporter.Report Event in QTP ?
Explain Actions in QTP ?
How to use Actions in QTP ?
How Smart Identification works in QTP ?
How to modify object property in QTP ?
How to use Transactions in QTP?
What is Business Process Testing(BPT) in QTP?
Explain building blocks of the BPT Framework ?
Why BPT?
Classified BPT?
What is the Registration Process and Examination Fees?
Explain Data Driven Framework?
What are the general steps involved in the data driven framework?
Explain Advantages and Disadvantages of DDF?
Explain Keyword Driven Framework?
Explain Advantages and Disadvantages KDF?
Explain Hybrid Framework with advantages and disadvantages?
What is Descriptive Programming?
Explain Types of Descriptive Programming?
Define Object Spy ?
Explain GetRoProperty and GetTOProperty & SetTOProperty?
what is an Optional step in QTP ?
Qtp interview questions and answers on advance and basic Qtp with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Qtp also add your Questions if any you have to ask and for apply
in Qtp Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.
Top Qtp interview questions and answers for freshers and experienced
What is Qtp ?
Answer :
Questions : 1 :: Different types of QTP test assets and their extensions:
Questions : 4 :: Explain the views in the QTP GUI?
Keyword view: This view is a tabular representation of all the objects and the actions that are performed on them. Every row in the table is a step performed on the AUT and can be modified....View answers
Questions : 5 :: What is QTP's model for test creation?
a) Determine testing needs – Define testing environment, Analyse your application and plan actionsb) Set up repositories – Local or Shared ORc) Define function librariesd)...View answers
Questions : 6 :: What are the different kinds of test steps?
5 types of steps:– Test Object ( Performs actions on a TO)– Functions– Utility (Steps to control run session. Eg: Reporter.report)– Comment– Programming logic...View answers
Questions : 7 :: What are the different ways to invoke an application using QTP?
a) SystemUtil.RunSystemUtil.Run ( FileName, Parameters, Path, Operation )Example: SystemUtil.Run(“iexplorer.exe”,http://www.google.com)SystemUtil.Run(“test.txt”,...View answers
Questions : 8 :: What are the different recording modes and how do they work?
QTP provides 3 modes of recording:
Normal Recording mode – The default recording method is always the normal mode. This method uses the model of Test Objects and Runtime objects...View answers
Questions : 9 :: Which recording modes need more memory?
Questions : 10 :: Is it possible to switch between recording modes during a test creation?
Yes, in the middle of recording, we can switch to Analog/Low-level mode, finish the task required and go back to normal recording. The switch to Analog mode is available only during recording...View answers
Questions : 12 :: How does QTP identify an object?
QTP has a predetermined set of properties that it learns/stores for every class of object it identifies. There are 3 aspects to this:
Mandatory properties: This is the list of...View answers
Questions : 13 :: What is Smart identification?
If the recorded description does not enable QTP to identify a specific object then QTP uses “Smart identification” mechanism. It uses the following additional properties to...View answers
Questions : 14 :: What is Object Spy?
Object Spy is an extremely helpful tool that QTP has to view the properties and operations of an object in the AUT. It shows all the properties of the object and the corresponding values. It...View answers
Questions : 15 :: What are the two types of repositories available, explain them?
Local and shared repository – these are the two kinds of available repositories.Every action by default has a local repository of its own and has all the objects that are used within...View answers
Questions : 16 :: An action has both shared and local OR associated to it and both have the same object in them. In the test which one will be considered?
If a local OR and Shared OR have an object with the same name, the action will consider the object in its local...View answers
Questions : 17 :: Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
There can be more than one Shared OR’s associated to the same action. If Shared OR1 and Shared OR2 have one object named OBJ1 each and if the action calls for OBJ1 then the order in...View answers
Questions : 18 :: Can the user toggle between using Local OR and shared OR for the same action?
Yes, it is possible to switch between one or the other types of ORs at any time. To do so, the menu option is Test->Settings->Resources and choosing the options...View answers
Questions : 19 :: Are Shared ORs read only?
By default, shared ORs open as read only. To open them in order to edit them you will have to open them from Object Repository Manager.“ORM->File->Enable...View answers
Questions : 20 :: How to test Fly Out Menu in QTP?
we need to call the below sequences:Link("Options").FireEvent ("onmouseover")WebElement("Preferences").FireEvent ("onmouseover")WebElement("Preferences").FireEvent ("onClick")
one more...View answers
Questions : 21 :: What is descriptive programming in QTP?
Creating a test without using the object repository is known as descriptive programming since you describe the objects as part of the...View answers
Questions : 22 :: Explain QTP(Quick Test Professional)?
HP QTP(Quick Test Professional) is an automated functional testing tool that helps testers to execute automated tests in order to identify any errors, defects or gaps in contrary to the expected...View answers
Questions : 23 :: Why QTP the best testing tool?
It is an icon based tool that automates the regression and functional testing of an application
Both technical as well as non-technical tester can use QTP
It provides both features- Record as...View answers
Questions : 24 :: What are the advantages of QTP?
It supports record and playback
It uses active screen to record scripts and helps tester in referring the screen object properties
It has excellent object identification process or mechanism
It...View answers
Questions : 25 :: What is the latest version of QTP?
The latest version of QTP is UFT (Unified Functional Testing) 12.1.
Questions : 26 :: Explain features of the latest version of QTP/ UFT 12.1?
New features
Details
Support for OS and browser
Supports Windows 8.1 and Windows server 2012
Performs testing on Safari browser
UFT extension in Chrome...View answers
Questions : 27 :: How to Record a QTP Script ?
Before you start recording your QTP script, you need to identify the TEST STEPS that need to be automated.
There are many possible scenarios to test. We will select a simple Test Scenario to begin...View answers
Questions : 28 :: What is the Expert View?
In the Expert View , each line represents a Test Step in VB Script. Consider the following code
Dialog("Login").WinEdit("Agent Name:").Set "Guru99"
An Object's Name is displayed in...View answers
Questions : 29 :: What is Keyword View?
The Keyword View is comprised of a table-like view where Each step is a separate row in the table and Each column represents different parts of the steps.
Item Column contains the item on which...View answers
Questions : 30 :: How will you Compare Keyword and Expert View?
If you compare a line of script in QTP, you will observe that the same object hierarchy is displayed in both Expert & Keyword Views and they map to the same operation and argument...View answers
Questions : 31 :: How to Replay a Script in QTP?
Once the script is recorded, you need to REPLAY the script to ensure the test steps have recorded correctly. When you click the Run Button, a Run Dialog Box Opens
The Run...View answers
Questions : 32 :: How to Test Results for QTP ?
Lets understand the Test Results generated by QTP
Right Hand Side shows Test Results Summary.
Left Hand Side is Test Results Tree - an icon-based view of the test steps that were performed while...View answers
Questions : 33 :: What are the advantages of parameterization ?
Parameterization allows us to pick different values at run time
It Reduces Time and Effort
Usage of Data Drivers allows us to use the same data for various input boxes. (Data Drivers is feature...View answers
Questions : 34 :: How to use Checkpoints in QTP ?
A checkpoint is a verification point that compares the current value with the expected value for specified properties of an Object. If they current and expected value match it generates a PASS status...View answers
Questions : 35 :: How to create a Standard Checkpoint ?
You may have notice that results generated for our test script has no Pass/ Fail Status without which our automation is incomplete
The expected TEST RESULT for our scenario should be - Flight...View answers
Questions : 36 :: How to use Output values in QTP ?
An output value step ,is a step in which a object property value is captured at a specific point in your test and stored at a desired location. The stored values can be used as...View answers
Questions : 37 :: Explain Types of Output Values?
Standard output value
Text /Text Area output value
Data base output value
Xml output value (from application/resources)
Creating an Output Value is very similar to creating a Checkpoint. A...View answers
Questions : 38 :: How to use Conditional Loops in QTP ?
From your testing background you will certainly infer that a more accurate Test scenario would be Validate the Login Functionality of Flight Reservation which should have two sub...View answers
Questions : 39 :: How to use Reporter.Report Event in QTP ?
You can use Reporter.ReportEvent to report custom test steps in QTP's test results tree
Syntax
Reporter.ReportEventEventStatus, ReportStepName, Details [, ImageFilePath]
Event...View answers
Questions : 40 :: Explain Actions in QTP ?
Actions help divide your test into "logical units" or "Business Processes". Actions help create a script which is more modular and efficient.
When a script is newly created it consists of...View answers
Questions : 41 :: How to use Actions in QTP ?
Independent of each other which splits the selected action into two sibling actions
Nested Action which splits the selected action into a parent action whose last step...View answers
Questions : 42 :: How Smart Identification works in QTP ?
If the usual object identification process fails , QTP triggers Smart Identification , which is more flexible mechanism for identifying objects provided it is enabled in Object Identification...View answers
Questions : 43 :: How to modify object property in QTP ?
You may have observe that smart identification slows down script execution which is not desirable
To avoid smart identification , we can change the default object identification properties
In QTP...View answers
Questions : 44 :: How to use Transactions in QTP?
You can measure how long it takes to run a section of your test by defining Transactions. You define transactions within your test by enclosing the appropriate sections of...View answers
Questions : 45 :: What is Business Process Testing(BPT) in QTP?
BPT stands for Business Process Testing, a built in QTP automation framework used in conjunction with the Quality Center. BPT helps indulge Business Analysts in the automation process. They can also...View answers
Questions : 46 :: Explain building blocks of the BPT Framework ?
The following are the building blocks of the BPT Framework
Components
Application Area
Flows
Business Process Test
Component: (is also called Business Component) is a reusable set of...View answers
Questions : 47 :: Why BPT?
There are some challenges with traditional automation mentioned below:
Lack of co-ordination betyouen manual testers / Subject matter experts and automation testers.
There is no role for the...View answers
Questions : 48 :: Classified BPT?
BPT are classified as follows:
SME
QTP Expert
Tester
SME: SME's is a Business Analyst or the manual tester who has good knowledge of the application. They design the manual Business...View answers
Questions : 49 :: What is the Registration Process and Examination Fees?
Candidates should visit the HP site and get the learners ID.
Using that learners ID, Candidate have to create a user profile in the Pearson VUE site. For HP ASE examination center...View answers
Questions : 50 :: Explain Data Driven Framework?
Data Driven Framework is a framework which is driven by the different combinations of input and output data.
One way of passing different combinations of data is by Parameterization. In this method,...View answers
Questions : 51 :: What are the general steps involved in the data driven framework?
The general steps involved in the data driven framework are:
Prepare the Test Case for the Application Under Test
Add the Objects from AUT to OR
Write the scripts based on the Test Case
In...View answers
Questions : 52 :: Explain Advantages and Disadvantages of DDF?
Advantages of DDF
Large number of test data can be read and written in to the external file in a single test
Loop statement is used to repeat the same steps for several iterations. Hence coding...View answers
Keyword Driven Framework is a framework where keywords drive the test. Here keyword refers to the user defined functions. In this framework, keywords are created in order to perform a particular test...View answers
Questions : 54 :: Explain Advantages and Disadvantages KDF?
Advantages
Any number of test cases can be run on a single test just by calling their respective keywords
Writing general descriptive programming for all web/ windows objects & calling them...View answers
Questions : 55 :: Explain Hybrid Framework with advantages and disadvantages?
Hybrid framework is a combination of Data Driven Framework (DDF) and Keyword Driven Framework (KDF) where several test cases with several inputs can be executed in the same...View answers
Questions : 56 :: What is Descriptive Programming?
To understand the concept of descriptive programming lets understand the significance of an objects name in QTP. An object name is simply used to map an object in script with its description in...View answers
Questions : 57 :: Explain Types of Descriptive Programming?
You can use Descriptive programming in two ways
1) Static
2) Dynamic
In Static Method , for object identification you specify an objects property in the following...View answers
Questions : 58 :: Define Object Spy ?
Object spy is feature in QTP using which you can view both the test and run-time object properties and methods.
It also gives the syntax for a selected method.
Object Spy gives the complete...View answers
Questions : 59 :: Explain GetRoProperty and GetTOProperty & SetTOProperty?
GetRoProperty
GetRoProperty - is an in-built method used to retrieve runtime value of an object property.
There are 4 steps involved in using the GetRoProperty
Step 1) Record the Object on...View answers
Questions : 60 :: what is an Optional step in QTP ?
An optional step is a step that is not necessarily required to successfully complete a run session. During a run session, if the object of an optional step does not...View answers
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website