From 2b0b41a44067746e633169c9b485390e46d466fb Mon Sep 17 00:00:00 2001 From: Jake Ginnivan Date: Wed, 6 Feb 2013 15:42:44 +0800 Subject: [PATCH] Fixed a TextBox test --- src/TestStack.White.UITests.Old/UIItems/TextBoxTest.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/TestStack.White.UITests.Old/UIItems/TextBoxTest.cs b/src/TestStack.White.UITests.Old/UIItems/TextBoxTest.cs index 2fe358f1..0129f243 100644 --- a/src/TestStack.White.UITests.Old/UIItems/TextBoxTest.cs +++ b/src/TestStack.White.UITests.Old/UIItems/TextBoxTest.cs @@ -39,11 +39,10 @@ public void EnterBulkText() [Test] public void CopyTest() { - textBox.Text = "userText"; - textBox.DoubleClick(); - AttachedKeyboard attachedKeyboard = window.Keyboard; + textBox.Text = "userText"; attachedKeyboard.HoldKey(KeyboardInput.SpecialKeys.CONTROL); + attachedKeyboard.Enter("a"); attachedKeyboard.Enter("c"); attachedKeyboard.LeaveKey(KeyboardInput.SpecialKeys.CONTROL);