public void SMK01_VerifyLoginAsSuperSuperAdmin() { TestGroupName = GetType().Name; TestName = TestContext.TestName; CreateFolders(TestGroupName, TestName); try { LoginModule.LoginToCMS("*****@*****.**", "Nop@ss1234", TestGroupName, TestName); DashboardModule.VerifySuperSuperAdminDashboard(TestGroupName, TestName); } catch (Exception e) { _verificationErrors.Append(e.Message); Assert.Fail(e.Message); } }
public void SMK03_VerifyLoginAsNewCompanyAdmin() { TestGroupName = GetType().Name; TestName = TestContext.TestName; CreateFolders(TestGroupName, TestName); try { var tmp = File.ReadAllText(@datapath + "\\path.txt"); LoginModule.LoginToCMS("admin" + tmp + "@test.com", "password_" + tmp, TestGroupName, TestName); DashboardModule.VerifyCompanyAdminDashboard(TestGroupName, TestName); } catch (Exception e) { _verificationErrors.Append(e.Message); Assert.Fail(e.Message); } }