Installing Gauge and IntelliJ IDEA Community Edition on Windows
Installing Gauge in Windows
What is Gauge?
Gauge is the Behavior Driven Test Automation framework developed by ThoughtWorks.Inc, pioneers of Selenium. This enables automation engineers to develop automation frameworks and accelerate the software development process.
Installation Steps
1. First install JDK to your computer
2. Add JDK Home to the Windows Environment VariablesVariable name: JAVA_HOME
Variable value: C:\Program Files\Java\jdk1.8.0_101
3. Update PATH System Variable by adding the following%JAVA_HOME%\bin
4. Open a Command Prompt from Administrator
5. Install Chocolatey by executing the following command
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
6. Install Gauge by executing the following commandchoco install gauge
7. Download Apache Maven using the following URL
http://www-us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip
8. Extract it and copy that folder into the following path
C:\Program Files (x86)\Apache\
9. Add Maven to the Windows Environment Variables
Variable name: M2_HOME
Variable value: C:\Program Files (x86)\Apache\apache-maven-3.3.9
Variable name: MAVEN_HOME
Variable value: C:\Program Files (x86)\Apache\apache-maven-3.3.9
10. Update PATH System Variable by adding the following%M2_HOME%\bin
11. Verify Maven installation using the following command on the command promptmvn –version
12. Open Command Prompt and execute following commands
gauge install java
gauge install html-report
13. You can check the installation using the following command.gauge -v
If the installation is success, it will output like this:
Gauge version: <version number>Plugins-------html-report (<version number>)
java (<version number>)
14. Then install IntelliJ IDEA Community Edition using the following URL
https://www.jetbrains.com/idea/download/#section=windows
15. Open IntelliJ IDEA Community Edition
16. Go to File → Settings → Plugins
17. Search for “Gauge” plugin
18. Click “Install” button
19. Click “Restart IntelliJ IDEA” button
20. Now Gauge has successfully configured in your machine.
Environment Variables
Path variable in “System variables” section
Happy Automation !!!