[英]Accessing fields in windows applications
I am using a test automation software called testcomplete to enter and read values in fields of a windows .net application. 我正在使用一个名为testcomplete的测试自动化软件来输入和读取Windows .net应用程序的字段中的值。 Is there a way to do this task with the help of simple tools?
有没有办法借助简单的工具来完成此任务? or scripting or programming languages?
还是脚本或编程语言?
There is the UI Automation PowerShell Extensions . 有UI自动化PowerShell扩展 。
Get-UIAWindow -ProcessName $processname | Get-UIAButton -Name $btnName | Invoke-UIAButtonClick
Get-UIAWindow -Name $windowTitle | Get-UIAChildWindow | Get-UIATextBox -AutomationID ServerBox | Set-UIATextBoxText -Text "text"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.