Because PowerShell is a scripted language, and not a compiled language, it is easier to create and edit scripts as you go.
Note however, all the scripts written in PowerShell can easily be written in Java or C#.
Make sure the latest PowerShell is installed. We recommend to install PowerShell 5 or higher.
$PSVersionTable displays the version.
On Windows, PowerShell comes installed by default in every Windows, starting with Windows 7 SP1 and Windows Server 2008 R2 SP1. In case your PowerShell version is lower than 5 please do upgrade PowerShell or install PowerShell Core. For more information refer to: install Windows PowerShell.
To install PowerShell Core you can follow the instructions on:
You can use any text editor to write your PowerShell scripts.
Some editors provide additional scripting support:
Windows PowerShell ISE:
Visual Studio Code is a cross platform code editor and has a decent PowerShell (
ms-vscode.powershell) extension including syntax highlighting, autocomplete and shell
The Quamotion PowerShell module is required to have access to the Quamotion WebDriver functions.
Copy and Paste the following command to install the Quamotion PowerShell module
Install-Module -Name Quamotion.PowerShell
If needed modify the execution policy for PowerShell. Please find more information about this function on https://technet.microsoft.com/en-us/library/ee176961.aspx