The topic of exception handling is extremely important, because the robustness of an automation suite affects its reliability. An automated test may fail due to unhandled and unexpected events, such as the appearance of a pop-up dialog or window, an application crash, or a runtime error (for example, due to poor quality code or an object description that is outdated). If you do not consider such possibilities while designing your scripts, then it will reflect on your ability to rely on the suite and accordingly reduce the return on investment/effort of automation. For instance, a fragile, unstable automation suite may require attended run sessions, thus making one of the most prominent promises of automation (to free the manual tester for other tasks) void. This chapter will describe various techniques to handle events and exceptions.
Advanced UFT 12 for Test Engineers Cookbook
Advanced UFT 12 for Test Engineers Cookbook
Overview of this book
Table of Contents (18 chapters)
Advanced UFT 12 for Test Engineers Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Data-driven Tests
Testing Web Pages
Testing XML and Database
Method Overriding
Object Identification
Event and Exception Handling
Using Classes
Utility and Reserved Objects
Windows Script Host
Frameworks
Design Patterns
Index
Customer Reviews