Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Running Xamarin UI Test without Test Cloud

$
0
0

Hi!
I am trying to use Xamarin UI test. (not Test Cloud). I have written a simple project and use to run such code:
IApp app = ConfigureApp.Android.ApkFile("../../../Android/bin/Debug/UsingUITest.Android.apk").StartApp();
but I get such error :
SetUp : System.Exception : Unable to run on a physical device without activation.
The full version is available for Xamarin Test Cloud customers, for more information contact sales@xamarin.com.
If you are already a Xamarin Test Cloud customer, you can provide your api key in one of the following ways:
* Adding it ConfigureApp using the ApiKey method
* Setting the XTC_API_KEY environment variable
* Adding the following attribute to your Properties/AssemblyInfo.cs file: [assembly: Xamarin.UITest.TestCloudApiKey(YOUR_API_KEY)]
* Place an xtc-api-key file containing your api key in an upstream directory from the test assembly.

I tried to run UI test on the device and BlueStacks Android player. Is it possible to use Xamarin UI Test without TestCloud?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>