Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITechnologyElement.GetClickablePoint Method (Int32, Int32)

 

Gets a clickable point for this element.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public abstract void GetClickablePoint(
	out int pointX,
	out int pointY
)

Parameters

pointX
Type: System.Int32

(Output) The relative x-coordinate for the clickable point.

pointY
Type: System.Int32

(Output) The relative y-coordinate for the clickable point.

Exception Condition
NotSupportedException

This operation is not supported. This causes the test framework to use its default algorithm to obtain the clickable point.

After calling the GetOption method with a GetClickablePointFrom parameter value and receiving GetClickablePointFromTechnologyManager in return, the testing framework uses this method to obtain the clickable point.

To use the default algorithm that is provided by the framework, this method must throw the NotSupportedException.

Return to top
Show: