Exists Method (TestObject)

Class

TestObject.

Action

Checks if an object exists in the application under test.

Syntax

C#
TestObject.Exists()
VB
TestObject.Exists()

C# Example

Assume you have an object with the name myObject that you want to interact with. To check if the object exists in the application under test, you can use the following code:
myObject.Exists();

Visual Basic Example

Assume you have an object with the name myObject that you want to interact with. To check if the object exists in the application under test, you can use the following code:
myObject.Exists()