Book description
This book is a one-stop resource that explains all concepts, features, and benefits of test automation and QTP with real-time examples. This book has been designed to be a beginner's guide for new users, a companion guide for experienced users, and a reference guide for professionals appearing for interviews or certification exams on test automation and QTP.
Book Contents –
Section 1: Test Automation
Section 2: VBScript
Section 3: Basic QTP
Section 4: Advanced QTP
Section 5: Test Automation Lab
Section 6: Functional Testing 11
Appendices
Table of contents
- Cover
- Brief Contents
- Contents (1/2)
- Contents (2/2)
- Synopsis
-
Section 1: Test Automation
- Chapter 1: Introduction
- Chapter 2: Test Automation Life Cycle
- Chapter 3: Test Automation Approach
- Chapter 4: Test Automation Framework
- Chapter 5: Business Model-Driven Framework
- Chapter 6: Agile Automation Framework
- Chapter 7: Test Automation Metrics
-
Chapter 8: Test Automation Process
- Need Analysis Process Flow
- ROI Analysis Process Flow
- Tool Analysis Process Flow
- Proof of Concept
- Framework Design Process Flow
- Business Knowledge Gathering Process Flow
- Script Design Process Flow
- Script Execution Process Flow
- Test Results Analysis Process Flow
- Maintenance Process Flow
- Building One-Point Maintenance
- Version Control Strategy
- Communication Model
- Test Automation Documents
-
Section 2: VBScript
- Chapter 9: VBScript
- Chapter 10: Dictionary
-
Chapter 11: Regular Expressions
- How to Create a Regular Expression Object
- Meta Characters
-
How to use VBScript Regular Expression Object
- Match Any Single Character (.)
- Match Zero or More Character (?)
- Match Single Preceding Expression (+)
- Match Zero or More Preceding Expression (*)
- Using Escape Character (\)
- Match Beginning of a String (^)
- Match End of a String ($)
- Match Digit Character (\d)
- Match Non-digit Character (\D)
- Match Alphanumeric Character (\w)
- Match Non-alphanumeric Character (\w)
- Match One of Several Regular Expressions (|)
- Match Any Single Character in a List [xyz]
- Match Any Single Character Not in a List [xyz]
- Match Any Single Character within a Range [a-z]
- Match Any Single Character Not within a Range [^a-z]
- Match Multiple Occurrences of a Pattern {}
- Parsing Dates
- E-mail Matching
- Replacing String Using Regular Expression
-
Section 3: Basic QTP
- Chapter 12: QTP: Introduction
- Chapter 13: Object Identification
- Chapter 14: Test Script Development
-
Chapter 15: Environment Variables
- When to Use Environment Variables
- How to Define Environment Variables (1/2)
-
How to Define Environment Variables (2/2)
- How to Define User-Defined Internal Environment Variables
- Clear Value of an Environment Variable
- How to Access Environment Variablesin Test Scripts (Fig. 15.6)
- How to Load XML Environment File during Run-Time
- How to Export Environment Variables from QTP Environment Tab to an External XML File
- How to Pass an Object Instance Using Environment Variable
- How to Store Arrays in Environment Variable
- Quick Tips
- Practical Questions
- Chapter 16: Library
- Chapter 17: Action
-
Chapter 18: Object Repository
- Types of Object Repositories
- Adding New Objects to Shared OR
- Adding New Objects to Local OR
- How to Avoid Object Duplication in Object Repository
- Add/Remove Object Properties
- Associating a Shared Object Repository to a Test Script
- Update Object Properties from Application
- Modify Object Property Values – Regular Expression
- Highlight Test Object in Application GUI
- Highlight Application Object in Object Repository
- Object Spy
- Test and Run-Time Objects
- Identification and Native Properties
- Define New Test Object
- Comparing Shared Object Repositories
- Analyzing Comparison Results
- Merging Shared Object Repositories
- How to Design Object Repository
- Object Repository Design
- The Repositories Collection Object
- Chapter 19: Datatables
-
Chapter 20: Working with Web Application Objects
- Working with Browser
- Launch Internet Explorer and Web Application
- Working with Page
- Working with WebEdit
- Working with WebButton
- Working with WebCheckBox
- Working with WebList
- Working with Link
- Working with WebRadioGroup
- Working with WebTable
- Function to Find Cell Ordinates of a Keyword Present in WebTable
- Exporting Webtable Values to Datatable
- Exporting Webtable Values to Dictionary Object
- Some Useful Methods
- Some Useful Utility Objects
- Some Useful Examples
-
Chapter 21: Descriptive Programming
- When to Use Descriptive Programming
- Descriptive Programming Syntax
- Regular Expressions
- Child Objects
- Converting an OR-Based Test Script to a DP-Based Test Script
- Using DP-Based Object Repository
- Working with Multiple Opened Browsers
- Function to Close All Opened Browsers
- Function to Close All Opened Browsers Except the One Which was Opened First
- Advantages of Descriptive Programming
- Disadvantages of Descriptive Programming
- Comparison of or and DP Approaches
- Chapter 22: Synchronization
- Chapter 23: Checkpoints
- Chapter 24:Debugging
- Chapter 25: Recovery Scenario and Error Handler
- Chapter 26: Test Results
- Chapter 27: Working with PuTTY
- Chapter 28: Windows Scripting
-
Section 4: Advanced QTP
- Chapter 29: QTP Automation Object Model
- Chapter 30: HTML DOM
- Chapter 31: Working with Notepad
-
Chapter 32: Working with Microsoft Excel
-
Excel Object Model
- Creating an Instance of Excel Application
- Creating a New Workbook and Worksheet
- Open an Existing Workbook
- Read an Excel Workbook
- Write to an Excel Workbook
- Search for a String in Excel Workbook
- Replace All Occurrences of a String with Another String in Excel Workbook
- Modifying Excel Cell Properties
- Deleting all Blank Rows of a Worksheet
- To Access Data of an Already Opened Excel File
- To Save an Excel File Which Opens Dynamically in Application
- Excel Object Browser
- Excel as Database (1/2)
- Excel as Database (2/2)
-
Excel Object Model
- Chapter 33: Working with Database
- Chapter 34: Working with XML
-
Chapter 35: Working with Microsoft Word
-
Word Automation Object Model
- Creating an Instance of Word Application
- Creating a New Document
- Opening an Existing Document
- Adding Picture to Documents
- Printing Documents
- Formatting Text in Documents
- Counting Words and Characters in Documents
- Searching for Text in Documents
- Replacing Texts in Documents
- Creating Tables in Documents
- Quick Tips
- Practical Questions
-
Word Automation Object Model
- Chapter 36: Working with E-Mail Client
- Chapter 37: Integrating QTP with Quality Center
- Section 5: Test Automation Lab
-
Section 6: Functional Testing 11
-
Chapter 39: What’s New in Functional Testing 11
-
New Features
- Manage Test Data
- Test GUI and UI-less Application Functionality in One Test
- New Run Results Viewer
- Identify Objects not Only in Relation to Each Other But in Relation to Neighboring Objects
- Log Tracking
- Support for Web 2.0 Toolkit Applications
- Firefox Support
- XPath- and CSS-based Object Identifications
- Event Identifiers
- Embed/Run JavaScript in Web Pages
- Automatically Parameterize Steps
- New Silverlight Add-in
- Extend WPF and Silverlight Support
- Use Extensibility Accelerator for Web Add-in Extensibility Development
- Easy-to-Design Regular Expressions
- Load Function Libraries at Run-Time
- Avoid Downtime due to License Server Failures
- Improved Documentation
-
Product Enhancements
- New Object Spy Functionality
- Compare, Merge, and Export Object Repositories with CheckPoints and Output Values
- Add Images to Run Results
- New Dual Monitor Support
- New Web Test Object Operations
- New Wpf Table Test Objects
- Hide the Keyword View
- Enable Running QTP Tests on Minimized RDP Session Windows
- Business Process Testing Enhancements
- Web Add-in Extensibility Enhancements
- New Supported Sperating Systems and Environments
- New browsers supported by QTP 11
-
New Features
-
Chapter 40: Business Process Testing
- Life Cycle of BPT
- Creating Business Components
- Defining Component Details
- Adding Snapshot
- Defining Business Component Parameters
- Adding Design Steps
- Converting Manual Component to Automated Component
- Opening Automated Component in Quicktest
- Creating Business Process Tests
- Debugging Business Process Tests
- Creating Test Set
- Executing Test Set
- Developing Business Components
- Creating Application Area
-
Chapter 39: What’s New in Functional Testing 11
-
Appendices
- Appendix A—Test Script Template
- Appendix B—Scripting Guidelines
- Appendix C—Vbscript Naming Conventions
- Appendix D—Script Review Checklist
- Appendix E—Test Tool Evaluation Chart
- Appendix F—Object Identification Standards for a Typical Web Application
- Appendix G—Quicktest Pro System Requirements
- Appendix H—HP Functional Testing 11 Product Availability Matrix (1/3)
- Appendix H—HP Functional Testing 11 Product Availability Matrix (2/3)
- Appendix H—HP Functional Testing 11 Product Availability Matrix (3/3)
- HP Quicktest Professional 11.00 Product Availability Matrix Appendix
- Index (1/2)
- Index (2/2)
Product information
- Title: Test Automation and (QTP: QTP 9.2, QTP 9.5, QTP 10.0 and Functional Test 11.0) by Pearson
- Author(s):
- Release date: May 2024
- Publisher(s): Pearson India
- ISBN: 9781299444744
You might also like
book
Advanced Testing of Systems-of-Systems, Volume 2
As a society today, we are so dependent on systems-of-systems that any malfunction has devastating consequences, …
book
Advanced Testing of Systems-of-Systems, Volume 1
As a society today, we are so dependent on systems-of-systems that any malfunction has devastating consequences, …
article
Use ChatGPT to Enhance Test Coverage
ChatGPT Shortcuts shows future prompt engineers how to harness the full potential of the state-of-the-art AI …
book
Automated Code Remediation
The software industrial revolution has arrived. There's an explosion of custom applications today, and we assemble …