public static List<String> GetValuesInColumn(String columnName, String range)
 {
     List<String> valueList = new List<String>();
     int colIndex = GetColumnIndex(columnName, range);
     if (colIndex > -1)
     {
         NavigateToFirstPage(DL_Lab_MRR_Table.Pager);
         do
         {
             valueList.AddRange(WebTableUtilities.GetValuesInColumn(DL_Lab_MRR_Table.MrrTable, colIndex));
         }
         while (NavigateToNextPage(DL_Lab_MRR_Table.Pager));
     }
     return valueList;
 }
示例#2
0
        static List <String> GetValuesInColumn(String columnName)
        {
            List <String> valueList = new List <String>();
            int           colIndex  = GetColumnIndex(columnName);

            if (colIndex > -1)
            {
                BP_PagerUtilities.NavigateToFirstPage(DL_LabManagementPage.Pager);
                do
                {
                    valueList.AddRange(WebTableUtilities.GetValuesInColumn(DL_LabManagementPage.LabsTable, colIndex));
                }while (BP_PagerUtilities.NavigateToNextPage(DL_LabManagementPage.Pager));
            }
            return(valueList);
        }
        static List <String> GetValuesInLabTestsColumn(String columnName)
        {
            List <String> valueList = new List <String>();
            int           colIndex  = GetLabTestsColumnIndex(columnName);

            if (colIndex > -1)
            {
                BP_PagerUtilities.NavigateToFirstPage(DL_Lab_ManageReferenceRanges.PageNav);
                do
                {
                    valueList.AddRange(WebTableUtilities.GetValuesInColumn(DL_Lab_ManageReferenceRanges.LabsTestTable, colIndex));
                }while (BP_PagerUtilities.NavigateToNextPage(DL_Lab_ManageReferenceRanges.PageNav));
            }
            return(valueList);
        }