Cover image for TestComplete Cookbook.
TestComplete Cookbook.
Title:
TestComplete Cookbook.
Author:
Alpaev, Gennadiy.
ISBN:
9781849693592
Personal Author:
Physical Description:
1 online resource (359 pages)
Contents:
TestComplete Cookbook -- Table of Contents -- TestComplete Cookbook -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Getting Started -- Introduction -- Installing TestComplete -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating your first project -- How to do it... -- How it works... -- There's more... -- Choosing a scripting language for the project -- How to do it... -- How it works... -- There's more… -- See also -- Recording your first test -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Modifying the recorded test -- How to do it... -- How it works... -- See also -- Saving and restoring user settings -- How to do it... -- How it works... -- There's more... -- Creating code templates -- How to do it... -- How it works... -- There's more... -- Delaying script execution -- How to do it... -- How it works... -- There's more... -- See also -- Adding and removing project items -- How to do it... -- How it works... -- There's more... -- Understanding how TestComplete interacts with tested applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Understanding Object Browser -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using Object Spy -- How to do it... -- How it works... -- See also -- 2. Working with Tested Applications -- Introduction -- Adding a tested application project item -- Getting ready -- How to do it...

How it works... -- There's more... -- See also -- Running a tested application from the script -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Terminating a tested application -- Getting ready -- How to do it... -- How it works... -- See also -- Killing several instances of a tested application -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Closing a tested application -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Running a tested application in the Debug mode -- Getting ready -- How to do it... -- How it works... -- Running a tested application under a different user account -- Getting ready -- How to do it... -- How it works... -- There's more... -- Changing tested application settings dynamically from the script -- Getting ready -- How to do it... -- How it works... -- Running external programs and DOS commands -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Testing installers - running an MSI file -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- 3. Scripting -- Introduction -- Entering text into text fields -- Getting ready... -- How to do it... -- How it works... -- There's more... -- Using wildcards to process objects with variable names -- Getting ready... -- How to do it... -- How it works... -- There's more… -- See also -- Structuring code using loops -- Getting ready... -- How to do it... -- How it works... -- Creating property checkpoints -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating object checkpoints -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using global variables -- How to do it... -- How it works... -- There's more...

Testing multilingual applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Working with nonstandard controls -- How to do it... -- How it works... -- There's more... -- See also -- Organizing script code in the project -- How to do it... -- How it works... -- There's more... -- See also -- Handling exceptions -- How to do it... -- How it works... -- There's more… -- See also -- Handling exceptions from a different unit -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating framework using the OOP approach -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- 4. Running Tests -- Introduction -- Running a single function -- Getting ready -- How to do it... -- How it works... -- Verifying test accuracy -- Getting ready -- How to do it... -- How it works... -- See also -- Creating a test plan for regular runs -- Getting ready -- How to do it… -- How it works... -- There's more... -- See also -- Running tests from the command line -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Passing additional parameters to test from the command line -- Getting ready -- How to do it... -- How it works... -- There's more... -- Organizing test plan runs -- Getting ready -- How to do it... -- How it works... -- Scheduling automatic runs at nighttime -- Getting ready -- How to do it... -- How it works... -- See also -- Running tests via Remote Desktop -- How to do it... -- How it works... -- Changing playback options -- How to do it... -- How it works... -- Increasing run speed -- How to do it... -- How it works... -- See also -- Disabling a screensaver when running scripts -- How to do it... -- How it works... -- Sending messages to Indicator -- How to do it... -- How it works... -- There's more...

Showing a message window during a script run -- How to do it... -- How it works... -- There's more... -- 5. Accessing Windows, Controls, and Properties -- Introduction -- Choosing Object Tree Model -- Getting ready -- How to do it... -- How it works... -- See also -- Understanding the window's life cycle -- Getting ready -- How to do it... -- How it works... -- Ignoring overlapping windows -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Dragging one object into another -- Getting ready -- How to do it... -- How it works... -- There's more... -- Calling methods asynchronously -- Getting ready -- How to do it... -- How it works... -- There's more... -- Verifying if an object has a specific property -- Getting ready -- How to do it... -- How it works... -- See also -- Finding objects by properties' values -- Getting ready -- How to do it... -- How it works... -- There's more... -- Waiting for an object to appear -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Waiting for a property value -- Getting ready -- How to do it... -- How it works... -- Mapping custom control classes to standard ones -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using text recognition to access text from nonstandard controls -- Getting ready -- How to do it... -- How it works... -- See also -- Using Optical Character Recognition (OCR) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Dealing with self-drawn controls not supported by TestComplete -- Getting ready -- How to do it... -- How it works... -- There's more... -- 6. Logging Capabilities -- Introduction -- Posting messages to the log -- Getting ready -- How to do it... -- How it works... -- See also -- Posting screenshots to the log -- How to do it... -- How it works...

There's more... -- Creating folders in the log -- How to do it... -- How it works... -- There's more... -- Changing log messages' appearance -- How to do it... -- How it works... -- See also -- Assessing the number of errors in the log -- How to do it... -- How it works... -- There's more... -- See also -- Changing pictures' format -- How to do it... -- How it works... -- There's more... -- Comparing screenshots with dynamic content -- Getting ready -- How to do it... -- How it works... -- There's more... -- Decreasing log size -- How to do it... -- How it works... -- Generating log in our own format -- How to do it... -- How it works... -- There's more... -- Exporting log to MHT format -- How to do it... -- How it works... -- Sending logs via e-mail -- How to do it... -- How it works... -- See also -- 7. Debugging Scripts -- Introduction -- Enabling and disabling debugging -- How to do it... -- How it works... -- There's more... -- Using breakpoints to pause script execution -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Viewing variables' values -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Debugging tests step by step -- Getting ready -- How to do it... -- How it works... -- Evaluating expressions -- Getting ready -- How to do it... -- How it works... -- 8. Keyword Tests -- Introduction -- Recording and understanding Keyword Tests -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding new actions to existing Keyword Tests -- Getting ready -- How to do it... -- How it works... -- There's more... -- Enhancing Keyword Tests using loops -- Getting ready -- How to do it... -- How it works... -- Creating object checkpoints -- Getting ready -- How to do it... -- How it works... -- See also -- Calling script functions from Keyword Tests.

Getting ready.
Abstract:
A practical cookbook, with a perfect package of simple, medium, and advanced recipes targeted at basic programmers as well as expert software testers, who will learn to create, manage, and run automated tests. It is packed with problem-solving recipes that are supported by simple examples.If you are a software tester or a programmer who is involved with testing automation using TestComplete, this book is ideal for you! You will be introduced to the very basics of using the tool, as well as polish any previously gained knowledge in using the tool. If you are already aware of programming basics, but are new to TestComplete, you will also be able to quickly learn the concepts through selected examples that are easily scalable for your specific needs.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: