示例#1
0
        public void CustomRendererTest(bool canExecute)
        {
            //Arrange

            //Act
            SelectionPage.TapCustomRendererPageButton();

            if (canExecute)
            {
                CustomRendererPage.ToggleCanExecuteSwitch();
            }

            CustomRendererPage.TapCustomReturnEntryReturnButton();

            if (canExecute)
            {
                CustomRendererPage.AcceptClosingDialogPopup();
            }

            //Assert
            if (canExecute)
            {
                App.WaitForElement(PageTitles.Selection);
            }
            else
            {
                App.WaitForElement(PageTitles.CustomRenderer);
            }
        }
        public void CustomRendererTest()
        {
            //Arrange

            //Act
            SelectionPage.TapCustomRendererPageButton();
            CustomRendererPage.TapCustomReturnEntryReturnButton();
            CustomRendererPage.AcceptClosingDialogPopup();

            //Assert
            App.WaitForElement(PageTitles.Selection);
        }