/// <inheritdoc/> protected override void ExecuteInteraction(ElementScope scope) { ArgumentUtility.CheckNotNull("scope", scope); OutputDebugMessage(string.Format("New value: '{0}'", _value)); scope.FillInWithFixed(_value, _finishInputWithAction); }
/// <summary> /// ASP.NET WebForms-ready & IE-compatiable version for Coypu's <see cref="ElementScope.SendKeys"/> method. /// </summary> /// <param name="scope">The <see cref="ElementScope"/> on which the action is performed.</param> /// <param name="value">The value to fill in.</param> public static void SendKeysFixed([NotNull] this ElementScope scope, [NotNull] string value) { ArgumentUtility.CheckNotNull("scope", scope); ArgumentUtility.CheckNotNull("value", value); const bool clearValue = false; scope.FillInWithFixed(value, FinishInput.Promptly, clearValue); }
/// <summary> /// ASP.NET WebForms-ready & IE-compatible version for Coypu's <see cref="ElementScope.FillInWith"/> method. /// </summary> /// <param name="scope">The <see cref="ElementScope"/> on which the action is performed.</param> /// <param name="value">The value to fill in.</param> /// <param name="finishInputWithAction"><see cref="FinishInputWithAction"/> for this action.</param> public static void FillInWithFixed( [NotNull] this ElementScope scope, [NotNull] string value, [NotNull] FinishInputWithAction finishInputWithAction) { ArgumentUtility.CheckNotNull("scope", scope); ArgumentUtility.CheckNotNull("value", value); ArgumentUtility.CheckNotNull("finishInputWithAction", finishInputWithAction); const bool clearValue = true; scope.FillInWithFixed(value, finishInputWithAction, clearValue); }