LEADER 05051nam 2200625 450 001 9910808237803321 005 20170814165807.0 010 $a1-84968-841-9 035 $a(CKB)2670000000578865 035 $a(EBL)1879303 035 $a(SSID)ssj0001431935 035 $a(PQKBManifestationID)11799523 035 $a(PQKBTitleCode)TC0001431935 035 $a(PQKBWorkID)11388739 035 $a(PQKB)10001709 035 $a(MiAaPQ)EBC1879303 035 $a(CaSebORM)9781849688406 035 $a(PPN)228025842 035 $a(EXLCZ)992670000000578865 100 $a20141217h20142014 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aAdvanced UFT 12 for test engineers Cookbook $eover 60 practical recipes to help you accomplish automation tasks using UFT 12 and VBScript /$fMeir Bar-Tal, Jonathon Lee Wright ; cover image by Faiz F 205 $a1st edition 210 1$aBirmingham, England :$cPackt Publishing,$d2014. 210 4$d©2014 215 $a1 online resource (272 p.) 225 1 $aQuick answers to common problems 300 $a"Quick answers to common problems"--Cover. 300 $aIncludes index. 311 $a1-84968-840-0 311 $a1-322-34846-4 327 $aCover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Data-Driven Tests; Introduction; Creating a DataTable parameter; Retrieving data from a DataTable; Storing data in a DataTable; Importing an Excel file to a test; Exporting a DataTable; Parameterizing Test Object properties; Defining test cases using a DataTable; Storing data in the Environment object; Retrieving data from the Environment object; Reading values from an INI file; Using a configuration file to manage test environments 327 $aUsing a global dictionary for fast shared data accessUsing a global dictionary for fast shared code access; Chapter 2: Testing Web Pages; Introduction; Checking if page links are broken; Deleting cookies; Managing multiple browser windows; Handling pop-up dialogs; Downloading a file using XMLHttp; Checking whether a website is up; Uploading a file using FTP; Identifying elements based on anchors; Synchronizing a test with a web page loading; Accessing web elements through DOM; Chapter 3: Testing XML and Database; Introduction; Establishing and closing a database connection 327 $aUsing SQL queries programmaticallyUsing a database checkpoint; Using an XML checkpoint; Chapter 4: Method Overriding; Introduction; Overriding a Test Object method; Registering a method to all classes; Using method overriding to support object subtypes; Adding a new method to a class; Chapter 5: Object Identification; Introduction; Setting mandatory and assistive properties for a class; Using Descriptive Programming inline; Using the Description object; Using child objects; Using native properties for object identification; Identifying an object based on its parent 327 $aChapter 6: Event and Exception HandlingIntroduction; Catching errors inside a function or subroutine; Creating and using a recovery scenario; Using a global dictionary for recovery; Chapter 7: Using Classes; Introduction; Implementing a class; Implementing a simple search class; Implementing a generic Login class; Implementing function pointers; Implementing a generic Iterator; Chapter 8: Utility and Reserved Objects; Introduction; Using global variables (Environment); Customizing mouse operations (DeviceReplay); Managing processes (SystemUtil); Measuring time (MercuryTimers) 327 $aResolving file locations (PathFinder)Loading shared object repositories (RepositoriesCollection); Loading and creating XML documents (XMLUtil); Drawing a rectangle on the screen with Win32 API methods (Extern); Verifying binary file contents (FileCompare); Implementing a custom reserved object; Using remote objects; Utility statements; Chapter 9: Windows Script Host (WSH); Introduction; Reading a key from the Windows® system registry; Writing a key to the Windows® system registry; Deleting a key from the Windows® system registry; Running a process using the Windows® system shell 327 $aChapter 10: Frameworks 330 $aThis 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. 606 $aGraphical user interfaces (Computer systems) 615 0$aGraphical user interfaces (Computer systems) 676 $a005.437 700 $aBar-Tal$b Meir$01712088 702 $aWright$b Jonathon Lee 702 $aF$b Faiz 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910808237803321 996 $aAdvanced UFT 12 for test engineers Cookbook$94103952 997 $aUNINA