Exemplo n.º 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"));
 }
Exemplo n.º 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); */
        }
Exemplo n.º 3
0
        public void AppLaunches()
        {
            //Arrange


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



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