Visit our Metro UI automation page.
Yesterday, a customer was disappointed with the difficulty of installing the module. Although the UIAutomation module wasn’t guilty, it would be better to figure out how to install the module on your Windows 8 or Windows Server 2012 host.
First of all, download the right package. Go to the project page and click the Downloads tab:
There, you need to download the package that is called as ‘UIAutomation X.Y.Z for Metro testing’:
Download the package with name like ‘UIAutomation.X.Y.Z.for.Metro.testing.zip’ and open it. Don’t put the content directly to the %ProgramFiles% folder! It won’t work. Security has been tightened even more (and it’s a good news for us), so that we need to do some preparations. Open the package where it was saved (supposedly, in your Downloads folder):
unpack the zip into your user’s folder, for example, Documents. I created the folder ‘Metro’ and paste the files to there. Open properties of dlls:
Eventually, you can copy all the files to a folder within the ‘Program Files’ hierarchy. If you had not unblocked the binaries, or tried to unblock in the ‘Program Files’ folder, your output in PowerShell console would look like that:
If you did all I wrote above, you output will be much cleaner:
The next step is to install the certificate as described here.