Cargando…

TestComplete cookbook : over 110 practical recipes teaching you to master TestComplete-one of the most popular tools for testing automation /

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 ar...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Alpaev, Gennadiy
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., 2013.
Colección:Quick answers to common problems.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • 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 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.