public virtual void TestSetup() { App = AppInitializer.StartApp(Platform); App.Screenshot("App Launched"); MultipleEntryPage = new MultipleEntryPage(App, Platform); OptionSelectionPage = new OptionSelectionPage(App, Platform); PickEntryReturnTypePage = new PickEntryReturnTypePage(App, Platform); }
public void VerifyKeyboardReturnType(ReturnType returnType, CustomEntryType customEntryType) { //Arrange var expectedCustomizableEntryPlaceholder = returnType.ToString(); //Act OptionSelectionPage.SetEntryPickerType(customEntryType); OptionSelectionPage.TapOpenSelectEntryPageButton(); PickEntryReturnTypePage.SelectReturnTypeFromPicker(returnType); //Assert var retrievedCustomizableEntryPlaceholder = PickEntryReturnTypePage.CustomizableEntryPlaceholder; Assert.AreEqual(expectedCustomizableEntryPlaceholder, retrievedCustomizableEntryPlaceholder); }