/// <summary>
        /// view test window page click on unlink button
        /// </summary>
        /// <returns>Workflows</returns>
        public TestWindowWorkflows ViewTestWindowPageUnlinkTest()
        {
            if (AssessWorkflows.ViewTestWindowPage == null)
            {
                throw new Exception("Navigate to the ViewTestWindowPage before trying to use this workflow.");
            }
            AssessWorkflows.ViewTestWindowPage.Detail.SelectUnlink();
            ViewTestWindowData previousData = null; //remember previous data

            if (AssessWorkflows.ViewTestWindowPage != null && AssessWorkflows.ViewTestWindowPage.Data != null)
            {
                //if previous page data exist
                previousData = (ViewTestWindowData)AssessWorkflows.ViewTestWindowPage.Data;
            }
            AssessWorkflows.ViewTestWindowPage      = new ViewTestWindowPage();
            AssessWorkflows.ViewTestWindowPage.Data = previousData;
            return(this);
        }
        /// <summary>
        /// plan home page select test window
        /// </summary>
        /// <returns>Workflows</returns>
        public TestWindowWorkflows PlanHomePageSelectTestWindowByName()
        {
            if (AssessWorkflows.PlanHomePage == null)
            {
                throw new Exception("Navigate to the PlanHomePage before trying to use this workflow.");
            }
            if (Driver.WrappedDriver.GetType() == typeof(DummyDriver))
            {
                List <IWebElement> row = AssessWorkflows.PlanHomePage.Form.Grid.GetDummyElementsDataRows();
                ((DummyWebElement)row[0]).Text = ((PlanHomeData)AssessWorkflows.PlanHomePage.Data).TestWindowName;
            }
            AssessWorkflows.PlanHomePage.Form.SelectTestWindowName();
            //next page
            ViewTestWindowData previousData = null; //remember previous data

            if (AssessWorkflows.ViewTestWindowPage != null && AssessWorkflows.ViewTestWindowPage.Data != null)
            {
                //if previous page data exist
                previousData = (ViewTestWindowData)AssessWorkflows.ViewTestWindowPage.Data;
            }
            AssessWorkflows.ViewTestWindowPage      = new ViewTestWindowPage();
            AssessWorkflows.ViewTestWindowPage.Data = previousData;
            return(this);
        }