Beispiel #1
0
 public void AppLaunches()
 {
     //app.Screenshot("First screen.");
     app.Repl();
     app.WaitForElement("NoResourceEntry-6");
     app.Tap(e => e.Id("NoResourceEntry-6"));
     app.Tap(e => e.Id("NoResourceEntry-7"));
 }
Beispiel #2
0
        public void AppLaunches()
        {
            app.Repl(); // Starts Read-Evaluate-Print-Loop console app
            //app.Screenshot("First screen.");

            /* string labelStr = app.Query("PhoneNumberText")[0].Text;
             * Assert.AreEqual("1-855-XAMARIN", labelStr); */
        }
Beispiel #3
0
        public void AppLaunches()
        {
            //Arrange


            //Act
            app.Flash(x => x.Id("login_button"));
            app.Tap(x => x.Id("login_button"));



            app.Repl();
        }
Beispiel #4
0
        public void ClickingButtonTwiceShouldChangeItsLabel()
        {
            app.Repl();
//			Func<AppQuery, AppQuery> MyButton = c => c.Button ("myButton");
//
//			app.Tap (MyButton);
//			app.Tap (MyButton);
//			AppResult[] results = app.Query (MyButton);
//			app.Screenshot ("Button clicked twice.");
//
//			Assert.AreEqual ("2 clicks!", results [0].Text);


            app.Tap(c => c.Id("myButton"));;
        }
Beispiel #5
0
        public void AppLaunches()
        {
            app.Repl();
            app.Screenshot("First screen.");
            app.Screenshot("");
            //app.Tap()
            app.Tap("NoResourceEntry-11");
            app.Tap("NoResourceEntry-18");
            app.EnterText("5541380221");

            app.Tap("NoResourceEntry-21");
            app.EnterText("drfgdfgdf");

            app.Tap("NoResourceEntry-22");
            app.Screenshot("First screen.");
        }
Beispiel #6
0
        public void AppLaunches()
        {
            //Carousel Swipe
            app.SwipeRightToLeft();
            app.WaitForElement(x => x.Id("NoResourceEntry-1"));
            app.SwipeRightToLeft();
            app.WaitForElement(x => x.Id("NoResourceEntry-2"));
            app.SwipeRightToLeft();
            app.WaitForElement(x => x.Id("NoResourceEntry-3"));
            app.SwipeRightToLeft();
            app.Screenshot("LoginPage");

            //Login Credentials
            app.WaitForElement(x => x.Marked("Email address"));
            app.Tap(x => x.Index(48));
            app.EnterText("*****@*****.**");
            app.DismissKeyboard();
            app.Tap(x => x.Button("btnContinue"));
            app.WaitForElement(x => x.Marked("PIN"));
            app.EnterText("6804");
            app.DismissKeyboard();
            app.Tap(x => x.Button("btnContinue"));
            app.Screenshot("Logging in with my credentials");

            //End of Introduction
            app.WaitForElement(x => x.Marked("NEXT"));
            app.Flash(x => x.Marked("NEXT"));
            app.Tap(x => x.Marked("NEXT"));
            app.Tap(x => x.Marked("NEXT"));
            app.Tap(x => x.Marked("NEXT"));
            app.Tap(x => x.Marked("OK, GOT IT"));
            app.Screenshot("End of Introduction");
            app.Back();

            //Hollenbeck Home
            app.Flash(x => x.Marked("Hollenbeck Home"));
            app.Tap(x => x.Marked("Hollenbeck Home"));
            app.WaitForElement(x => x.Marked("SCHEDULE A TOUR"));
            app.ScrollDownTo(x => x.Marked("MORE"));
            app.Tap(x => x.Marked("Prices (starting at)"));
            Thread.Sleep(TimeSpan.FromSeconds(3));
            app.Screenshot("Hollenbeck Home Info");
            app.Back();

            app.Repl();
        }
Beispiel #7
0
 public void ReplTest()
 {
     app.Repl();
 }
Beispiel #8
0
 public void AppLaunches()
 {
     app.Repl();
     app.Flash();
 }
Beispiel #9
0
 public void AppLaunches()
 {
     app.Repl();
 }
Beispiel #10
0
 public void Test1()
 {
     app.Repl();
 }
 public void SpecFlow_Start_Repl()
 {
     app.Repl();
 }
 public void GoToSecondFragment()
 {
     app.Repl();
     app.Tap(c => c.Marked("Button"));
     app.Query(c => c.Marked("Teine Fragment"));
 }
Beispiel #13
0
 public void ClickingButtonTwiceShouldChangeItsLabel()
 {
     app.Repl();
 }
Beispiel #14
0
 public void AppLaunches()
 {
     app.Repl();
     app.Screenshot("First screen.");
 }
Beispiel #15
0
 public void TestMethod1()
 {
     App.Repl();
 }
Beispiel #16
0
 public void ReplTest() => _app.Repl();
Beispiel #17
0
 //[Test]
 public void Repl()
 {
     app.Repl();
 }
Beispiel #18
0
 public void Pass()
 {
     app.Repl();
 }