Ejemplo n.º 1
0
 public void SMK02_VerifyCompanyCreationWithAdmin()
 {
     TestGroupName = GetType().Name;
     TestName      = TestContext.TestName;
     CreateFolders(TestGroupName, TestName);
     try
     {
         CompanyModule.CreateACompany(TestGroupName, TestName);
         LoginModule.Logout(TestGroupName, TestName);
     }
     catch (Exception e)
     {
         _verificationErrors.Append(e.Message);
         Assert.Fail(e.Message);
     }
 }
Ejemplo n.º 2
0
 public void SMK09_VerifyContentCreation_Image_DurationCountdown_Group()
 {
     TestGroupName = GetType().Name;
     TestName      = TestContext.TestName;
     CreateFolders(TestGroupName, TestName);
     try
     {
         type        = "Duration Countdown";
         level       = "4";
         media       = "Image";
         pathcontent = datapath + "\\Image.au3";
         pathpreview = "";
         owner       = "Group";
         var tmp = File.ReadAllText(@datapath + "\\path.txt");
         DashboardModule.NavigateToDashboard(TestGroupName, TestName);
         ContentModule.VerifyAddContent(type, level, media, pathcontent, pathpreview, owner, tmp, TestGroupName, TestName);
         LoginModule.Logout(TestGroupName, TestName);
     }
     catch (Exception e)
     {
         _verificationErrors.Append(e.Message);
         Assert.Fail(e.Message);
     }
 }