public void SetupTest() { frb = FluentRecordBaseFactory.Get(); driver = new ChromeDriver(SharedConfig.ChromeDriverPath); ui = new sharedUI(driver, baseURL, map); verificationErrors = new StringBuilder(); ui.login(SharedConfig.SeleniumUser, SharedConfig.SeleniumUserPassword); }
public void SetupTest() { frb = new FluentRecordBase(); driver = new ChromeDriver(ConfigurationManager.AppSettings["CHROMEDRIVERPATH"]); baseURL = "http://localhost:4213/"; ui = new sharedUI(driver, baseURL, map); verificationErrors = new StringBuilder(); ui.login(); }
public void SetupTest() { frb = FluentRecordBaseFactory.Get(); driver = new ChromeDriver("/usr/local/bin"); baseURL = "http://localhost:4213/"; ui = new sharedUI(driver, baseURL, map); verificationErrors = new StringBuilder(); ui.login(); }
public static void ClassInitialize(TestContext testContext) { WebServer.StartIis(); // getting Project path for dummy image string solutionDirectory = sharedUI.SolutionDirectory(); //testdir = solutionDirectory + "\\Machete.test\\"; testimagefile = solutionDirectory + "\\jimmy_machete.jpg"; driver = new ChromeDriver(ConfigurationManager.AppSettings["CHROMEDRIVERPATH"]); baseURL = "http://localhost:4213/"; ui = new sharedUI(driver, baseURL); DB = new MacheteContext(); wsiSet = DB.Set<WorkerSignin>(); wSet = DB.Set<Worker>(); pSet = DB.Set<Person>(); }
public static void ClassInitialize(TestContext testContext) { WebServer.StartIis(); // getting Project path for dummy image string solutionDirectory = sharedUI.SolutionDirectory(); //testdir = solutionDirectory + "\\Machete.test\\"; testimagefile = solutionDirectory + "\\jimmy_machete.jpg"; map = new Machete.Web.MapperConfig().getMapper(); driver = new ChromeDriver(ConfigurationManager.AppSettings["CHROMEDRIVERPATH"]); baseURL = "http://localhost:4213/"; ui = new sharedUI(driver, baseURL, map); DB = new MacheteContext(); wsiSet = DB.Set <WorkerSignin>(); wSet = DB.Set <Worker>(); pSet = DB.Set <Person>(); }
public void SetupTest() { frb = new FluentRecordBase(); driver = new ChromeDriver(ConfigurationManager.AppSettings["CHROMEDRIVERPATH"]); baseURL = "http://localhost:4213/"; ui = new sharedUI(driver, baseURL); verificationErrors = new StringBuilder(); ui.login(); }