/// <summary>
        /// Sets the Rows List
        /// </summary>
        public override void SetRowLists()
        {
            base.SetRowLists();
            int rowIndex = 0;

            foreach (var webElement in WebElementRows)
            {
                Report.Write("GridRow by index: " + rowIndex);
                GridRowType rowType = GetGridRowType(rowIndex);
                Report.Write("GridRowType: " + rowType);
                var lineItem = new ViewPortalInProgressTestResultsRow(gridCssSelector, webElement, rowIndex, rowType, ColumnList, ControlPrefix);
                RowList.Add(lineItem);
                rowIndex++;
            }
        }
        /// <summary>
        /// gets a list of rows containing the text to find from the row list
        /// </summary>
        /// <param name="columnName">the column name</param>
        /// <param name="textToFind">the text to find</param>
        /// <returns>list of ViewPortalInProgressTestResultsRow</returns>
        public new List <ViewPortalInProgressTestResultsRow> GetsRowsContainingTextToFindFromList(string columnName, string textToFind)
        {
            if (RowList.Count == 0)
            {
                Assert.Fail("No items were found in the search results column list.");
                return(null);
            }

            else
            {
                List <ViewPortalInProgressTestResultsRow> viewPortalInProgressTestResultsRowList = new List <ViewPortalInProgressTestResultsRow>();
                string text  = null;
                int    index = 0;
                foreach (var row in RowList)
                {
                    ViewPortalInProgressTestResultsRow viewPortalInProgressTestResultsRow = (ViewPortalInProgressTestResultsRow)row;

                    if (viewPortalInProgressTestResultsRow.Type != GridRowType.Header && viewPortalInProgressTestResultsRow.Type != GridRowType.Pagination)
                    {
                        //get the text by column name
                        if (columnName.Equals(ViewPortalInProgressTestResultsColumnNames.TestName))
                        {
                            text = viewPortalInProgressTestResultsRow.GetTestName();
                        }

                        if (columnName.Equals(ViewPortalInProgressTestResultsColumnNames.Subject))
                        {
                            text = viewPortalInProgressTestResultsRow.GetTestSubject();
                        }

                        if (columnName.Equals(ViewPortalInProgressTestResultsColumnNames.GradeLevel))
                        {
                            text = viewPortalInProgressTestResultsRow.GetTestGradeLevel();
                        }

                        if (columnName.Equals(ViewPortalInProgressTestResultsColumnNames.TestStage))
                        {
                            text = viewPortalInProgressTestResultsRow.GetTestStage();
                        }

                        if (columnName.Equals(ViewPortalInProgressTestResultsColumnNames.EndDate))
                        {
                            text = viewPortalInProgressTestResultsRow.GetTestEndDate();
                        }

                        if (columnName.Equals(ViewPortalInProgressTestResultsColumnNames.ScoresDueDate))
                        {
                            text = viewPortalInProgressTestResultsRow.GetTestScoresDueDate();
                        }

                        if (columnName.Equals(ViewPortalInProgressTestResultsColumnNames.CollectionStatus))
                        {
                            text = viewPortalInProgressTestResultsRow.GetTestCollectionStatus();
                        }

                        //if the text is not null
                        if (text != null)
                        {
                            //if the text contains the text to find
                            if (text.Contains(textToFind))
                            {
                                viewPortalInProgressTestResultsRowList.Add(viewPortalInProgressTestResultsRow);
                            }
                        }
                    }
                }

                //may return empty row list if text is not found
                return(viewPortalInProgressTestResultsRowList);
            }
        }