public void SMK04_VerifyArtistCreation() { TestGroupName = GetType().Name; TestName = TestContext.TestName; CreateFolders(TestGroupName, TestName); try { var tmp = File.ReadAllText(@datapath + "\\path.txt"); ArtistModule.VerifyAddArtist(tmp, TestGroupName, TestName); } catch (Exception e) { _verificationErrors.Append(e.Message); Assert.Fail(e.Message); } }
public static void Setup() { Console.WriteLine("E3"); Driver = GetWebDriver(ConfigurationSettings.AppSettings["browser"]); string baseUrl = ConfigurationSettings.AppSettings["baseUrl"]; Console.WriteLine("E4"); Driver.Manage().Window.Maximize(); Driver.Navigate().GoToUrl(baseUrl); LoginModule = new LoginModule(Driver); CompanyModule = new CompanyModule(Driver); DashboardModule = new DashboardModule(Driver); ArtistModule = new ArtistModule(Driver); GroupModule = new GroupModule(Driver); ContentModule = new ContentModule(Driver); ElementPresentTest = new ElementPresentTest(Driver); }