I have a xamarin.uitest project and an app project,
added in main activity in the app project:
MainLauncher = true and the method:
[Export("MyInvokeMethod")]
public void MyInvokeMethod()
{
Console.WriteLine("TEST");
}
and in my project test added a test that only invoke the method:
[Test]
public void MyInvokeMethodTest()
{
_app.Invoke("MyInvokeMethod");
}
and I got :
System.Exception : Invoke for MyInvokeMethod failed with outcome: ERROR
No such method found: MyInvokeMethod()
I did everything like here : https://docs.microsoft.com/en-us/appcenter/test-cloud/frameworks/uitest/features/backdoors
what am I doing wrong ?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…