views:

34

answers:

0

It is possible to automate Silverlight with PowerShell? I want to control Silverlight, press buttons etc.

Like automation with the IExplorer:

$ie = New-Object -ComObject InternetExplorer.Application
$ie.Navigate("http://www.stackoverflow.com")
$ie.Document.getElementById("ButtonID")|foreach{
       $_.Click()
}