Any UI automation cmdlet is planned in Powershell V3.0

被刻印的时光 ゝ 提交于 2019-12-12 03:05:48

问题


I have searched to find way to automate GUI using powershell and come across with some good online sources. But they are all using custom cmdlet. As new version of powershell is in progress, Is there any new cmdlet are availed for GUI automation?


回答1:


Don't think there will be anything specifically for UI automation.

I made a blog post with all of the new commands in the Windows 8 developer preview. Nothing for UI automation. You can download the current version CTP 2 here and check it out.

You'll probably still have to rely on third party stuff. Like WASP.




回答2:


UI automation is very much subjective to the framework and other aspects of UI development. So, I don't expect PowerShell core to support anything like that. There are, however, community extensions to do a limited set of UI automation. As Andy points out, WASP is one of them. There are a few articles on MSDN around UI automation using PowerShell such as this: http://msdn.microsoft.com/en-us/magazine/cc163301.aspx.



来源:https://stackoverflow.com/questions/8784552/any-ui-automation-cmdlet-is-planned-in-powershell-v3-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!