TextBoxTests TypingGoesIntoTheTextBoxWithFocus Method Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void TypingGoesIntoTheTextBoxWithFocus()
Examples

[Test, CloseAfterFirstFrame]
public void TypingGoesIntoTheTextBoxWithFocus()
{
    if (!IsMockResolver)
        return; //ncrunch: no coverage
    topTextBox.Text = "";
    bottomTextBox.Text = "";
    PressAndReleaseMouse(Bottom.Center);
    PressKeys();
    Assert.AreEqual("", topTextBox.Text);
    Assert.AreEqual("a 2", bottomTextBox.Text);
}
See Also