Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Xamarin Test recorder Timed out waiting...

I have recently discovered an issue with the Xamarin test recorder in visual studio. I am not able to run the test recorder on my Emulator, because it takes too long to open the application when "connecting the app".

If i configure a test manually, and want to rerun it , i get the same issue. But here i can add Wait Times so it waits 1 minute on the emulator:
[SetUp]
public void BeforeEachTest()
{
app = ConfigureApp
.Android
.ApkFile (@apkpath)
.WaitTimes(new WaitTimes())
.StartApp();
}

public class WaitTimes : IWaitTimes
{
public TimeSpan GestureWaitTimeout
{
get { return TimeSpan.FromMinutes(1); }
}
public TimeSpan WaitForTimeout
{
get { return TimeSpan.FromMinutes(1); }
}
}

But the Test recorder does apperently not follow the same BeforeEachTest as the one i configured, and therefor has a short waiting time, and fails.
Error message : Failed connecting to app: Timed out waiting...
Is there a workaround for this? to increase the time for Xamarin test recorder in visual studio to wait a little longer?

Sign In or Register to comment.