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.

ApplicationUnderTest::Find Method ()

 

Finds this application window in the user interface.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
virtual void Find() override

Exception Condition
UITestControlNotAvailableException

If the control is not available or valid

UITestControlNotFoundException

If the control is not found with the given search properties

UITestControlNotAvailableException

The target application window is closed, not valid, or the process has ended.

T:Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException.UITestControlNotFoundException

The target application window was not found.

Return to top
Show: