Skip to content

TextBox.Text property assignment types only part of text #186

Closed

Description

@ivan-danilov

Sometimes when you assign textBox.Text = "abcdef"and then do something else - only starting part of the value is actually appears in the text box, like abcd.

I wonder, maybe we have to call something like Process.WaitForInputIdle() after each text typing? Where is the best place for saving application under test then? Or maybe there's a clean way to pass it in the args? Maybe any other ideas why such issue may appear?

Activity

  1. ivan-danilov commented on Jan 6, 2014

    @ivan-danilov
    ContributorAuthor

    Seems reproducible in KeyboardTest at ShouldSetTheValueOfATextBox. Adding Thread.Sleep(1) after each SendInput helped seemingly. At least I can't repro issue in the unit-test afterwards.

  2. ivan-danilov commented on Jan 6, 2014

    @ivan-danilov
    ContributorAuthor

    Oops. Still can reproduce. Much more rare, but still.

  3. added 7 commits that reference this issue on Jan 6, 2014
    ea5ab36
    1f24204
    d90e9a3
    4487b9d
    6391b24
    801d212
    786b073
  4. JakeGinnivan commented on Jan 21, 2014

    @JakeGinnivan
    Member

    Assuming this is fixed now. Closing

  5. added a commit that references this issue on Mar 10, 2014
    a1f8a33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions