Tuesday, August 21, 2012

Coded UI - Select text and replace


This is useful sometimes:

Mouse.Click(this.TestRunner.Login.UIMozillaWindow.UIItemDocument.UIGeneralPasswortEdit);
Keyboard.SendKeys(this.TestRunner.Login.UIMozillaWindow.UIItemDocument.UIGeneralPasswortEdit, "A", ModifierKeys.Control);
Keyboard.SendKeys("1234567");   

No comments:

Post a Comment