Ejemplo n.º 1
0
        public void newTest2()
        {
            // app.Repl();
            HomeScreen homeScreen = new HomeScreen(app, platform);

            extentTest.Log(Status.Info, "Click on Add item button");
            AddItemScreen addItemScreen = homeScreen.clickAdd();
        }
Ejemplo n.º 2
0
        public void newTest3()
        {
            // app.Repl();
            HomeScreen homeScreen = new HomeScreen(app, platform);

            extentTest.Log(Status.Info, "Click on Add item button");
            AddItemScreen addItemScreen = homeScreen.clickAdd();

            extentTest.Log(Status.Info, "Verify add item screen displayed");
            Assert.IsTrue(homeScreen.isItemAdded("title"), "element not found");
        }
Ejemplo n.º 3
0
        public void newTest()
        {
            string title = "TestTitle";
            string desc  = "Test Desc";

            extentTest.Log(Status.Info, "Click on Add item button");
            // app.Repl();
            HomeScreen    homeScreen    = new HomeScreen(app, platform);
            AddItemScreen addItemScreen = homeScreen.clickAdd();

            extentTest.Log(Status.Info, "Add title, description and save");
            homeScreen = addItemScreen.addItem(title, desc);
            extentTest.Log(Status.Info, "Verify item added");
            Assert.IsTrue(homeScreen.isItemAdded(title), "element not found");
        }