background image
<< Class Hierarchy - winclass declaration” | Custom Objects - Mapping custom classes to standard classes >>
Supporting Custom Objects
<< Class Hierarchy - winclass declaration” | Custom Objects - Mapping custom classes to standard classes >>
User's Guide
317
17
C
h
a
p
t
e
r
1
7
Supporting Custom Objects
Introduction
While you record window declarations, SilkTest attempts to identify the class
of each object in your GUI and assign the appropriate class from the built-in
class hierarchy. If an object does not correspond to one of the built-in classes,
SilkTest designates the object as a custom window and assigns it to the class
CustomWin.
This chapter shows you how to support certain kinds of custom objects by
modifying your window declarations and by creating new classes and
methods.
What you will learn
This chapter contains the following sections:
Why SilkTest sees objects as custom windows
There are two things that define an object:
·
The object's actual class name
·
The underlying software code that creates and manipulates the object
An object (window or control) is defined as a CustomWin whenever either or
both of these definitions vary from what is considered to be standard.
Topic
Page
Why SilkTest sees objects as custom windows
317
Mapping custom classes to standard classes
318
Supporting graphical controls
319
Supporting nongraphical controls
322