public void TestMethod1()
        {
            TTFLoginPage.GoToByUrl("~");
            TTFLoginPage.LoginAs(TTFLoginPage.UserName = "******")
            .WithPassword("111111").Login();
            TTFHomePage.IsAt(TitlesList.EnumTitlesTopBar.Home.ToString());
            //*********
            TTFHomePage.GoToItem(
                TitlesList.EnumTitlesTopBar.Administration.ToString()
                );
            TTFAdministrationSection.IsAt(TitlesList.EnumAdminLeftBar.Admin_Listing.ToString());
            TTFAdministrationSection.GoToItem(
                TitlesList.EnumAdminLeftBar.Indicators.ToString()
                );
            TTFIndicatorsGrid.IsAt(
                TitlesList.EnumAdminLeftBar.Indicators.ToString()
                );

            TTFIndicatorsGrid.TTFnewIndicatorCreate.EnterValueType("Number").AggregationType("NONE").CreateIndicator();
            TTFIndicatorsGrid.EditClass.CanEdit();

            TTFHomePage.GoToItem(
                TitlesList.EnumTitlesTopBar.Administration.ToString()
                );
        }
Ejemplo n.º 2
0
        public void Admin_User_Can_Login()
        {
            TTFLoginPage.GoToByUrl("~");

            TTFLoginPage.LoginAs(TTFLoginPage.UserName = "******")
            .WithPassword("P@ssw0rd").Login();
            TTFHomePage.IsAt(TitlesList.EnumTitlesTopBar.Home.ToString());
            TTFLoginPage.GoToByUrl("~/MySettings");
            Assert.IsTrue(
                TTFMySettings.VerifyCorrectLoggining(TTFLoginPage.UserName)
                , "MySettings page broken");
        }
Ejemplo n.º 3
0
        public void TestMethod1()
        {
            // TTFLoginPage.GoToByUrl("~/Indicators/Edit/244");
            TTFLoginPage.GoToByUrl("~/Indicators/Create");
            TTFLoginPage.LoginAs(TTFLoginPage.UserName = "******")
            .WithPassword("111111").Login();

            TTFIndicatorsGrid.
            TTFnewIndicatorCreate.EnterValueType("Number").AggregationType("NONE").CreateIndicator();

            //TTFRandimDropdownSelect.DropDownsWorkList();
            //TTFTestPage.DropDownsWork();
        }