public void BeforeTest() { string location = AppDomain.CurrentDomain.BaseDirectory; location = location.Substring(0, location.IndexOf("\\bin")); driver = new ChromeDriver(location); driver.Manage().Timeouts().PageLoad = TimeSpan.FromSeconds(180); driver.Manage().Window.Maximize(); driver.Navigate().GoToUrl(credentials.url2); HomePage = new HomePage(driver); HomePageSE1 = new HomePageSE1(driver); BasePage = new BasePage( ); Assert = new Assert(driver, _extent); try { _test = _extent.CreateTest(TestContext.CurrentContext.Test.Name); } catch (Exception e) { throw (e); } }
public void VerifyAddition() { int a = 100; int b = 200; HomePageSE1.LaunchSeleniumWebpage().ProvideTwoNumber(a, b); }
public void VerifyName() { HomePageSE1. LaunchSeleniumWebpage().EnterName("Test"); }
public void VerifySeleniumEasy_Web() { HomePageSE1. LaunchSeleniumWebpage(); }
public void VerifyFemaleRadioButton() { int a = 3; HomePageSE1.LaunchSeleniumWebpage().SelectInputFormsOption(a).SelectFemaleRadio(); }
public void VerifyCheckbox() { int a = 2; HomePageSE1.LaunchSeleniumWebpage().SelectInputFormsOption(a).ClickCheckbx(); }