QTP INTERVIEW QUESTIONS AND ANSWERS PDF

adminComment(0)

Feb 22, You find 35+ HP QTP / UFT Interview Questions and answers which is useful for experienced as well If you are experienced in QTP skip to Question # 50 here. Free PDF Download: QTP Interview Questions & Answers. Dear readers, these QTP Interview Questions have been designed specially to get you acquainted continue based on further discussion and what you answer . QTP Interview Questions and Answers for pdf 7 Apr 0 comments. Find us on Facebook. 1. Which scripting language used by QuickTest Professional.


Qtp Interview Questions And Answers Pdf

Author:JEROLD TEVLIN
Language:English, Portuguese, French
Country:Solomon Islands
Genre:Health & Fitness
Pages:185
Published (Last):28.08.2015
ISBN:369-6-28295-988-2
ePub File Size:27.42 MB
PDF File Size:20.10 MB
Distribution:Free* [*Sign up for free]
Downloads:49540
Uploaded by: BRANDEN

QTP - QTP interview questions and answers by expert members with experience in QTP subject. Discuss each question in detail for better. Well on this page you will find all the advanced QTP interview Questions and their answers. Here is the list of top 50/ Advanceed QTP interview Questions for. Hello Guys - on this page you will find frequently asked QTP interview questions for freshers in MNCs like Cognizant, Infosys, TCS, Wipro, HCL, Mindtree, Tech.

For this, first you will need to make the Actions in the corresponding scripts re-usable. Then from the destination script you can make calls to these re-usable actions. Action split is to divide an existing action into two parts. The purpose is to divide actions based on their functionality to improve code re-use. Next step record operations on the Java Tree. You can base you answer on similar lines for any other object of any environment.

For example: While recording, QTP will identify and store peculiar properties as defined in the Object Identification settings in the object repository of the GUI object. At run-time, QTP will compare the stored property values with the on-screen properties, to uniquely identify the GUI object.

Which will be used when? Normal mode also called Contextual 2. Low-level recording mode 3. Analog mode Normal Mode: It recognizes objects regardless of their position on -screen.

This is the preferred mode of recoding and is used for most of the automation activities. Low-level recording mode: This mode records the exact x,y co-ordinates of your mouse operations. It is helpful in testing hashmaps. It is useful for recording objects not identified by normal mode of QTP. Analog mode: This mode is useful for the operation such as drawing a picture, recording signature. We can call an action in 2 ways 1 Call to copy of Action. Your application may contain objects that behave like standard objects but are not recognized by QTP.

You can define these objects as virtual objects and map them to standard classes, such as a button or a check box. QTP emulates the user's action on the virtual object during the run session.

In the test results, the virtual object is displayed as though it is a standard class object. For example, suppose you want to record a test on a Web page containing a bitmap that the user clicks. The bitmap contains several different hyperlink areas, and each area opens a different destination page. When you record a test, the Web site matches the coordinates of the click on the bitmap and opens the destination page. To enable QTP to click at the required coordinates during a run session, you can define a virtual object for an area of the bitmap, which includes those coordinates, and map it to the button class.

When you run a test, QTP clicks the bitmap in the area defined as a virtual object so that the Web site opens the correct destination page. Can u explain giving some example? Then based on the Platform you need to call the actions which you recorded on that particular platform.

Cross Browser Testing: Browser "Core Values". GetROProperty "version" you can extract the Browser and its correspondin version. Internet Explorer 6 or Netscape 5. Based on this value you call the actions which are relevant to that browser.

This name would be used by the QTP to map the object name in script with its corresponding description in the object repository. Browser "Browser". Page "Guru99" Here Guru99 is the logical name of the object. Typically ,an object and its properties must be recorded in the Object Repository to enable QTP to perform action s on it. Using descriptive programming , you do not store the object and its property values in the Object repository but mention the property value pair directly in the script.

The idea behind descriptive programming is not bypass the object repository but help recogonize dynamic objects. You can use the name property ex: Browser "name: OR We can also use the property "micClass". Browser "micClass: If you are still unable to record it is advisable install QTP and application, on the same machine 15 Explain the keyword CreateObject with an example.

Top 105 QTP Interview Questions and Answers (Latest UFT Interview Questions)

CreateObject servername. The name of the application providing the object.

The type or class of the object to create. The name of the network server where the object is to be created. If yes how? We can switch. How to Use it? You can access object spy directly from the toolbar or from the Object Repository Dialog Box.

