Forum Xamarin Test Cloud (Read Only)

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Where is the full list of Test Cloud environmental variables?

This article - https://developer.xamarin.com/guides/testcloud/apis/environment_variables/ - describes only SOME of the environmental variables.

Where do I find the full list of these variables though?

Also, how do I access these variables in my Tests.cs file?

Answers

  • JamesOliverJamesOliver USMember

    You can do something like..

    try {
    deviceName = Environment.GetEnvironmentVariable("XTC_DEVICE_NAME");
    }
    catch (NullReferenceException) {
    //do something else if not set
    }

Sign In or Register to comment.