I am having an issue where both app.ClearText() and app.EnterText() is not working for Acr.UserDialogs box on Samsung Devices (see attached screenshot) however works on Pixel. I am not sure what I can do to work around this, I have already tried to use [![app.Query(e => e.Id("custom").Invoke("setText", string.Empty))][1]][1] and this is not working as well. I have found no way that Xamarin.UITest is able to change the text of these dialog boxes and I am really hoping there is a workaround or something I am missing. Thank you for your help in advance
Xamarin.UITest is not able to enter text for Acr.UserDialogs box on Samsung Devices
117 views Asked by Moshe Moadeb At
1
There are 1 answers
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in XAMARIN.ANDROID
- Extracting Last 4 Digits from RPM Response in Xamarin Android (e.g., "41 0C") and Performing Decimal Conversion and Division by 4
- Xamarin android emulate usb PC Keyboard
- Java.Lang.IllegalStateException: 'Unable to parse composition' using Lottie in splashscreen xamarin forms (android)
- AzureDevops Pipeline Generate APK: Error XALNK7000: Mono.Linker.MarkException
- Unable to clear App cache in Xamarin.Forms Android
- Xamarin Android Memory Usage
- Failed to resolve SDK 'Microsoft.NET.Sdk'
- Why are there no results after clicking button even though event handler is initiated and button_click method created?
- How to perfectly localize DatePicker, TimePicker in Xamarin
- .Net Android (Maui) Writing external storage doesn't work until I restart the application in below 13 version
- Syncfusion/Xamarin Numeric Keyboard broken - 2 different characters within the same button
- Alarm manager does not trigger broadcast receiver when app is closed
- ExtendedListView not scrolling to correct position
- Can not resolve reference 'Package' referenced by 'Project.Android', when updating a new package in an existing project
- How to make a row in a list after clicking a buttom xaml
Related Questions in XAMARIN.UITEST
- Error when uploading Xamarin UI Test in .NET 8
- Xamarin UITest (.NET 4.8 class library) with reference to .NET standard libraries / MAUI libs
- Appcenter Test pipeline is failing in Appcenter Test task
- access exported method in mainactivity from other program
- is there a way to set the order for NUnit [OneTimeTearDown] test hook if more than one method has the hook?
- Unable to select options from IOS picker in Xamarin.UITest
- How do you add parameters to public Func<AppQuery, AppQuery> GetQuery()?
- Where is the option to add a Xamarin UI automation test project in Visual Studio? Is it removed?
- RecyclerView scroll to bottom
- Xamarin.UITest RecyclerView wait for items to load
- DeviceAgent-Runner quit unexpectedly
- App Center Test task: uitest (Xamarin UI Test)
- How can I set the default ios simulator that my Xamarin.UITest Suite uses?
- Scroll an element to center
- remove custom tools in visual studio for mac 2022 or specFlow designer codebehind generation is not compatible with MSBuild codebehind generation
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)

I was able to repro and test your scenario with the Acr.UserDialogs. App.SetText doesn't work as the item is not focused and as I already figured out, you need to use a query. My query doesn't work because e.Id("custom") is not an EditText element but its container. So modifying query to app.Query(e => e.Id("custom").Descendant().Invoke("setText", string.Empty)) does work.