TY - BOOK AU - Bar-Tal,Meir AU - Wright,Jonathon Lee TI - Advanced Uft 12 for Test Engineers Cookbook SN - 9781849688413 AV - QA76.9.U83 -- .B37 2014eb U1 - 005.437 PY - 2014/// CY - Birmingham PB - Packt Publishing, Limited KW - Graphical user interfaces (Computer systems) KW - Electronic books N1 - Intro -- Advanced UFT 12 for Test Engineers Cookbook -- Table of Contents -- Advanced UFT 12 for Test Engineers Cookbook -- Credits -- About the Authors -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Instant updates on new Packt books -- Preface -- What this book covers -- What you will need for this book -- Who this book is for -- Sections -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Data-driven Tests -- Introduction -- Creating a DataTable parameter -- How to do it... -- How it works... -- See also -- Retrieving data from a DataTable -- Getting ready -- How to do it... -- How it works... -- Storing data in a DataTable -- How to do it... -- How it works… -- There's more... -- See also -- Importing an Excel file to a test -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Exporting a DataTable -- How to do it... -- How it works... -- There's more... -- Parameterizing Test Object properties -- How to do it... -- There's more... -- See also -- Defining test cases using a DataTable -- Getting ready -- How to do it... -- How it works... -- Storing data in the Environment object -- How to do it... -- How it works... -- There's more... -- See also -- Retrieving data from the Environment object -- Getting ready -- How to do it... -- How it works... -- See also -- Reading values from an INI file -- Getting ready -- How to do it... -- Using a configuration file to manage test environments -- Getting ready -- How to do it... -- How it works... -- Using a global dictionary for fast shared data access -- Getting ready -- How to do it... -- How it works; See also -- Using a global dictionary for fast shared code access -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- 2. Testing Web Pages -- Introduction -- Checking whether page links are broken -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Deleting cookies -- Getting ready -- How to do it... -- How it works... -- Managing multiple browser windows -- Getting ready -- How to do it... -- How it works... -- Handling pop-up dialogs -- Getting ready -- How to do it... -- How it works... -- Downloading a file using XMLHttp -- Getting ready -- How to do it... -- How it works... -- Checking whether a website is up -- Getting ready -- How to do it... -- How it works... -- See also -- Uploading a file using FTP -- Getting ready -- How to do it... -- How it works... -- Identifying elements based on anchors -- How to do it... -- How it works... -- Synchronizing a test with a web page loading -- How to do it... -- How it works... -- Accessing web elements through DOM -- How to do it... -- How it works... -- See also -- 3. Testing XML and Database -- Introduction -- Establishing and closing a database connection -- Getting ready -- How to do it... -- How it works... -- Using SQL queries programmatically -- Getting ready -- How to do it... -- How it works... -- Using a database checkpoint -- Getting ready -- How to do it... -- How it works... -- Using an XML checkpoint -- How to do it... -- How it works... -- 4. Method Overriding -- Introduction -- Overriding a Test Object method -- Getting ready -- How to do it... -- How it works... -- There's more... -- Number of function arguments -- Interoperability of registered functions -- See also -- Registering a method to all classes -- Getting ready -- How to do it... -- How it works... -- Using method overriding to support object subtypes; Getting ready -- How to do it... -- How it works... -- There's more... -- Adding a new method to a class -- How to do it... -- How it works... -- See also -- 5. Object Identification -- Introduction -- Setting mandatory and assistive properties for a class -- Getting ready -- How to do it... -- How it works... -- Using Descriptive Programming inline -- Getting ready -- How to do it... -- How it works... -- Using the Description object -- Getting ready -- How to do it... -- How it works... -- Using child objects -- How to do it... -- How it works... -- Using native properties for object identification -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Identifying an object based on its parent -- How to do it... -- How it works... -- 6. Event and Exception Handling -- Introduction -- Catching errors inside a function or subroutine -- Getting ready -- How to do it... -- How it works... -- See also -- Creating and using a recovery scenario -- How to do it... -- How it works... -- Using a global dictionary for recovery -- Getting ready -- How to do it... -- How it works... -- 7. Using Classes -- Introduction -- Implementing a class -- Getting ready -- How to do it... -- How it works... -- See also -- Implementing a simple search class -- Getting ready -- How to do it... -- How it works... -- Implementing a generic Login class -- Getting ready -- How to do it... -- How it works... -- Implementing function pointers -- Getting ready -- How to do it... -- How it works... -- See also -- Implementing a generic Iterator -- Getting ready -- How to do it... -- How it works... -- 8. Utility and Reserved Objects -- Introduction -- Using global variables (Environment) -- Getting ready -- How to do it… -- How it works… -- See also -- Customizing mouse operations (DeviceReplay) -- Getting ready -- How to do it… -- How it works…; Managing processes (SystemUtil) -- Getting ready -- How to do it… -- Measuring time (MercuryTimers) -- Getting ready -- How to do it… -- How it works… -- Resolving file locations (PathFinder) -- Getting ready -- How to do it… -- How it works… -- Loading shared object repositories (RepositoriesCollection) -- Getting ready -- How to do it… -- How it works... -- Loading and creating XML documents (XMLUtil) -- Getting ready -- How to do it... -- Drawing a rectangle on the screen with Win32 API methods (Extern) -- Getting ready -- How to do it… -- How it works… -- Verifying binary file contents (FileCompare) -- Getting ready -- How to do it... -- How it works... -- Implementing a custom reserved object -- How to do it… -- How it works… -- Using remote objects -- Getting ready -- How to do it… -- How it works… -- Utility statements -- Getting ready -- How to do it… -- 9. Windows Script Host -- Introduction -- Reading a key from the Windows® system registry -- Getting ready -- How to do it... -- How it works... -- Writing a key to the Windows® system registry -- Getting ready -- How to do it... -- How it works... -- Deleting a key from the Windows® system registry -- Getting ready -- How to do it... -- How it works... -- Running a process using the Windows® system shell -- Getting ready -- How to do it... -- How it works... -- 10. Frameworks -- Introduction to test automation frameworks -- Definition of a test automation framework -- Advantages of using a test automation framework -- Types of test automation frameworks -- Selecting a framework type -- Modular-driven framework -- Data-driven frameworks -- Keyword-driven frameworks -- Hybrid frameworks -- Designing a test automation framework -- Key design activities for a framework -- Components of a framework -- Controller -- Reusable components (actions) -- Event handler -- Reporter; Building a test controller -- Getting ready -- How to do it... -- How it works... -- Building a reusable component (action) -- Getting ready -- How to do it... -- How it works... -- Building an event handler -- Getting ready -- How to do it... -- How it works... -- Building a test reporter -- Getting ready -- How to do it... -- How it works... -- A. Design Patterns -- Auxiliary classes and functions -- Action patterns -- Runtime data patterns -- Index N2 - This advanced cookbook is designed for software testers and engineers with previous automation experience and teaches UFT (QTP) developers advanced programming approaches. Knowledge of software testing and basic coding (with VBScript in particular) and familiarity with programming concepts are prerequisites UR - https://ebookcentral.proquest.com/lib/orpp/detail.action?docID=1879303 ER -