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); }
public void CreateTMTest() { //TM page object and create TMPage tmObj = new TMPage(); tmObj.CreateTM(driver); }
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); }
public void CreateTMTest() { HomePage homeObj = new HomePage(); homeObj.NavigateToTM(driver); TMPage tmObj = new TMPage(); tmObj.CreateTM(driver); }
public void CreateTM_Test() { // Home page object init and definition HomePage homeObj = new HomePage(); homeObj.NavigateToTM(driver); // TM page object init and definition TMPage tmObj = new TMPage(); tmObj.CreateTM(driver); }
public void CreateNewTMTest() { // Object init and define for home page HomePage homeObj = new HomePage(); homeObj.NavigateToTM(driver); // Test 1 - Check if the user is able to create time successfully // Object init and define for TM page TMPage tmObj = new TMPage(); tmObj.CreateTM(driver); }
public void TestSetUp() { //defining driver driver = new OpenQA.Selenium.Chrome.ChromeDriver(); //loginpg obj LoginPage loginobj = new LoginPage(); loginobj.LoginSteps(driver); //homepage object HomePage homeobj = new HomePage(); homeobj.NavigaeToTMPage(driver); //Tmpage obj TMPage tmobj = new TMPage(); tmobj.CreateTM(driver); //customer page obj //CustomerPage customerobj = new CustomerPage(); //customerobj.CreateCustomer(driver); }
public void CreateTM() { TMPage tmObj = new TMPage(); tmObj.CreateTM(driver); }
public void CreateTmTest() { TMPage tmobj = new TMPage(); tmobj.CreateTM(driver); }