TestComplete offers a set of functions to work with standard Win32 controls from your tests, including the SysLink control. This control allows you to locate hypertext links in a window. It shows marked-up text and invokes appropriate applications when the user clicks an embedded link.
TestComplete uses the Win32SysLink
object to work with Win32 SysLink controls. This object is automatically associated with SysLink controls whose class names are listed in the project’s Object Mapping options. If your tested application uses a SysLink control that is inherited from a standard SysLink control, you can associate it with the Win32SysLink
object by adding its class name to the Object Mapping list. For more information, see Default Project Properties - Object Mapping Options.
The topics of this section describe how to work with SysLink controls.
Note: | Though the following topics deal with scripts, you can use the same approaches while testing an application from your keyword tests. For more information, see Keyword Tests Basic Operations. |
In This Section
Getting SysLink Text in Desktop Windows Applications
Setting SysLink Text in Desktop Windows Applications
Obtaining the Number of Links in SysLink Controls in Desktop Windows Applications
Obtaining SysLink Link Properties in Desktop Windows Applications
Clicking a Link in SysLink Controls in Desktop Windows Applications
Related Topics of Interest
See Also
Win32 SysLink Support
Object-Specific Tasks
Supported Controls
Default Project Properties - Object Mapping Options