After searching a lot finally i found the solution associated with the emulator keyboard configuration as described here Xamarin Guides
Hi guys,
I'm experience an exception when i trying to use the exemple after add an Entry element to the MyPage.cs view and use in CrossPlataformTests.cs. Here is the exception:
Tapping element matching Marked("txtUsuario") at coordinates [ 187.25, 381.5 ].
Entering text 'mobrj'.
Error while performing EnterText("mobrj")
Exception: System.Exception: Underlying query failed with output:
{"results":[{"status":"error","value":"VerboseError: Unable to type: mobrj","backtrace":"faildelegate@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:25616:28\nfail@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:25623:31\nfile:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:25853:40\nfile:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:13606:39\nsval@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:9835:30\ncljs$core$ISeqable$_seq$arity$1@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:9917:30\n_seq@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:3855:45\ncljs$core$ISeq$_first$arity$1@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:9890:22\n_first@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:3136:46\nfirst@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:5141:35\nwait_for@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:25866:36\nkeyboard_enter_textdelegate@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:26528:41\nkeyboard_enter_text@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:26569:46\napply_to@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:10922:22\napply2@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:11126:39\napply@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:11219:29\ntypeStringdelegate@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:28047:64\ntypeString@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:28054:37\neval code\neval@[native code]\nglobal code@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:28483:27","index":3}],"outcome":"SUCCESS"}
at Xamarin.UITest.iOS.iOSGestures.ValidateSuccessfulCalabashResult (Xamarin.UITest.Shared.Http.HttpResult result) [0x00000] in :0
at Xamarin.UITest.iOS.iOSGestures.EnterText (Xamarin.UITest.Shared.Queries.SingleQuoteEscapedString text) [0x00000] in :0
at Xamarin.UITest.iOS.iOSApp+cAnonStoreyB.<>m0 () [0x00000] in :0
at Xamarin.UITest.Utils.ErrorReporting.With (System.Action func, System.Object[] args, System.String memberName) [0x00000] in :0
The solution
After searching a lot finally i found the solution associated with the emulator keyboard configuration as described here Xamarin Guides
Hi guys, I'm experience an exception when i trying to use the exemple after add an Entry element to the MyPage.cs view and use in CrossPlataformTests.cs. Here is the exception:
Tapping element matching Marked("txtUsuario") at coordinates [ 187.25, 381.5 ]. Entering text 'mobrj'. Error while performing EnterText("mobrj") Exception: System.Exception: Underlying query failed with output: {"results":[{"status":"error","value":"VerboseError: Unable to type: mobrj","backtrace":"faildelegate@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:25616:28\nfail@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:25623:31\nfile:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:25853:40\nfile:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:13606:39\nsval@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:9835:30\ncljs$core$ISeqable$_seq$arity$1@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:9917:30\n_seq@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:3855:45\ncljs$core$ISeq$_first$arity$1@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:9890:22\n_first@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:3136:46\nfirst@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:5141:35\nwait_for@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:25866:36\nkeyboard_enter_textdelegate@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:26528:41\nkeyboard_enter_text@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:26569:46\napply_to@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:10922:22\napply2@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:11126:39\napply@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:11219:29\ntypeStringdelegate@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:28047:64\ntypeString@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:28054:37\neval code\neval@[native code]\nglobal code@file:\/\/\/Users\/marcelo\/solutions\/xamarin\/xamarin-forms-samples\/UsingUITest\/UsingUITest.UITests\/bin\/Debug\/7DB2D0FF-837D-49F1-96DA-246A6E97CC12\/run_loop_fast_uia.js:28483:27","index":3}],"outcome":"SUCCESS"} at Xamarin.UITest.iOS.iOSGestures.ValidateSuccessfulCalabashResult (Xamarin.UITest.Shared.Http.HttpResult result) [0x00000] in:0
at Xamarin.UITest.iOS.iOSGestures.EnterText (Xamarin.UITest.Shared.Queries.SingleQuoteEscapedString text) [0x00000] in :0
at Xamarin.UITest.iOS.iOSApp+cAnonStoreyB.<>m0 () [0x00000] in :0
at Xamarin.UITest.Utils.ErrorReporting.With (System.Action func, System.Object[] args, System.String memberName) [0x00000] in :0
Anyone can help me ? Best Regards, Marcelo Amorim