It is very useful during Descriptive Programming Learn more about Object Spy 18 When ordinal identifiers alone can make an object unique then why they are not given top priority? Why it is first mandatory and next assistive. Why we cannot go for ordinal identifiers directly? Consider the following - a If two objects are overlapped on each other than location based object recognition will fail. Hence mandatory and assistive properties are used. Code file extension is script.

Almost all dialog boxes in QTP have a corresponding automation object which can set or retrieved using the corresponding properties or methods in the Automation Object Model. QTP Automation Objects can be used along with standard VB programming elements like iterative loops or conditional statements to help you design a script of choice.

Global Guideline - Interviewer and Interviewee Guide

Text Output values enable you to capture text appearing on the application under test during run-time. If parameterized, text output values will capture values appearing in each iteration which would be stored in the run-time data table for further analysis. Step Generator enables use to Add Test Steps in your script. Using step generator you can add steps to your script without actually recording it.

Suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script? You can use ordinal identifiers like index along with a little descriptive programming for object recognition.

Watch a video of this example. Test Fusion Report , displays all aspects of a test run and is organized in a Tree format. It gives details of each step executed for all iterations. It also gives Run-time data table, Screen shots and movie of the test run if opted.

NEW 52 Qtp Interview Questions And Answers

In QTP Exceptional handling is done by using a. Recovery Scenarios. Triggered Events.

Recovery steps. Post Recovery Test-Run. Environment variables in QTP are of three types: Value "name" -- This will retrun name as Guru99 Environment.

Bitmap checkpoint does a pixel to pixel comparison of an image or part of an image. Image checkpoint does do a pixel to pixel comparison but instead compare image properties like alt text , destination url etc. Actions help make your Test modular and increase reuse. You can divide your script into Actions based on functionality like Login, Logout etc.

Functions help in re-use of your code. You can create a Function in your script to concatenate two strings.

Keyword View is an icon based view which shows test steps in tabular format. It also automatically generates documentation for the test steps. Quick Test testing process consists of 6 main phases: You also identify the environment and system configurations required to create and run your QTP Tests. Learn more about Test Automation Frameworks.

It is an xls file which is stored in the Test Results Folder. It can also be accessed in the Test Fusion Report. Check point is a verification point that compares a current value for a specified property with the expected value for that property. To connect to the database you must know a connection string of your server b username c password d DNS name You can code the database connectivity command directly or you can use the SQL Query tool provided by QTP. You can use the Batch testing tool to run multiple scripts.

A step when declared optional is not mandatory to be executed. Reportvent is standard method provided by QTP to send custom messages to the test results window. Syntax Reporter. You can also send screenshot to the test results window. You declare using a DIM keyword. We use special characters such as a period. Qtp Interview Questions And Answers. How to handle Java tree in QTP?

Then you can record and work on a Java Tree object just like you would with any other object. How to give a ca ll to another action from one action? An action has both shared and local OR associated with it and both have the same object in them.

In the test which one will be considered? Explain different types of action in QTP? Action contains the number of steps to be performed on application to test the application. There are three type of action in QTP: — Non-Reusable action: it can be called by test only once in which it is stored.

QTP Related Tutorials

We can call external action but it will be available in read only mode we cannot perform any change to the External Action. Are Shared ORs read-only? To open them in order to edit them you will have to open them from Object Repository Manager. What is difference between Run time object and Test object? Explain Measuring Transaction? A transaction is collection of steps that we are intended to know how much time it take to execute.

We can define the transaction by enclosing the set of steps with the start transaction and end transaction. Explain different checkpoints in QTP?

When we insert the check point in the test, then in keyword view checkpoint is added in front of current row and in expert view a checkpoint statement is added. QTP enable us with following types of check point: — Standard Checkpoint: check properties of objects like button, combo boxes, list etc.

Qtp Interview Questions And Answers What is Keyword Driven Framework? Both Static and dynamic arrays are handled by VB script. Is it true? A static array is declared as Dim A When preserve is used all the previous values are not erased. How do know the number of browsers opened?

Other books: LINUX COMMAND BOOK

How to use SetROProperty? What is the file extension of the code file and object repository file in QTP?What is QTPs uniqueness? Posts Atom.

How can u exit from an action? How to find the current system time in QTP? If I change the property value at runtime is it effect is Object Repository?

NEW 52 Qtp Interview Questions And Answers

There are 2 types of variables 1. When preserve is used all the previous values are not erased. Regular expressions enable QTP to identify objects with varying names or titles.

Web Services To learn more about Add-ins and how to use them, watch this video tutorial.

ARCELIA from Duluth
See my other articles. I enjoy football tennis. I enjoy exploring ePub and PDF books sweetly .
>