Xamarin.UITest Guides | Samples

Xamarin.UITest.TestEnvironment Class

Contains runtime information about the current test environment.

See Also: TestEnvironment

Syntax

public static class TestEnvironment

Requirements

Namespace: Xamarin.UITest
Assembly: Xamarin.UITest (in Xamarin.UITest.dll)
Assembly Versions: 22.0.0.0

The members of Xamarin.UITest.TestEnvironment are listed below.

See Also: Object

Public Properties

[read-only]
static
IsTestCloudBoolean. Determines at runtime whether the current test run is in the Xamarin Test Cloud.
[read-only]
static
PlatformTestPlatform. Provides the current runtime platform. Useful for complicated test setup scenarios.