Installing Gauge and IntelliJ IDEA Community Edition on Windows

Installing Gauge in Windows

Osanda Deshan Nimalarathna
Test Automation Master
3 min readAug 20, 2017

--

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 Variables
Variable 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 command
choco 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 prompt
mvn –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:

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 !!!

--

--

Osanda Deshan Nimalarathna
Test Automation Master

Founder of MaxSoft | RPA Solution Architect | Open-source Contributor | Automation Framework Developer | Technical Specialist