Exemplo n.º 1
0
 public void SMK05_VerifyGroupCreation()
 {
     TestGroupName = GetType().Name;
     TestName      = TestContext.TestName;
     CreateFolders(TestGroupName, TestName);
     try
     {
         var tmp = File.ReadAllText(@datapath + "\\path.txt");
         DashboardModule.NavigateToDashboard(TestGroupName, TestName);
         GroupModule.VerifyAddGroup(tmp, TestGroupName, TestName);
     }
     catch (Exception e)
     {
         _verificationErrors.Append(e.Message);
         Assert.Fail(e.Message);
     }
 }
Exemplo n.º 2
0
 public void SMK08_VerifyContentCreation_Video_FixedCountdown_Artist_Preview()
 {
     TestGroupName = GetType().Name;
     TestName      = TestContext.TestName;
     CreateFolders(TestGroupName, TestName);
     try
     {
         type        = "Fixed Countdown";
         level       = "3";
         media       = "Video";
         pathcontent = datapath + "\\Video.au3";
         pathpreview = datapath + "\\Image.au3";
         owner       = "Artist";
         var tmp = File.ReadAllText(@datapath + "\\path.txt");
         DashboardModule.NavigateToDashboard(TestGroupName, TestName);
         ContentModule.VerifyAddContent(type, level, media, pathcontent, pathpreview, owner, tmp, TestGroupName, TestName);
     }
     catch (Exception e)
     {
         _verificationErrors.Append(e.Message);
         Assert.Fail(e.Message);
     }
 }
Exemplo n.º 3
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);
     }
 }