How QuickTest Works with Objects USINGQTP65-STUDENT-01A.

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Check spelling in a document. Check for grammatical errors. Find specific text. Replace specific text.
Advertisements

Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Using Macros and Visual Basic for Applications (VBA) with Excel
Access Lesson 2 Creating a Database
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Access Tutorial 1 Creating a Database
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Leveraging Objects with XPath
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Microsoft Office Word 2013 Core Microsoft Office Word 2013 Core Courseware # 3250 Lesson 8: Using Productivity Tools.
Chapter 3 Working with Text and Cascading Style Sheets.
Access Lesson 2 Creating a Database
Food Recall System Pre Code System Design Layout Version 1.0.
© 2011 Delmar, Cengage Learning Chapter 9 Collecting Data with Forms.
What is QTP ► QTP stands QuickTest Professional ► It is an automated testing tool provided by HP/Mercury Interactive ► QTP integrates with other Mercury.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
1 ADVANCED MICROSOFT WORD Lesson 16 – Customizing Features Microsoft Office 2003: Advanced.
Adding User Interactivity – Lesson 51 Adding User Interactivity Lesson 5.
Intro to MFC. Open VS and create new project 1)Open MS Visual Studio 2008 Professional (It must be the Professional Edition, the Express Edition will.
Click your mouse to continue. Ways to Merge Data When you have finished editing your main document and inserting the merge fields, you have several choices.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Word Lesson 17 Customizing Settings Microsoft Office 2010 Advanced Cable / Morrison 1.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
2. Recording a Macro. Macro Recording Select Record Macro from the Macro file menu and the dialog box opposite will appear Your macro will require a name.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
Introduction It is developed to create software applications. It is a tool for developers of any program that uses both basic and expert settings. It.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Key Applications Module Lesson 21 — Access Essentials
Screen ViewModule Title: Notes: Branching Instructions: Audio Script: Page: Messaging Configure the Address Book 1 Configure the Personal Address Book.
Click your mouse to continue. Creating a New Mail Merge Document When you need to create a form letter but do not have an existing main document, you can.
For additional assistance, please call the Help Desk Searching 1. If a Search window does not appear after logging into the system, click the Search icon.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 7 – Creating and Using Templates in a Web.
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Technical Overview. Project Overview Document Library Document List Index TransmittalsPlanning.
Macros Lesson 7. Objectives 1. Create a macro. 2. Run a macro. 3. Edit a macro. 4. Copy, rename, and delete macros. 5. Customize menus and toolbars. After.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Insert a voice comment in Word 2007 Before you can add a voice comment for the first time, you need to add the Insert Voice command to the Quick Access.
Create the Basic Test USINGQTP65-STUDENT-01A. QuickTest Professional Workflow Gather relevant test information What are the test requirements? Where can.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Excel Tutorial 8 Developing an Excel Application
Chapter 2: The Visual Studio .NET Development Environment
Access Tutorial 1 Creating a Database
Synchronizing Tests When we have a test case in hand, we can begin creating an automated test. This is done through record and playback. USINGQTP65-SLIDES-01A.
Introduction to the Visual C# 2005 Express Edition IDE
Microsoft Word Illustrated
Microsoft Excel 2003 Illustrated Complete
Access Tutorial 1 Creating a Database
Reliance Supplier Corrective Action Process
Access Tutorial 1 Creating a Database
Lesson 6: Epic Appointment Scheduling Referrals
Access Tutorial 1 Creating a Database
Assignment 3 Querying and Maintaining a Database
Selenium IDE Installation and Use.
Presentation transcript:

How QuickTest Works with Objects USINGQTP65-STUDENT-01A

Lesson Objectives In this lesson, you will:  Identify the components QuickTest uses to learn an object  Identify objects and their properties using the Object Repository  Investigate object properties using the Object Spy  Use a breakpoint and other run features to help you investigate an object

Class Discussion: How QuickTest Identifies Objects In the Object > Method > Value model, how do you think QuickTest came up with “Fly From:?”

How QuickTest Identifies Objects 1. Learns the object's parent window and the object properties Object in Window “X” Height is 20 Width is 52 Attached text is “First Name” Enabled ID is Recognizes the object type (“class”) This object is of type “Edit.” 3. Assigns a "Logical name" to the learned object This object will be known as “FirstName,” unique from all other objects in Window X.

(1) Object Properties What are object properties? A set of characteristics that define an object’s appearance, values, state and identity in an application.

(2) The Object “Class” Edit box Drop down list Button QuickTest recognizes objects in an supported application and determines what type of object each is Check box Radio buttons

(3) The Logical Name  The logical name is a value QuickTest usually takes from one of the object properties  The value is used as the identifying name of the object Nativeclass: Edit Attached Text: Agent Name: Enabled: True Focused: True Height: 20 Text: Harold Width: 119 Which of the object’s properties did QuickTest use for the logical name?

The Object Repository Note: Object properties are taken directly from the application’s API The Object Repository is a location within the test structure where QuickTest stores object information. Object Repository Sample objects (and their properties) included in the Login window that were captured during recording: - Agent Name field - Password field - OK button - Cancel button - Help button

Functions of the Object Repository Use the Object Repository to:  Rename logical names for readability  Add a new object in the repository  Configure the object properties used to identify an object (Add/Remove properties)

Object Spy A tool used to determine object properties and values of an object Object location Object property list

Adding Comments and Using the Debug Toolbar  Use comments to document relevant steps and changes in a test script  Use the common commands to stop and start a test a different points in the Debug toolbar Insert a Comment interface Debug Toolbar