/// <summary>
 /// Create notebook if notebook is present in work browser
 /// </summary>
 /// <param name="taskInfo"></param>
 public static void CreateNotebookIfNoNotebooksInWorkBrowser(TaskInfo taskInfo)
 {
     if (AutomationAgent.VerifyControlExists("WorkBrowserView", "GridItem", WaitTime.DefaultWaitTime, "1"))
     {
         AutomationAgent.Wait();
     }
     else
     {
         if (taskInfo.SubjectName == "ELA")
         {
             NavigationCommonMethods.NavigateELATaskfromSytemTrayMenu(taskInfo.Grade, taskInfo.Unit, taskInfo.Lesson, taskInfo.TaskNumber);
             AutomationAgent.Wait(500);
             AutomationAgent.Click("NotebookView", "NotebookIcon");
             AutomationAgent.Wait(500);
             if (AutomationAgent.VerifyControlExists("LessonView", "InteractiveAvailableOnCloud", 5000))
             {
                 AutomationAgent.Click("LessonView", "InteractiveAvailableOnCloud");
                 AutomationAgent.Click("NoteBookMathView", "CONTINUEBtn");
             }
             NotebookCommonMethods.ClickTextIconInNotebook();
             CommonReadCommonMethods.Sleep();
             NotebookCommonMethods.TapOnScreen(1200, 700);
             NotebookCommonMethods.AddTextInNotebook("ABCD");
             AutomationAgent.Click("NotebookView", "NotebookIcon");
             NavigationCommonMethods.NavigateWorkBrowser();
             OpenWorkBrowserDropDown();
             ClickMyClassInWorkBrowserDropDown();
             OpenWorkBrowserDropDown();
         }
     }
 }
 public static void NavigateToAssessmentTasksFromSystemTrayMenu(TaskInfo taskInfo)
 {
     if (taskInfo.SubjectName == "ELA")
     {
         NavigateELATask(taskInfo.Grade, taskInfo.Unit, taskInfo.Lesson, taskInfo.TaskNumber);
     }
     else if (taskInfo.SubjectName == "Math")
     {
         NavigateMathTask(taskInfo.Grade, taskInfo.Unit, taskInfo.Lesson, taskInfo.TaskNumber);
     }
 }