private void CreateButton(string buttonText) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton"); var layout = new StackLayout() { IsVisible = true, HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand, }; _button = new Button() { Text = buttonText, FontSize = 20, VerticalOptions = LayoutOptions.Center, HorizontalOptions = LayoutOptions.FillAndExpand, }; layout.Children.Add(_button); _testPage.ExecuteTC(layout); }
public async Task Date_UILK() { /* TEST CODE */ var contentPage = new ContentPage { Content = new StackLayout { HorizontalOptions = LayoutOptions.CenterAndExpand, VerticalOptions = LayoutOptions.CenterAndExpand, Children = { new DatePicker { Format = "D", Date = new DateTime(2020, 03, 10), VerticalOptions = LayoutOptions.CenterAndExpand } } } }; _testPage.ExecuteTC(contentPage).ExecuteTC(contentPage).ExecuteTC(contentPage); await ManualTest.WaitForConfirm(); }