app.ClearText("GetQuery"); and app.EnterText("GetQuery"); is broken on Xamarin.UITest version 4.3.0 on iOS
Moshex opened this issue · 5 comments
app.ClearText("GetQuery"); and app.EnterText("GetQuery"); is broken on Xamarin.UITest version 4.3.0 on iOS. The following error displays when using the commands. Please keep in mind this error does NOT happen on Xamarin.UITest version 4.2.0
app.EnterText("DrugNameEntry", "Zoloft")
Entering text 'Zoloft' in element matching Marked("DrugNameEntry") at coordinates [ 215, 164.67 ].
Error while performing EnterText(Marked("DrugNameEntry"), "Zoloft")
Exception: System.TimeoutException: Timed out waiting for keyboard.
at Xamarin.UITest.Shared.WaitForHelper.WaitFor (System.Func`1[TResult] predicate, System.String timeoutMessage, System.Nullable`1[T] timeout, System.Nullable`1[T] retryFrequency, System.Nullable`1[T] postTimeout) [0x0002a] in <a2082f240db645eabbf34d1d94a99a75>:0
at Xamarin.UITest.iOS.iOSApp+<>c__DisplayClass20_0.<EnterText>b__0 () [0x00161] in <66f2b1c8940645d6b609b1230d9c4a77>:0
at Xamarin.UITest.Utils.ErrorReporting.With (System.Action func, System.Object[] args, System.String memberName) [0x00006] in <66f2b1c8940645d6b609b1230d9c4a77>:0
app.ClearText("PasswordEntry")
Error while performing ClearText(Marked("PasswordEntry"))
Exception: System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <b765bc56a47a434e9d1ed5e5803ce9a7>:0
at Xamarin.UITest.iOS.iOSApp+<>c__DisplayClass22_0.<ClearText>b__0 () [0x00113] in <66f2b1c8940645d6b609b1230d9c4a77>:0
at Xamarin.UITest.Utils.ErrorReporting.With (System.Action func, System.Object[] args, System.String memberName) [0x00006] in <66f2b1c8940645d6b609b1230d9c4a77>:0
Exception: One or more errors occurred. (Error while performing ClearText(Marked("PasswordEntry")))
Please let me know what I can do to get around this issue, Thank you!
Hi @Moshex,
Thanks for the report.
On what iOS version are you testing?
Hi @Moshex, Thanks for the report. On what iOS version are you testing?
I was using iOS versions 17.0, 16.4, and 16.6 do you know of a version it works on? for version 4.3.0?
@Moshex, I've reproduced the issue and found the root cause.
@IlyaBausovAkvelon
Thank you for looking into the issue and addressing it I look forward to the fix in the next release!
This issue is fixed on Xamarin.UITest version 4.3.1