使用PowerShell可以自動化Silverlight嗎? 我想控制的Silverlight,按按鈕等是否可以使用PowerShell自動化Silverlight?
像與IEXPLORER自動化:
$ie = New-Object -ComObject InternetExplorer.Application
$ie.Navigate("http://www.stackoverflow.com")
$ie.Document.getElementById("ButtonID")|foreach{
$_.Click()
}