public void Submit(string formLocator) { bool actRes = false; string errStr = ""; try { selenium.Submit(formLocator); actRes = true; } catch (System.Exception ex) { errStr = ex.ToString(); } res = new ResultClass() { Decp = "Submit, " + formLocator, Res = actRes ? "pass" : "fail", Tdev = " ms", Err = errStr, }; BaseListOfResItems.Add(res); }
/// <summary> /// Submits the form. Equivalent to hitting the ENTER key. /// </summary> public static void SubmitForm(ISelenium selenium) { // NOTE: This form ID is outdated. selenium.Submit("aspnetForm"); }
/// <summary> /// Submits the form. Equivalent to hitting the ENTER key. /// </summary> public static void SubmitForm(ISelenium selenium) { selenium.Submit("aspnetForm"); }
/// <summary> /// Submits the form. Equivalent to hitting the ENTER key. /// </summary> public static void SubmitForm( ISelenium selenium ) { selenium.Submit( "aspnetForm" ); }