Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 25233 [details]
I'm currently working with UI Testing with Xamarin UI Test. I'm currently having a problem with the Tap() method with my test, below is my current scenario.
UI TEST GOAL:
Enter phone number in the textbox and then button will be enabled once the text box is not empty and should trigger the Tap("startPageProceedButton") method when doing the UI test.
Button uses triggers and behaviors(Data triggers to be specific) and the button's state(enabled/disabled) depends on the textbox's state whether its empty or not.
The Tap() method for the button is not triggered when running the UI test even when the textbox is already filled with data.
The textbox also uses behaviors feature like the code below.
I'm using Xamarin.Forms v18.104.22.168. I'm currently testing on the Android platform.
Its weird because the Tap() method is triggered/working when it is the only method in the test method and the app.EnterText() is commented out. Like the following:
public void EnterCustomerNumberAndProceed()
Another thing that made me curious if this is a bug is that when I created a new xamarin forms project without using the behaviors and triggers the UI test works fine.
IS THIS IS A BUG WITH THE UI TEST PART?
Please check the images attached to this issue.
Created attachment 25234 [details]
UI Test code screenshot
*** This bug has been marked as a duplicate of bug 60050 ***