public void EnterTextByID() { var textInput = "I used IDs to Enter this Text!"; FirstPage.EnterTextByID(textInput); FirstPage.ClickGoByID(); FirstPage.WaitForNoActivityIndicator(); Assert.AreEqual(FirstPage.GetEntryFieldTextByID(), textInput); }
public void EnterText() { var textInput = "Hello World"; FirstPage.EnterText(textInput); FirstPage.ClickGo(); FirstPage.WaitForNoActivityIndicator(); Assert.AreEqual(FirstPage.GetEntryFieldText(), textInput); }
public void RotateScreenAndEnterTextByID() { var entryTextLandcape = "The Screen Orientation Is Landscape"; var entryTextPortrait = "The Screen Orientation Is Portrait"; FirstPage.RotateScreenToLandscape(); FirstPage.EnterText(entryTextLandcape); FirstPage.ClickGoByID(); FirstPage.WaitForNoActivityIndicator(); Assert.AreEqual(FirstPage.GetEntryFieldTextByID(), entryTextLandcape); FirstPage.RotateScreenToPortrait(); FirstPage.EnterText(entryTextPortrait); FirstPage.ClickGoByID(); FirstPage.WaitForNoActivityIndicator(); Assert.AreEqual(FirstPage.GetEntryFieldTextByID(), entryTextPortrait); }