Telerik RadMenu for Silverlight Methods

Applies to TestComplete 15.70, last modified on December 17, 2024

When testing Telerik RadMenu for Silverlight controls, you can use specific methods of the corresponding test object as well as methods that TestComplete applies to all test and onscreen objects. All of these methods are listed below. The methods are organized into categories: Standard, Extended, RTTI, Debug Agent and others. For more information about this, see Categories of Object Methods and Properties.

Method List   | View

Standard

This category includes methods that TestComplete applies to all test objects.

Name Description
Child Returns a child object by its index.
Find Searches for a child object that has the specified property values.
FindAll Returns an array of child objects that have the specified property values.
FindAllChildren Returns an array of child objects that have the specified property values.
FindChild Searches for a child object that has the specified property values.
FindChildEx Searches for a child object that has the specified property values during the specified timeout period.
FindEx Searches for a child object that has the specified property values during the specified timeout period.
FindId Returns a child object by its identifier.
Picture Captures the image of the specified rectangular area of the object.
Refresh Refreshes the child object list.
ScreenToWindow Converts screen coordinates to coordinates relative to the object.
Validate Obsolete. Generates the OnValidate event for the object.
WaitChild Waits until the specified child object becomes available during the timeout period.
WaitProperty Waits until the specified object property achieves the specified value during the timeout period.
WindowToScreen Converts coordinates relative to the object to screen coordinates.
Actions

This category includes methods that simulate user actions on the tested controls.

Name Description
CheckItem Simulates checking or unchecking of the control's item.
Click Simulates a click of the left mouse button over the object.
ClickItem Simulates a click of the left mouse button over the control's item.
ClickItemM Simulates a click of the middle mouse button over the control's item.
ClickItemMXY Simulates a click of the middle mouse button at the specified point within the control's item.
ClickItemR Simulates a click of the right mouse button over the control's item.
ClickItemRXY Simulates a click of the right mouse button at the specified point within the control's item.
ClickItemXY Simulates a click of the left mouse button at the specified point within the control's item.
ClickM Simulates a click of the middle mouse button over the object.
ClickR Simulates a click of the right mouse button over the object.
DblClick Simulates a double-click of the left mouse button over the object.
DblClickItem Simulates a double-click of the left mouse button over the control's item.
DblClickItemM Simulates a double-click of the middle mouse button over the control's item.
DblClickItemMXY Simulates a double-click of the middle mouse button at the specified point within the control's item.
DblClickItemR Simulates a double-click of the right mouse button over the control's item.
DblClickItemRXY Simulates a double-click of the right mouse button at the specified point within the control's item.
DblClickItemXY Simulates a double-click of the left mouse button at the specified point within the control's item.
DblClickM Simulates a double-click of the middle mouse button over the object.
DblClickR Simulates a double-click of the right mouse button over the object.
Drag Simulates a dragging event performed with the left mouse button.
DragM Simulates a dragging event performed with the middle mouse button.
DragR Simulates a dragging event performed with the right mouse button.
HoverMouse Simulates moving the mouse pointer to the specified position within an object.
Keys Sends a keystroke to an object.
MouseWheel Simulates rotation of the mouse wheel over an object.
Open App Objects

This category includes methods that provide access to child objects (controls) that the tested control may have. In general case, a child object can be created with any supported development tool or technology. That is why the category includes methods for accessing objects whose technology differs from the technology of the given control.

Name Description
SlObject Provides scripting access to the specified object of a Silverlight application. The returned object contains methods, fields and properties defined both in TestComplete and in the application code.
WaitSlObject Delays the script execution until the specified Silverlight object becomes available to TestComplete, or until the specified time limit is reached.
<Name Mapping>

These methods are available only if the test object has been mapped (see Name Mapping). You can use them in your tests, but they are not displayed in the Object Browser panel.

Name Description
AddNamedChild Adds the specified child object to Name Mapping.
GetUnderlyingObject Returns the test object, to which the given mapping item corresponds.
RefreshMappingInfo Instructs TestComplete to re-identify the mapped object using the identification information specified in Name Mapping.
RemoveNamedChild Deletes the specified child mapped object from Name Mapping.
WaitAliasChild Waits until the child object with the specified alias becomes available during the timeout period.
WaitNamedChild Waits until a child object with the specified mapped name becomes available during the timeout period.
Other Categories

If TestComplete has access to internal methods, properties and files of your tested application (that is, if it is an Open Application), you can call the internal methods and properties as methods and properties of the appropriate test objects. You can view these properties and methods in corresponding categories (Private, Public, RTTI, Debug Agent, Firefox, and so on). These methods and properties are not described in the TestComplete help file. For more information on them, please see the documentation for the development tools that was used to create the application under test.

See Also

Telerik RadMenu for Silverlight Support

Highlight search results