If
Silk Test Classic is having difficulty recognizing objects in
Internet Explorer or Microsoft Office applications, try enabling Accessibility. If that does not help improve recognition, try defining a new
window.
How defined windows works
When you use Defined Window, you use the mouse pointer to draw a rectangle around the object that
Silk Test Classic cannot record and then assign a name to the object. When you save your work,
Silk Test Classic stores the name and the object’s coordinates in a test script. When you replay the script,
Silk Test Classic uses a
Click() method on the center of the area you have specified.
Notes
- Defining a new window is only available for projects or scripts that use the Classic Agent.
- Defining a new window is not available for Java applications or applets.
- Defined Window does not support nesting of defined objects.
- Defined Window is location-based and uses pixel coordinates to locate the object in the parent window. Thus, if the layout
of your parent window changes and/or the object’s coordinates change frequently, you may need to re-define the window in order
for
Silk Test Classic to correctly declare the object.
- If you draw a rectangle around an unrecognized object, but also include an object that
Silk Test Classic easily recognizes,
Silk Test Classic records both and lists the easily recognized object first.