Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entry Exception in UITest - Resolved #10

Open
MarceloAmorim opened this issue May 12, 2015 · 0 comments
Open

Entry Exception in UITest - Resolved #10

MarceloAmorim opened this issue May 12, 2015 · 0 comments

Comments

@MarceloAmorim
Copy link

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":"fail__delegate@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_text__delegate@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\napply__2@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\ntypeString__delegate@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+c__AnonStoreyB.<>m__0 () [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

@MarceloAmorim MarceloAmorim changed the title Entry Exception in UITest Entry Exception in UITest - Resolved May 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant