Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Adding a REPL Id using xaml

$
0
0

Hello there guys,

I've just been starting out with Xamarin and am generally very impressed with it but there's been one thing which I've been having trouble with. I'm trying to create some UITests and I want to check the text held in a label and so I need an Id on that label so that I can use the marked command to check it. I've been using xaml to define the layouts and I was wondering if it was possible to define the Id in the xaml file. The examples I've seen tend to involve the controls being newed up in the iOs side of the app and then assigned in code.

Any suggestions would be very welcome!

Imran


Viewing all articles
Browse latest Browse all 58056

Trending Articles