question

VikashChauhan-7483 avatar image
0 Votes"
VikashChauhan-7483 asked KyleWang-MSFT commented

In Xamarin.uitest framework app query returns null text in case on Button control on iOS

In Xamarin.uitest app query returns null text in case on Button control on iOS platform. Working fine with Android.

Actually, button control text is available with Label property instead of Text property. Please refer the attached screenshot for more information.117893-screenshot-2021-07-26-at-23121-pm.png







dotnet-xamarin
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Currently, we are using Xamarin.UITest 3.1.0 nuget package.

0 Votes 0 ·

@VikashChauhan-7483 Do other controls works fine? If the problem exists only for UIButton, try to submit an issue on github.

0 Votes 0 ·

@KyleWang-MSFT yes, it is working fine with Labels and other controls.

0 Votes 0 ·

@VikashChauhan-7483 Since the problem only exists with one specific type of control, report it on github will be a good choice.

0 Votes 0 ·

0 Answers