/// <summary> /// Get the value of a field, such as a text box /// Will throw a warning but not an error if unsuccessful /// </summary> /// <param name="fieldID"></param> /// <returns></returns> public string GetValue(string fieldID) { string text; try { text = selenium.GetValue(fieldID); return(text); } catch// (Exception) { ErrorReport(fieldID, CheckType.Warning); test.warningcheck++; return(null); } }