Ejemplo n.º 1
0
        public void CreateTM()
        {
            TMPage tmObj = new TMPage();

            //tmObj.CrtTM(driver);
            tmObj.ValidateTM(driver);
        }
Ejemplo n.º 2
0
        public void Edit()
        {
            TMPage tmpageobj = new TMPage(CommonDriver.driver);

            tmpageobj.Edit();
            tmpageobj.ValidateEdit();
        }
        public void CreateTM()
        {
            TMPage tmObj = new TMPage(driver);

            tmObj.CrtTM(driver);
            tmObj.ValidateNewRecord(driver);
        }
Ejemplo n.º 4
0
 public TMPageSteps()
 {
     driver = new ChromeDriver(@"/Users/aman.bansal/Projects/Mar2021/Mar2021/");
     tmPage = new TMPage(driver);
     loginPage = new LoginPage(driver);
      homePage = new HomePage();
 }
Ejemplo n.º 5
0
        public void testEditTM()
        {
            //TMPage object and Editing an record
            TMPage tMPage = new TMPage();

            tMPage.editTM();
        }
Ejemplo n.º 6
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            //init driver

            IWebDriver driver = new ChromeDriver();

            //Login page object init and defination
            LoginPage loginobj = new LoginPage();

            loginobj.LoginSteps(driver);

            //Home page object init and defination
            HomePage homeobj = new HomePage();

            homeobj.NavigateToTM(driver);

            //TM page object init and defination
            TMPage tmobj = new TMPage();

            tmobj.CreateTM(driver);

            //Edit existing TM test
            tmobj.EditTM(driver);

            //Delete exsiting TM test
            tmobj.DeleteTM(driver);
        }
Ejemplo n.º 7
0
        static void DeleteTMTest()
        {
            //steps to delete TM
            TMPage deleteObj = new TMPage();

            deleteObj.DeleteTM(CommonDriver.Driver);
        }
Ejemplo n.º 8
0
        public void testCreateTM()
        {
            //TMPage object and Creating a record
            TMPage tMPage = new TMPage();

            tMPage.createTM();
        }
Ejemplo n.º 9
0
        static void EditTMTest()
        {
            //steps to edit TM
            TMPage editObj = new TMPage();

            editObj.EditTM(CommonDriver.Driver);
        }
Ejemplo n.º 10
0
        static void AddTMTest()
        {
            //steps for create new TM
            TMPage tmObj = new TMPage();

            tmObj.AddTM(CommonDriver.Driver);
        }
Ejemplo n.º 11
0
        public void DeleteTMTest()
        {
            //Steps to delete an existing TM
            TMPage tmObj = new TMPage();

            tmObj.deleteTM(CommonDriver.driver);
        }
Ejemplo n.º 12
0
        public void Delete()
        {
            TMPage tmpageobj = new TMPage(CommonDriver.driver);

            tmpageobj.Delete();
            tmpageobj.ValidateDelete();
        }
Ejemplo n.º 13
0
        static void Main(string[] args)
        {
            // Intitialize and define webdirver
            IWebDriver driver = new ChromeDriver(".");

            // Object init and define for login page
            LoginPage loginObj = new LoginPage();

            loginObj.LoginSteps(driver);

            // Object init and define for home page
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

            //Object init and define for TM page
            TMPage tmObj = new TMPage();

            tmObj.CreateTM(driver);

            // Test 2 - Check if the user is able to edit time successfully
            tmObj.EditTM(driver);

            // Test 3 - Check if the user is able to edit time successfully
            tmObj.DeleteTM(driver);
        }
Ejemplo n.º 14
0
        public void testcreateTM()
        {
            //TMpage object and create new record
            TMPage tmpage = new TMPage();

            tmpage.createTM();
        }
Ejemplo n.º 15
0
        public void AddTMTest()
        {
            //Steps to create a TM
            TMPage tmObj = new TMPage();

            tmObj.addTM(CommonDriver.driver);
        }
Ejemplo n.º 16
0
        public void EditTMTest()
        {
            //TM page object and edit
            TMPage tmObj = new TMPage();

            tmObj.EditTM(driver);
        }
Ejemplo n.º 17
0
        public void ThenIShouldBeAbleToCreateMaterialWithValidDetailsSuccessfully()
        {
            //Create TM
            TMPage tmObj = new TMPage();

            tmObj.createTM(CommonDriver.driver);
        }
Ejemplo n.º 18
0
        public void DeleteTMTest()
        {
            //TM page object and delete
            TMPage tmObj = new TMPage();

            tmObj.DeleteTM(driver);
        }
Ejemplo n.º 19
0
        public void DeleteTesst()
        {
            // TM page obj and Delete step
            TMPage tmObj = new TMPage();

            tmObj.DeleteTM(driver); // test 3
        }
Ejemplo n.º 20
0
        public void CreateTMTest()
        {
            //TM page object and create
            TMPage tmObj = new TMPage();

            tmObj.CreateTM(driver);
        }
Ejemplo n.º 21
0
        public void EditTMTest()
        {
            // TM page obj and Edit step
            TMPage tmObj = new TMPage();

            tmObj.EditTM(driver);  // test 2
        }
Ejemplo n.º 22
0
        public void testEditTM()
        {
            //TMpage object and editing an existing record
            TMPage tmPage = new TMPage(driver);

            tmPage.editTM();
        }
Ejemplo n.º 23
0
        public void CreateTMnValidate()
        {
            var tmPage = new TMPage(driver);

            tmPage.createTM();
            tmPage.ValidateTM();
        }
Ejemplo n.º 24
0
        public void EditTMTest()
        {
            //Steps to edit an existing TM
            TMPage tmObj = new TMPage();

            tmObj.editTM(CommonDriver.driver);
        }
        public void ThenIShouldBeAbleToEditTimeRecordWithUpdatedInformation()
        {
            //page object for TM page
            TMPage tmobj = new TMPage();

            //edit TM test case
            tmobj.EditTM(driver);
        }
        public void ThenIShouldBeAbleToCreateTimeRecordWithValidInformation()
        {
            //page object for TM page
            TMPage tmobj = new TMPage();

            //create new TM Test case
            tmobj.AddTM(driver);
        }
Ejemplo n.º 27
0
        public void ThenIWouldBeAbleToCreateATimeRecordWithValidDetailsSucessfully()
        {
            //object for TM page
            TMPage tmpageobj = new TMPage(CommonDriver.driver);

            tmpageobj.Create();
            tmpageobj.Edit();
        }
        public void DeleteTMTest()
        {
            //TM object and delete step

            TMPage deleteObj = new TMPage();

            deleteObj.DeleteTM(driver);
        }
        public void EditTMTest()
        {
            //TM object and edit step

            TMPage editObj = new TMPage();

            editObj.EditTM(driver);
        }
Ejemplo n.º 30
0
        public void ThenIShouldBeAbleToEditTimeAndMaterialEntryWithValidData()
        {
            //create page object for TM page
            TMPage tmObj = new TMPage();

            //Edit TM test cases
            tmObj.EditTM(driver);
        }