//[Test, Description("Verify User Able To View Gdoc Content When selected Live or Coder Draft ")]
 public void TC_04_ValidateUserAbleToSeeGdocTabWithaMessageWhenSelectedLiveOrCoderDrafts()
 {
     try
     {
         String TestName    = (TestContext.CurrentContext.Test.Name.ToString());
         String description = TestContext.CurrentContext.Test.Properties.Get("Description").ToString();
         CreateTest(TestName, description);
         AuthoringScreenEnhancements auth = new AuthoringScreenEnhancements(driver);
         System.Threading.Thread.Sleep(5000);
         auth.LeftLiveDraft();
         System.Threading.Thread.Sleep(5000);
         auth.RightLiveDraft();
         System.Threading.Thread.Sleep(5000);
         CreateDraftPage createDraft = new CreateDraftPage(driver);
         String          path1       = TakeScreenshot(driver);
         createDraft.SuccessScreenshot(path1, "Validating GDoc Message when selected Live Draft");
         System.Threading.Thread.Sleep(5000);
         auth.LeftCoderDraft();
         System.Threading.Thread.Sleep(5000);
         auth.RightCoderDraft();
         System.Threading.Thread.Sleep(5000);
         String path2 = TakeScreenshot(driver);
         createDraft.SuccessScreenshot(path2, "Validating GDoc Message when selected Coder Draft");
     }
     catch (AssertionException)
     {
         fail("Assertion failed");
         throw;
     }
 }
 //[Test, Description("Verify When User selects Existing Live Drafts to Live the AcceptDraftToLive Button is disabled")]
 public void TC_05_ValidateAcceptDraftToLiveButtonIsDisabledWhenUserSelectsExistingLiveDraftsToLive()
 {
     try
     {
         String TestName    = (TestContext.CurrentContext.Test.Name.ToString());
         String description = TestContext.CurrentContext.Test.Properties.Get("Description").ToString();
         CreateTest(TestName, description);
         AuthoringScreenEnhancements auth = new AuthoringScreenEnhancements(driver);
         System.Threading.Thread.Sleep(5000);
         auth.LeftLiveDraft();
         System.Threading.Thread.Sleep(5000);
         auth.RightLiveDraft();
         System.Threading.Thread.Sleep(5000);
         Boolean flag = auth.IsAcceptDraftToLiveButtonEnabled();
         Console.WriteLine("Flag is " + flag);
         CreateDraftPage createDraft = new CreateDraftPage(driver);
         String          path1       = TakeScreenshot(driver);
         createDraft.SuccessScreenshot(path1, "Verifying Accept Draft To Live Button Is Enabled or Disabled ");
         Assert.IsTrue(flag);
         System.Threading.Thread.Sleep(15000);
     }
     catch (AssertionException)
     {
         fail("Assertion failed");
         throw;
     }
 }
 //[Test, Description("Verify User Able to Validate Live Draft and Continuous Update Of Live Draft")]
 public void TC_03_ValidateUserAbleToCreateLiveDraftAndCanContinuouslyUpdateIt()
 {
     try
     {
         String TestName    = (TestContext.CurrentContext.Test.Name.ToString());
         String description = TestContext.CurrentContext.Test.Properties.Get("Description").ToString();
         CreateTest(TestName, description);
         AuthoringScreenEnhancements auth1 = new AuthoringScreenEnhancements(driver);
         auth1.LeftLiveDraft();
         System.Threading.Thread.Sleep(5000);
         auth1.MDLeftTab();
         System.Threading.Thread.Sleep(5000);
         auth1.RightLiveDraft();
         System.Threading.Thread.Sleep(5000);
         auth1.MDRightTab();
         System.Threading.Thread.Sleep(5000);
         CreateDraftPage createDraft1 = new CreateDraftPage(driver);
         String          path3        = TakeScreenshot(driver);
         createDraft1.SuccessScreenshot(path3, "Validating a Live Draft in both Editor Panes with some content");
         CreateDraftPage createDraft2 = new CreateDraftPage(driver);
         System.Threading.Thread.Sleep(5000);
         createDraft2.ClickNewDraft();
         System.Threading.Thread.Sleep(5000);
         String draftName1 = createDraft2.EnterValidDraftName();
         createDraft2.ClickOnBlankDraft();
         System.Threading.Thread.Sleep(5000);
         String path4 = TakeScreenshot(driver);
         createDraft2.SuccessScreenshot(path4, "Creating  a Blank Draft");
         createDraft2.CreateDraft();
         System.Threading.Thread.Sleep(15000);
         System.Threading.Thread.Sleep(5000);
         AddProjectPage addProject2 = new AddProjectPage(driver);
         addProject2.ClickNotifications();
         System.Threading.Thread.Sleep(5000);
         String path5 = TakeScreenshot(driver);
         createDraft2.SuccessScreenshot(path5, "Created a Blank Draft");
         addProject2.BackToProject();
         System.Threading.Thread.Sleep(5000);
         AuthoringScreenEnhancements auth2 = new AuthoringScreenEnhancements(driver);
         auth2.LeftDraftDropDown(draftName1);
         System.Threading.Thread.Sleep(5000);
         auth2.RightDraftDropDown(draftName1);
         System.Threading.Thread.Sleep(5000);
         auth2.ClickAcceptDraftToLive();
         System.Threading.Thread.Sleep(15000);
         System.Threading.Thread.Sleep(5000);
         addProject2.ClickNotifications();
         System.Threading.Thread.Sleep(5000);
         String path6 = TakeScreenshot(driver);
         createDraft2.SuccessScreenshot(path6, "Created a Blank Live Draft");
         addProject2.BackToProject();
         System.Threading.Thread.Sleep(5000);
         auth2.LeftLiveDraft();
         System.Threading.Thread.Sleep(5000);
         auth2.MDLeftTab();
         System.Threading.Thread.Sleep(5000);
         auth2.RightLiveDraft();
         System.Threading.Thread.Sleep(5000);
         auth2.MDRightTab();
         System.Threading.Thread.Sleep(5000);
         String path7 = TakeScreenshot(driver);
         createDraft2.SuccessScreenshot(path7, "Validating Updated Live Draft in both Editor Panes with blank message");
     }
     catch (AssertionException)
     {
         fail("Assertion failed");
         throw;
     }
 }