We need quick help.
We have button need to refer in Xamarin UITest. Test recorder refers to button with its text app.Tap(x => x.Text("Start Shift\Punchin"));But it fails with error “Unable to find element”.
When Checked in app Source code the Button text was bind to control at run time from resource file(Appresource .resx).
Question 1 - How to refer button in Xamarin UITest with run time binding of text?
Question 2 – How to refer a button without any Automation ID or X:name specified on the code?
Question 3 – How to refer Dropdown button without any ID? Is it possible to access the control value without ID’s?
But it works successfully for GO button because its text is Static assigned to Text property of button.
app.Tap(x => x.Text("Go"));
Can you please check and provide your feedback.
Thanks in advance for your support.