TestComplete Cookbook. (2013)
- Record Type:
- Book
- Title:
- TestComplete Cookbook. (2013)
- Main Title:
- TestComplete Cookbook.
- Other Names:
- Alpaev, Gennadiy
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Introduction; Installing TestComplete; Creating your first project; Choosing scripting language for the project; Recording your first test; Modifying the recorded test; Saving and restoring user settings; Creating code templates; Delaying script execution; Adding and removing project items; Understanding how TestComplete interacts with tested applications; Understanding Object Browser; Using Object Spy; Chapter 2: Working with Tested Applications. IntroductionAdding a tested application project item; Running a tested application from the script; Terminating a tested application; Killing several instances of a tested application; Closing a tested application; Running a tested application in the Debug mode; Running a tested application under different user account; Changing tested application settings dynamically from the script; Running external programs and DOS commands; Testing installers -- running an MSI file; Chapter 3: Scripting; Introduction; Entering text into text fields; Using wildcards to process objects with variable names. Structuring code using loopsCreating property checkpoints; Creating object checkpoints; Using global variables; Testing multilingual applications; Working with nonstandard controls; Organizing script code in the project; Handling exceptions; Handling exceptions from a different unit; Creating frameworkCover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Introduction; Installing TestComplete; Creating your first project; Choosing scripting language for the project; Recording your first test; Modifying the recorded test; Saving and restoring user settings; Creating code templates; Delaying script execution; Adding and removing project items; Understanding how TestComplete interacts with tested applications; Understanding Object Browser; Using Object Spy; Chapter 2: Working with Tested Applications. IntroductionAdding a tested application project item; Running a tested application from the script; Terminating a tested application; Killing several instances of a tested application; Closing a tested application; Running a tested application in the Debug mode; Running a tested application under different user account; Changing tested application settings dynamically from the script; Running external programs and DOS commands; Testing installers -- running an MSI file; Chapter 3: Scripting; Introduction; Entering text into text fields; Using wildcards to process objects with variable names. Structuring code using loopsCreating property checkpoints; Creating object checkpoints; Using global variables; Testing multilingual applications; Working with nonstandard controls; Organizing script code in the project; Handling exceptions; Handling exceptions from a different unit; Creating framework using the OOP approach; Chapter 4: Running Tests; Introduction; Running a single function; Verifying test accuracy; Creating a test plan for regular runs; Running tests from command line; Passing additional parameters to test from command line; Organizing test plan runs. Scheduling automatic runs at nighttimeRunning tests via Remote Desktop; Changing playback options; Increasing run speed; Disabling screensaver when running scripts; Sending messages to Indicator; Showing a message window during script run; Chapter 5: Accessing Windows, Controls, and Properties; Introduction; Choosing Object Tree Model; Understanding windows life cycle; Ignoring overlapping windows; Dragging an object onto another one; Calling methods asynchronously; Verifying if an object has specific property; Finding objects by properties' values; Waiting for an object to appear. Waiting for a property valueMapping custom control classes to standard ones; Using text recognition to access text from nonstandard controls; Using Optical Character Recognition (OCR); Dealing with own-drawn controls not supported by TestComplete; Chapter 6: Logging Capabilities; Introduction; Posting messages to the log; Posting screenshots to the log; Creating folders in the log; Changing log messages' appearance; Assessing the number of errors in the log; Changing pictures' format; Comparing screenshots with dynamic content; Decreasing log size; Generating log in our own format. … (more)
- Publisher Details:
- Place of publication not identified : Packt Publishing
- Publication Date:
- 2013
- Extent:
- 1 online resource
- Subjects:
- 005.2762
COMPUTERS -- Software Development & Engineering -- Quality Assurance & Testing
Computer software -- Testing -- Automation
COMPUTERS -- Programming -- General
COMPUTERS -- Software Development & Engineering -- Tools
Electronic books - Languages:
- English
- ISBNs:
- 1306209749
9781306209748
9781849693592
1849693595
9781849693585
1849693587 - Notes:
- Note: Includes bibliographical references and index.
Note: Print version record. - Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.90278
- Ingest File:
- 01_036.xml