Quick Test Pro (QTP) is an automated testing tool that allows users to test applications across different environments. It features keyword-driven testing, object recognition, auto-documentation of tests, checkpoints for validation, and integration with other Mercury testing products. The document discusses various QTP concepts like features, handling exceptions, using output values, object spy, parameterization, views, reports, supported environments, testing process, interface, object recognition, object repositories, checkpoints, and more.
SVR Technologies providing the course content of QTP. It was given by our experts to improve the knowledge of the readers which helps you in interview. For more details about other IT courses please visit http://www.svrtechnologies.com/
This document provides an overview of automation fundamentals and an introduction to QuickTest Professional (QTP) 9.2. It discusses what test automation is, its benefits, and when it is applicable. It also covers QTP concepts like the user interface, recording and running tests, checkpoints, parameters, synchronization, and the object repository. Key points include how QTP recognizes and identifies objects, how to save and view test results, and best practices for configuring options and settings in QTP.
The document discusses QuickTest Professional (QTP) automation testing concepts and features. It describes the QTP testing process, which includes 7 phases from preparing to record to reporting defects. It also discusses features like object repositories, recording modes, parameterization, checkpoints, transactions, actions, and setting action properties to structure test scripts.
QTP is an automation testing tool used to automate testing of web and client applications. It allows recording and playback of user actions to test applications. Key features include integration with Quality Center, improved results analysis, and support for additional technologies through add-ins. When running a test in QTP, it performs the recorded steps and displays results, allowing drill down to individual object levels.
SVR Technologies providing the course content of QTP. It was given by our experts to improve the knowledge of the readers which helps you in interview. For more details about other IT courses please visit http://www.svrtechnologies.com/
What is UFT? HP's unified functional testing.Confiz
Unified Functional Testing (UFT) is HP's main automated functional testing tool that allows users to integrate QuickTest Pro with Service Test. UFT enables automated functional testing of applications. It provides various panes like the Solution Explorer, Toolbox, Canvas, and Output panes to design and run tests. Users can create simple tests with activities like Replace String and Concatenate String, connect the test steps, and map data from multiple sources to test functionality.
This document provides an overview of QuickTest Professional 8.0 (Basic). It describes the QuickTest window and elements, introduces object repositories and synchronization, checkpoints, parameters, and testing best practices. Key topics covered include recording and running tests, viewing results, changing object logical names, adding synchronization steps, using constant and regular expression checkpoints, and parameterizing tests using different data types in the data table. The document is intended to help users learn the basics of QuickTest Professional and properly structure, record, parameterize and execute automated tests.
The document discusses test automation concepts and introduces QuickTest Professional (QTP) 9.2. It covers the benefits of automation, the automation life cycle, supported technologies, record and run modes, main tools and features in QTP, and key areas like script structure, parameterization, checkpoints, and exception handling.
Qtp 9.5 Tutorials by www.onsoftwaretest.comonsoftwaretest
The document provides instructions for creating different types of checkpoints in QuickTest Professional (QTP) including standard, database, and page checkpoints. It explains how to record a simple test using a standard checkpoint to check the enabled/disabled state of a button in a sample application. It also demonstrates how to create a database checkpoint to check the results of a SQL query against an Oracle database, and a page checkpoint to check loading time and other properties of a web page.
The document provides an interview questions related to Quick Test Professional (QTP). It includes 27 questions covering various topics like object repository, recording and running tests, parameters, checkpoints, and more. The questions would help assess a candidate's knowledge of key QTP concepts and capabilities.
This document provides an overview of automation fundamentals and an introduction to QuickTest Professional (QTP) 9.2. It discusses what test automation is, the benefits of automation, and factors to consider in automation planning. It also covers supported technologies and browsers in QTP, the add-in manager, and the main QTP window interface. The document provides a high-level introduction to recording and running tests in QTP.
The document discusses interview questions related to HP Quick Test Professional (QTP). It includes 25 questions covering topics like QTP features, object repository, descriptive programming, scripting languages, and commonly used functions.
The document provides an overview of VBScript including:
1. VBScript is a lightweight scripting language that is interpreted by the Windows Script Host and can be used for web client and server scripting.
2. It discusses the Windows Script Host environment and how it manages script security and execution.
3. VBScript supports variables, data types, operators, conditional statements, loops, procedures, and file input/output operations.
Actions are blocks of statements in a test script that are executed sequentially, with one default action called "Action1" created automatically. When an action is created, it generates files to store object repository, resources, and script data, and adds a sheet to the default data file for that action. Actions allow breaking up test scripts into logical segments that are executed one after the other.
Automation Framework - gFast: generic Framework for Automated Software Testing - QTP Framework
The Most sophisticated frameworks in Automation Testing is Designed with highly experienced Automation Consultants of Heyday Software Solution for all the areas. This makes us to make the impossible things to make possible very fast with our proprietary framework "gFAST".This is a QTP Framework
About gFAST: generic Framework for Automated Software Testing
****************
Developed on Quick Test Professional supporting all Platforms(addin's) with KeyWord Driven Framework.
Key Features
****************
* Better ROI
* Internationalization Support
* Supports Multiple Projects/TestSuites/TestCases
* 24/7 Automatic Regression Tests Running Facility
* Generates Email Reports
* Generates Test Logs
* Simple way to Create Test Cases(without any new QTP Scripts development)
* Easy to Create Test Cases with Test Cases Generator
* Easy way to Create Tests With Excel/Text files facility)
* Easy to Maintain.(Whole Framework will Have 3 QTP script Files -Driver and Two
Controllers and Libraries.)
* Screen Capturing on Error for Each of the Test Cases
* Global Configuration Files
* Multiple Browser windows support
* Easy to build automation for the Projects
Our Frameworks:
Selenium Framework
WATIR RUBY Framework
Silk Framework
Winrunner Framework
QTP Framework
Generic Automation Framework
Perl Automation Framework
QTP Descriptive Programming Unplugged is an in-depth reference and guide on using HP QTP Test Objects. A must-have for every user, from beginner to expert, this comprehensive book will help you to master a range of Object Identification techniques in QTP. Written by two seasoned QTP experts – Anshoo Arora and Tarun Lalwani – the book discusses and demonstrates both basic and advanced topics and is presented in a clear and easy-to-follow format. With this book, you will learn about:
- Object Identification
- Object Repository (Shared and Local)
- Descriptive Programming
- Visual Relation Identifiers
- ChildObjects
- HTML DOM
- Internationalization Testing
- CSS- and XPATH-based Identification
- Web Services
- Writing QTP Scripting in .NET
- Web Extensibility and much more…
About Authors
Anshoo Arora:
Anshoo Arora is a Test Architect and Software Developer, best known for his Test Automation website, www.RelevantCodes.com. He is continuously researching to find better ways of working with QTP, simplifying automation maintenance and creating extensible test suites/frameworks. A regular contributor at AdvancedQTP and SQAForums, he is also the Technical Editor and Reviewer of QuickTest’s first conceptual book, ‘And I thought I knew QTP!’
Tarun Lalwani:
Tarun Lalwani is a Test Automation and Solutions Architect and the author of the two most widely read books on QTP, the award-winning ‘QuickTest Professional Unplugged’ and ‘And I Thought I knew QTP!’ As well as working on various automated testing projects, he is the Founder of KnowledgeInbox, a company focused on the research and design of Automation products, as well as providing Test Automation services and consultation.
DP (Descriptive Programming) is a way to identify and interact with objects in QTP without using the Object Repository. It involves specifying an object's properties and values as strings to uniquely identify the object. There are two main methods - including the property-value strings directly in commands, or storing them in a description object. DP allows accessing objects not in the OR, and provides powerful features like getting collections of all objects that match a description. It is a flexible and useful technique for test automation in QTP.
HP Quick Test Professional is automated testing software that performs functional and regression testing through a user interface. It identifies objects in an application and performs operations like clicks and keyboard inputs. Tests are created using VBScript to specify test procedures and manipulate application objects. An automation framework provides support for automated testing by standardizing assumptions, concepts and tools to reduce maintenance costs when tests need to be updated.
This document provides an overview of automation fundamentals and an introduction to QuickTest Professional (QTP) 9.2. It discusses test automation concepts, benefits of automation, the automation life cycle, and factors to consider in automation planning. It also covers supported technologies and browsers in QTP, the QTP user interface, recording and running tests, object recognition, synchronization, checkpoints, parameters, and the object repository. The key points covered in 3 sentences are:
Test automation involves automating manual test cases using a tool to shorten testing time and avoid errors; QTP supports testing various application types and stores objects in its repository to recognize and identify them during testing; Parameters, checkpoints, synchronization, and the object repository are important
This document provides an overview of automation fundamentals and an introduction to QuickTest Professional (QTP) 9.2. It discusses what test automation is, the benefits of automation, the automation life cycle, and when automation is applicable. It also describes the QTP user interface, how to record and run tests, view results, and work with objects and the object repository. The key points covered are test automation concepts, the QTP interface and features, best practices for recording, running and viewing tests, and how QTP recognizes and stores objects.
This document provides an overview of automation fundamentals and an introduction to QuickTest Professional (QTP) 9.2. It discusses what test automation is, the benefits of automation, and factors to consider in automation planning. It also covers supported technologies and browsers in QTP, the add-in manager, and the QTP user interface. Key aspects like recording and running tests, checkpoints, synchronization, parameters, and regular expressions are explained at a high level.
Quick Test Professional (QTP) is an automated testing tool that allows users to test applications and author test scripts using a keyword-driven and GUI-based approach. The document discusses various QTP concepts like object repositories, checkpoints, parameters, and exception handling. It also provides sample questions and answers related to using features of QTP like object identification, data driving tests, handling dynamic objects, and comparing different types of object repositories.
This document provides an overview of QuickTest Professional 8.0 (Basic). It describes the QuickTest window and elements, introduces object recognition and the object repository, and discusses recording and running tests. Synchronization, checkpoints, parameters, and iterations are also covered as important test automation concepts. The document is intended to help users get started with QuickTest and understand its basic functionality.
- Automation involves using a tool to automate manual test cases to shorten the testing lifecycle and avoid human errors. It requires planning and effort.
- QuickTest Professional (QTP) is an automation tool that supports testing various technologies. The testing process in QTP involves creating test scripts by recording actions, running the scripts to execute tests, and analyzing the test results.
- QTP's add-in manager allows loading add-ins for different technologies so objects in those technologies can be recognized and tested. Knowing the application under test's technology is important for choosing the right add-ins.
Quick Test Professional (QTP) is a functional testing tool made by Mercury Interactive that uses VBScript for test automation. It works by recording user actions and generating a test script. There are three main types of recording in QTP: normal, analog, and low-level recording. QTP supports testing of web, Java, .NET, and other applications and environments. The document provides details on various QTP concepts like object repositories, checkpoints, data-driven testing, and more.
HP Quick Test Professional (QTP) is a tool for functional and regression testing that supports testing of .NET, Java, web, and other applications. It uses VBScript for scripting and supports recording and playback of tests in Internet Explorer, Firefox, and Chrome. While powerful, it has some limitations like only running on Windows and not supporting all browsers. The main components of a QTP test include actions, libraries, object repositories, checkpoints, and integration with HP Quality Center for requirements and defect tracking. QTP supports recording, descriptive programming, debugging, data-driven testing, and recovery scenarios to make tests more robust.
The document discusses software development lifecycles (SDLC) and quality assurance (QA) processes for Agile and Waterfall methodologies. It also covers automation testing and why it is beneficial.
QuickTest 11.00 offers new features such as managing test data through Quality Center configurations, testing GUI and non-GUI application layers in one test, and a new Run Results Viewer. It also provides improved support for identifying objects visually, collaborating with developers using log tracking, and testing Web 2.0, WPF, and Silverlight applications. Documentation is now organized by topic type to help find information more easily.
QuickTest 11.00 offers several new features including managing test data through Quality Center test configurations, testing both the GUI and non-GUI layers of an application in a single test, and a new Run Results Viewer. It also provides improved support for identifying objects visually and collaborating with developers via log tracking.
The document discusses various topics related to QuickTest Professional (QTP) including:
1. The V-model is a software development model where verification and validation activities are done parallel to requirements gathering and design.
2. Descriptive programming in QTP allows testers to perform actions on objects not in the object repository by providing a description to identify the object.
3. Parameterization in QTP replaces fixed values in tests with parameters, greatly increasing flexibility. Data driving uses parameterization to run a test with different data sets.
4. Regular expressions can be used to handle dynamic objects in QTP whose properties may change between test runs.
The document discusses the V-model software development process. It explains that in the V-model, verification activities such as testing occur parallel to validation activities from initial requirements elicitation through final acceptance testing. Both the left and right sides of the "V" represent progressive testing stages from unit to system level.
The document discusses manual testing versus automation testing. It defines the two types of testing and provides examples. Manual testing involves human interaction, while automation testing uses third-party tools. The document outlines advantages and disadvantages of both approaches. It then discusses different automation tools, including functional testing tools, test management tools, and performance tools. QuickTest Professional (QTP) is provided as an example of a functional testing tool. The architecture and features of QTP are explained in detail.
The document discusses Application Lifecycle Management (ALM) and HP Quality Center. It provides information on what Quality Center is, its modules, how to map requirements to test cases, generate tests from requirements, and use filters. It also answers various questions related to Quality Center features, usage, libraries, databases, and more.
Quick Test Professional (QTP) is a functional testing tool from HP that is used to automate testing of desktop, web, and mobile applications. It works by recording user actions and generating test scripts that can be replayed repeatedly. QTP supports testing of applications built using technologies like Windows, web objects, Java, .NET and more. It is based on the concepts of recording user actions and replaying them as test scripts. Automated testing with QTP brings benefits like speed, reliability, reduced costs, and comprehensive testing of applications.
This document provides answers to frequently asked questions about Quick Test Professional (QTP). It discusses QTP features and benefits, differences between versions 6.5 and 8.2, how to handle exceptions using recovery scenarios, uses of output values, how to use the object spy, object repository file extensions, how QTP recognizes objects, and properties used to identify browsers and web pages. It also provides examples of using COM interfaces and creating objects in QTP scripts.
This document provides answers to frequently asked questions (FAQs) about Quick Test Professional (QTP). It discusses features and benefits of QTP, differences between versions 6.5 and 8.2, how to handle exceptions using recovery scenarios, uses of output values, how to use the object spy, object repository file extensions, how QTP recognizes objects, and properties used to identify browsers and web pages. It also provides examples of using COM interfaces and creating objects in QTP scripts.
Similar to Qtp interview questions and answers (20)
Qtp sample certification questions and answersRamu Palanki
This document provides sample questions for the HP QuickTest Professional 9.2 Software exam. It includes 22 multiple choice questions covering various topics related to QuickTest such as file extensions used for function libraries, categories in the Step Generator, setting action iterations, available trigger event types, and commonly used ADO objects. It also provides a link to a website for more QuickTest scripts.
The document provides examples of how to perform various actions in QuickTest Professional (QTP) such as selecting items from a web list, setting values in a web edit, reading and writing data to text files, and using descriptive programming. Key examples include selecting the third item from a web list, setting the pincode value to "23" in a web edit, reading lines from one text file and writing them to another file, and setting the value "oshoworld" in the first web edit on a page using a descriptive program.
The document discusses QuickTest Professional (QTP) automation testing process and features. It describes the seven main phases of QTP testing including preparing, recording, enhancing tests, running tests, and analyzing results. It also explains features like object repositories, recording modes, parameterization, checkpoints, actions, and setting action properties.
QuickTest allows automated testing of websites to test all features faster and more thoroughly than manual testing. It simulates human actions like clicking and entering text. Tests can be run repeatedly and reliably to ensure a website works as expected even after changes. Well-designed automated tests cover all website features, saving time and catching bugs that could be missed with only manual testing.
The document loads two XML files from specified file paths, compares the number of child nodes between the files, then loops through each child node to check if the text is the same, displaying a message for each comparison.
Qtp change excel cell color with conditionRamu Palanki
This document provides Excel VBA script to format cells in a new workbook. The script creates a new Excel application object, makes it visible, adds a new workbook and worksheet, and sets the interior color of cells A1:A3 to 3. It then optionally sets the interior color of cell B1 to 3 before closing the Excel application object.
The document contains 58 multiple choice questions related to QTP certification. It tests knowledge of various QTP concepts like object repositories, checkpoints, data driving, recovery scenarios, and more. The questions cover topics like where objects are stored, functions of methods, looping statements, test settings, and other QTP features. Most answers provided are correct according to the document, though the assistant notes 6 answers it believes may be wrong.
Qtp certification questions and tutorialRamu Palanki
The document contains questions about QuickTest Professional (QTP) testing tools and concepts. It covers topics like the different recording modes, checkpoints, recovery scenarios, parameterization, and working with objects, properties, and data in QTP tests.
The document contains 40 multiple choice questions about QuickTest Professional (QTP) related to various tabs, views, menus, shortcuts and functionalities in QTP. Some of the key areas covered include the Test Settings window, Keyword View, Debug Viewer pane, Object Repository, recording and running tests, and more.
The document provides examples for various methods that can be used to interact with and retrieve information from objects in a testing framework. It includes methods to activate, capture screenshots, click, close, drag and drop, exist, get and set properties, retrieve text, type, wait for properties, and more. The examples demonstrate how to use these methods to interact with dialog boxes, windows, and other objects.
The document discusses Quick Test Professional (QTP), a test automation tool. It provides information on QTP features like keyword driven testing, data driven testing, and error handling. It also discusses how to get the QTP software, use the recovery scenario manager to handle exceptions, output values to view runtime application values, and use the object spy feature. Finally, it asks questions about common scripting languages used with QTP, examples of using COM interfaces in QTP projects, and differentiating between per action and shared object repositories.
The document discusses automation estimation and analysis. It describes two approaches for estimation - functionality based and script based. The automation process has two stages - analyzing scripts, preparing estimates, and getting approval in stage one. Stage two involves preparing the test structure, reusable components, creating and enhancing scripts, and delivery. The document also provides an example of how to analyze a single script and decide its complexity, and provides a table to estimate the number of days required based on script complexity. It concludes with describing the three types of maintenance for automated tests.
The document is a resume for a QA Test Analyst with over 6 years of experience in software testing and 1 year of experience with test automation using QTP. The resume lists the candidate's responsibilities and skills which include test planning, design, automation, execution, defect reporting, test management tools, programming languages, databases, and various testing methodologies. Specific projects are described involving testing web and client-server applications for banking, loans, and other domains. The resume promotes the candidate's website for more QTP scripts.
Qtp passing parameters between actionsRamu Palanki
The document provides steps to pass parameters between actions in QTP. It describes creating two actions, defining input parameters for the test and each action, and parameterizing the action inputs to pull values from the test parameters. This allows passing the value of the test parameter to the first action, and passing the first action's parameter to the second action.
Windows Script Host (WSH) is a Microsoft tool that allows running scripts on Windows desktops and from the command prompt. It provides a hosting environment for scripts written in languages like VBScript and JScript. WSH provides objects to allow script code to interact with the local computer environment. It includes commands like cscript.exe and wscript.exe to run scripts with or without a command window. WSH also enables running scripts remotely on other machines.
Quick test professional certifcation questions and tutorial2Ramu Palanki
The document contains questions and answers related to HP QuickTest Professional (QTP). It covers topics like hiding and displaying elements in QTP, default add-ins, data table location, workflow phases, conditional statements, object identification, checkpoints, procedures, databases, and more.
Quality center certification questionsRamu Palanki
This document contains 20 multiple choice questions about HP Quality Center. It covers topics like the web clients and databases that can be used with Quality Center 9.2, how functional testing tools like HP QuickTest Professional integrate with Quality Center, the different components in Quality Center, best practices for writing test steps, and how to configure tests and recover deleted tests. It also contains questions about converting requirements to tests, defining accurate and traceable tests, different test types that can be created, reusing tests, and the data that can be imported into Quality Center using the Excel Macro.
This document contains a QTP script for testing attributes on real estate listings. The script:
1. Connects to a database to retrieve listing details for testing.
2. Opens a browser and navigates to a listing to check if its property information includes "Lot size is 100 or more acres".
3. If not found, the test fails and results are appended to an Excel file.
4. The browser is then used to search for listings matching the retrieved criteria to verify attributes are set correctly.
The document provides an interview guide for a senior software testing professional. It contains questions in 6 sections - General, Environmental & Development Technologies, Software Engineering & Quality Standards, Manual Testing Concepts, Test Automation Concepts, and Tester Role & Responsibilities. The questions cover a wide range of topics including testing processes, development methodologies, programming languages, test design, automation, metrics, roles, and responsibilities. The guide aims to evaluate a candidate's testing knowledge and experience.
This document discusses different types of frameworks that can be used for organizing Quality Test Professional (QTP) test scripts, including object driven, keyword driven, function driven, and data table driven frameworks. It also provides an example of creating a class in Visual Basic Script (VBScript) with a property and procedure to demonstrate how classes work.
Biography and career history of Matthew Herzberger.pdfMatthew Herzberger
Matthew Herzberger, the dynamic founder of MVE IT Logistics, has transformed from an insightful youngster in a business-oriented family to a successful entrepreneur and dedicated golfer.
You have been assigned to manage a project but have no clue how and where to begin. It sounds like an opportunity but it can also turn out to be a disaster if you do not possess the knowledge and skills.
You must have come across a book called The Project Management Body of Knowledge which is most commonly called PMBOK. PMBOK is about processes, tools, and techniques to manage a project. It does not talk about the art and science of executing a project from the initial phase to the end of the project life cycle. PMBOK introduces you to a bunch of processes that you may use in managing a project, initiation processes for the project initiation phase, planning group of processes that you may apply during the planning phase, and the list goes on. After reading the PMBOK guide, you still have no idea where to begin. If you do not have the time then what you need is a book that will provide a birds-eye view and content that is sufficient enough to assist you in kicking off a project. Get this book now and begin to kick off a project like a pro.
To purchase, visit: https://gafm.com.my/gafm-book-shop/
Rissa May at 19_ A Rising Star in Entertainment and Environmental Activism.pptxashishkumarrana9
Fresh talent is usually sought for in the entertainment business, and Rissa May Age 19, surely drew its attention. This young actress and model is rapidly making herself a force to be reckoned with with her mesmerizing screen presence and varied acting range. But it’s not just her skill in front of the camera that’s drawing attention—May’s fervent environmental campaigning and dedication to sustainable development are also getting her much praise.
It is the first in a series of webinars planned under Mentoring Program - The Way Forward - An initiative of JU Civil Y2K Batch.
The presentation talks about career options for Civil Graduates withing the field of modeling and simulation (Digital Transformation).
Mitali Devendra Sawant
BCA undergraduate student of Maharshi Karve Mahila Mahavidyala Satara.
My skills - C programming, CPP, Java, Python, Web designing, English typing 30wpm, MS-office, very career oriented, perfection seeker, ability to take initiative, great leadership, nss volunteer, creative, amiable in nature
SEO Audit Checklist for SEO ProfessionalMohamed Askaf
Making sure your website performs well and is easy to find on search engines can be challenging. That's why having a clear and complete SEO plan is crucial. A great tool to help with this is the "Comprehensive Free SEO Audit Checklist" downloadable template. This resource is carefully designed to guide you step-by-step through the process of checking your website's SEO. It covers all the important parts that affect how your site ranks on search engines and its overall performance.
https://askaf.in/free-seo-audit-checklist/
The Certified Planning Engineer.PREVIEW.pdfGAFM ACADEMY
The Certified Planning Engineer ™ (CPE) is a gold-standard certification issued by The American Academy of Project Management ®. Earning this designation demonstrates that you have skills and experience in delivering projects within the timeline by developing strategies, determining material and labor costs, monitoring staff performance, and ensuring compliance with health and safety regulations. Other skills include interpreting data, compiling reports, and delivering presentations to project stakeholders.
It forms the basis of the assessment that applicants must pass to gain the Certified Planning Engineer (CPE) status and inclusion in the Register of The American Academy of Project Management ® AAPM Certified / Chartered Professionals.
Stand out above the rest with the world’s famous Certified Planning Engineer certification and get noticed by top recruiters.
https://gafm.com.my/digital-certification/gafm-book-shop/
https://gafm.com.my/digital-certification/application-for-certification/
1. For more QTP Scripts, visit
www.ramupalanki.com
QTP interview questions and answers
1. What are the Features & Benefits of Quick Test Pro (QTP 8.0)? - Operates
stand-alone, or integrated into Mercury Business Process Testing and Mercury
Quality Center. Introduces next-generation zero-configuration Keyword Driven
testing technology in Quick Test Professional 8.0 allowing for fast test creation,
easier maintenance, and more powerful data-driving capability. Identifies objects
with Unique Smart Object Recognition, even if they change from build to build,
enabling reliable unattended script execution. Collapses test documentation and
test creation to a single step with Auto-documentation technology. Enables
thorough validation of applications through a full complement of checkpoints.
2. How to handle the exceptions using recovery scenario manager in QTP? -
There are 4 trigger events during which a recovery scenario should be activated.
A pop up window appears in an opened application during the test run: A property
of an object changes its state or value, A step in the test does not run successfully,
An open application fails during the test run, These triggers are considered as
exceptions.You can instruct QTP to recover unexpected events or errors that
occurred in your testing environment during test run. Recovery scenario manager
provides a wizard that guides you through the defining recovery scenario.
Recovery scenario has three steps: 1. Triggered Events 2. Recovery steps 3. Post
Recovery Test-Run
3. What is the use of Text output value in QTP? - Output values enable to view
the values that the application talks during run time. When parameterized, the
values change for each iteration. Thus by creating output values, we can capture
the values that the application takes for each run and output them to the data table.
4. How to use the Object spy in QTP 8.0 version? - There are two ways to Spy the
objects in QTP: 1) Thru file toolbar, In the File Toolbar click on the last toolbar
button (an icon showing a person with hat). 2) True Object repository Dialog, In
Object repository dialog click on the button object spy. In the Object spy Dialog
click on the button showing hand symbol. The pointer now changes in to a hand
symbol and we have to point out the object to spy the state of the object if at all
the object is not visible. or window is minimized then, hold the Ctrl button and
activate the required window to and release the Ctrl button.
5. How Does Run time data (Parameterization) is handled in QTP? - You can
then enter test data into the Data Table, an integrated spreadsheet with the full
functionality of Excel, to manipulate data sets and create multiple test iterations,
without programming, to expand test case coverage. Data can be typed in or
imported from databases, spreadsheets, or text files.
6. What is keyword view and Expert view in QTP? - Quick Test’s
Keyword Driven approach, test automation experts have full access to the
underlying test and object properties, via an integrated scripting and debugging
environment that is round-trip synchronized with the Keyword View. Advanced
testers can view and edit their tests in the Expert View, which reveals the
www.ramupalanki.com
2. For more QTP Scripts, visit
www.ramupalanki.com
underlying industry-standard VBScript that Quick Test Professional automatically
generates. Any changes made in the Expert View are automatically synchronized
with the Keyword View.
7. Explain about the Test Fusion Report of QTP? - Once a tester has run a test, a
Test Fusion report displays all aspects of the test run: a high-level results
overview, an expandable Tree View of the test specifying exactly where
application failures occurred, the test data used, application screen shots for every
step that highlight any discrepancies, and detailed explanations of each
checkpoint pass and failure. By combining Test Fusion reports with Quick Test
Professional, you can share reports across an entire QA and development team.
8. Which environments does QTP support? - Quick Test Professional supports
functional testing of all enterprise environments, including Windows, Web,..NET,
Java/J2EE, SAP, Siebel, Oracle, PeopleSoft, Visual Basic, ActiveX, mainframe
terminal emulators, and Web services.
9. What is QTP? - Quick Test is a graphical interface record-playback automation
tool. It is able to work with any web, java or windows client application. Quick
Test enables you to test standard web objects and ActiveX controls. In addition to
these environments, Quick Test Professional also enables you to test Java applets
and applications and multimedia objects on Applications as well as standard
Windows applications, Visual Basic 6 applications and.NET framework
applications
10. Explain QTP Testing process? - Quick Test testing process consists of 6 main
phases:
11. Create your test plan - Prior to automating there should be a detailed description
of the test including the exact steps to follow, data to be input, and all items to be
verified by the test. The verification information should include both data
validations and existence or state verifications of objects in the application.
12. Recording a session on your application - As you navigate through your
application, Quick Test graphically displays each step you perform in the form of
a collapsible icon-based test tree. A step is any user action that causes or makes a
change in your site, such as clicking a link or image, or entering data in a form.
13. Enhancing your test - Inserting checkpoints into your test lets you search for a
specific value of a page, object or text string, which helps you identify whether or
not your application is functioning correctly. NOTE: Checkpoints can be added to
a test as you record it or after the fact via the Active Screen. It is much easier and
faster to add the checkpoints during the recording process. Broadening the scope
of your test by replacing fixed values with parameters lets you check how your
application performs the same operations with multiple sets of data. Adding logic
and conditional statements to your test enables you to add sophisticated checks to
your test.
14. Debugging your test - If changes were made to the script, you need to debug it to
check that it operates smoothly and without interruption.
www.ramupalanki.com
3. For more QTP Scripts, visit
www.ramupalanki.com
15. Running your test on a new version of your application - You run a test to
check the behavior of your application. While running, Quick Test connects to
your application and performs each step in your test.
16. Analyzing the test results - You examine the test results to pinpoint defects in
your application.
17. Reporting defects - As you encounter failures in the application when analyzing
test results, you will create defect reports in Defect Reporting Tool.
18. Explain the QTP Tool interface. - It contains the following key elements: Title
bar, displaying the name of the currently open test, Menu bar, displaying menus
of Quick Test commands, File toolbar, containing buttons to assist you in
managing tests, Test toolbar, containing buttons used while creating and
maintaining tests, Debug toolbar, containing buttons used while debugging tests.
Note: The Debug toolbar is not displayed when you open Quick Test for the first
time. You can display the Debug toolbar by choosing View — Toolbars —
Debug. Action toolbar, containing buttons and a list of actions, enabling you to
view the details of an individual action or the entire test flow. Note: The Action
toolbar is not displayed when you open Quick Test for the first time. You can
display the Action toolbar by choosing View — Toolbars — Action. If you insert
a reusable or external action in a test, the Action toolbar is displayed
automatically. Test pane, containing two tabs to view your test-the Tree View and
the Expert View ,Test Details pane, containing the Active Screen. Data Table,
containing two tabs, Global and Action, to assist you in parameterizing your test.
Debug Viewer pane, containing three tabs to assist you in debugging your test-
Watch Expressions, Variables, and Command. (The Debug Viewer pane can be
opened only when a test run pauses at a breakpoint.) Status bar, displaying the
status of the test
19. How does QTP recognize Objects in AUT? - Quick Test stores the definitions
for application objects in a file called the Object Repository. As you record your
test, Quick Test will add an entry for each item you interact with. Each Object
Repository entry will be identified by a logical name (determined automatically
by Quick Test), and will contain a set of properties (type, name, etc) that uniquely
identify each object. Each line in the Quick Test script will contain a reference to
the object that you interacted with, a call to the appropriate method (set, click,
check) and any parameters for that method (such as the value for a call to the set
method). The references to objects in the script will all be identified by the logical
name, rather than any physical, descriptive properties.
20. What are the types of Object Repositories in QTP? - Quick Test has two types
of object repositories for storing object information: shared object repositories and
action object repositories. You can choose which type of object repository you
want to use as the default type for new tests, and you can change the default as
necessary for each new test. The object repository per-action mode is the default
setting. In this mode, Quick Test automatically creates an object repository file for
each action in your test so that you can create and run tests without creating,
choosing, or modifying object repository files. However, if you do modify values
www.ramupalanki.com
4. For more QTP Scripts, visit
www.ramupalanki.com
in an action object repository, your changes do not have any effect on other
actions. Therefore, if the same test object exists in more than one action and you
modify an object’s property values in one action, you may need to make
the same change in every action (and any test) containing the object.
21. Explain the check points in QTP? - A checkpoint verifies that expected
information is displayed in an Application while the test is running. You can add
eight types of checkpoints to your test for standard web objects using QTP. A
page checkpoint checks the characteristics of an Application. A text checkpoint
checks that a text string is displayed in the appropriate place on an Application.
An object checkpoint (Standard) checks the values of an object on an Application.
An image checkpoint checks the values of an image on an Application. A table
checkpoint checks information within a table on a Application. An Accessibilityy
checkpoint checks the web page for Section 508 compliance. An XML checkpoint
checks the contents of individual XML data files or XML documents that are part
of your Web application. A database checkpoint checks the contents of databases
accessed by your web site
22. In how many ways we can add check points to an application using QTP? -
We can add checkpoints while recording the application or we can add after
recording is completed using Active screen (Note : To perform the second one
The Active screen must be enabled while recording).
23. How does QTP identify objects in the application? - QTP identifies the object
in the application by Logical Name and Class.
24. What is Parameterizing Tests? - When you test your application, you may want
to check how it performs the same operations with multiple sets of data. For
example, suppose you want to check how your application responds to ten
separate sets of data. You could record ten separate tests, each with its own set of
data. Alternatively, you can create a parameterized test that runs ten times: each
time the test runs, it uses a different set of data.
25. What is test object model in QTP? - The test object model is a large set of
object types or classes that Quick Test uses to represent the objects in your
application. Each test object class has a list of properties that can uniquely
identify objects of that class and a set of relevant methods that Quick Test can
record for it. A test object is an object that Quick Test creates in the test or
component to represent the actual object in your application. Quick Test stores
information about the object that will help it identify and check the object during
the run session.
26. What is Object Spy in QTP? - Using the Object Spy, you can view the
properties of any object in an open application. You use the Object Spy pointer to
point to an object. The Object Spy displays the selected object’s
hierarchy tree and its properties and values in the Properties tab of the Object Spy
dialog box.
27. What is the Diff between Image check-point and Bit map Check point? -
Image checkpoints enable you to check the properties of a Web image. You can
check an area of a Web page or application as a bitmap. While creating a test or
www.ramupalanki.com
5. For more QTP Scripts, visit
www.ramupalanki.com
component, you specify the area you want to check by selecting an object. You
can check an entire object or any area within an object. Quick Test captures the
specified object as a bitmap, and inserts a checkpoint in the test or component.
You can also choose to save only the selected area of the object with your test or
component in order to save disk Space. For example, suppose you have a Web
site that can display a map of a city the user specifies. The map has control keys
for zooming. You can record the new map that is displayed after one click on the
control key that zooms in the map. Using the bitmap checkpoint, you can check
that the map zooms in correctly. You can create bitmap checkpoints for all
supported testing environments (as long as the appropriate add-ins are loaded).
Note: The results of bitmap checkpoints may be affected by factors such as
operating system, screen resolution, and color settings.
28. How many ways we can parameterize data in QTP? - There are four types of
parameters: Test, action or component parameters enable you to use values passed
from your test or component, or values from other actions in your test. Data Table
parameters enable you to create a data-driven test (or action) that runs several
times using the data you supply. In each repetition, or iteration, Quick Test uses a
different value from the Data Table. Environment variable parameters enable you
to use variable values from other sources during the run session. These may be
values you supply, or values that Quick Test generates for you based on
conditions and options you choose. Random number parameters enable you to
insert random numbers as values in your test or component. For example, to
check how your application handles small and large ticket orders, you can have
Quick Test generate a random number and insert it in a number of tickets edit
field.
29. How do u do batch testing in WR & is it possible to do in QTP, if so
explain? - Batch Testing in WR is nothing but running the whole test set by
selecting Run Test set from the Execution Grid. The same is possible with QTP
also. If our test cases are automated then by selecting Run Test set all the test
scripts can be executed. In this process the Scripts get executed one by one by
keeping all the remaining scripts in Waiting mode.
30. If I give some thousand tests to execute in 2 days what do u do? - Adhoc
testing is done. It Covers the least basic functionalities to verify that the system is
working fine.
31. What does it mean when a check point is in red color? what do u do? - A red
color indicates failure. Here we analyze the cause for failure whether it is a Script
Issue or Environment Issue or a Application issue.
32. What is Object Spy in QTP? - Using the Object Spy, you can view the
properties of any object in an open application. You use the Object Spy pointer to
point to an object. The Object Spy displays the selected object’s
hierarchy tree and its properties and values in the Properties tab of the Object Spy
dialog box.
33. What is the file extension of the code file & object repository file in QTP? -
Code file extension is.vbs and object repository is.tsr
www.ramupalanki.com
6. For more QTP Scripts, visit
www.ramupalanki.com
34. Explain the concept of object repository & how QTP recognizes objects? -
Object Repository: displays a tree of all objects in the current component or in the
current action or entire test (depending on the object repository mode you
selected). We can view or modify the test object description of any test object in
the repository or to add new objects to the repository. Quicktest learns the default
property values and determines in which test object class it fits. If it is not enough
it adds assistive properties, one by one to the description until it has compiled the
unique description. If no assistive properties are available, then it adds a special
Ordinal identifier such as objects location on the page or in the source code.
35. What are the properties you would use for identifying a browser & page
when using descriptive programming? - Name would be another property apart
from title that we can use.
36. Give me an example where you have used a COM interface in your QTP
project? - com interface appears in the scenario of front end and back end. for
eg:if you r using oracle as back end and front end as VB or any language then for
better compatibility we will go for an interface. of which COM will be one among
those interfaces. Create object creates handle to the instance of the specified
object so that we program can use the methods on the specified object. It is used
for implementing Automation(as defined by Microsoft).
37. Explain in brief about the QTP Automation Object Model. - Essentially all
configuration and run functionality provided via the Quick Test interface is in
some way represented in the Quick Test automation object model via objects,
methods, and properties. Although a one-on-one comparison cannot always be
made, most dialog boxes in Quick Test have a corresponding automation object,
most options in dialog boxes can be set and/or retrieved using the corresponding
object property, and most menu commands and other operations have
corresponding automation methods. You can use the objects, methods, and
properties exposed by the Quick Test automation object model, along with
standard programming elements such as loops and conditional statements to
design your program.
www.ramupalanki.com