Taken, as an example, a simple Windows Forms application called ‘testeditbox’ with a label and a text box.
SendKeys001.jpg
We can write in and, after, clean it the following way:
Get-UIAWindow -n testeditbox | Get-UIAEdit | Set-UIAEditText texttexttext;
SendKeys002.jpg
Get-UIAWindow -n testeditbox | Get-UIAEdit | Set-UIAEditText "";
SendKeys003.jpg

Last edited Jan 17, 2013 at 1:17 PM by xinliu, version 2

Comments

No comments yet.