Difference between revisions of "Install ANSICON for coloured output"

From Test Automation Wiki
Jump to: navigation, search
(Created page with "* Download and unzip [https://github.com/downloads/adoxa/ansicon/ansi160.zip | ansi160.zip] * open cmd and navigate to the unzipped folder * Navigate to x64 (if you have a 64...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* Download and unzip [https://github.com/downloads/adoxa/ansicon/ansi160.zip | ansi160.zip]
+
* Download and unzip [https://github.com/adoxa/ansicon/releases/download/v1.83/ansi183.zip | ansi183.zip]
* open cmd and navigate to the unzipped folder
+
* Open CMD and navigate to the unzipped folder
 
* Navigate to x64 (if you have a 64 bit machine) otherwise navigate to x86
 
* Navigate to x64 (if you have a 64 bit machine) otherwise navigate to x86
* Type <code>ansicon.exe -h</code> and you will get the following:
+
* Type <code>ansicon.exe -i</code> and ansicon will be installed.
*
+
* Now navigate to any of your projects and run cucumber to see if ansicon has successfully been installed
<source>
+
* The ansicon warning should have disappeared and text output should be colored
D:\Data\ansicon\x86&gt;ansicon.exe -h
+
* If any issues occur you can type <code>ansicon.exe -u</code> in the ansicon folder to uninstall ansicon.
ANSICON by Jason Hood .
 
Version 1.32 (22 December, 2010).  Freeware.
 
http://ansicon.adoxa.cjb.net/
 
  
Process ANSI escape sequences in Win32 console programs.
+
'''source:''' http://qastuffs.blogspot.nl/2011/02/how-to-install-ansicon-for-cucumber-to.html
 
 
ansicon -i|I | -u|U
 
ansicon [-m[]] [-p | -e|E string | -t|T [file(s)] | program [args]]
 
 
 
  -i            install - add ANSICON to the AutoRun entry (implies -p)
 
  -u            uninstall - remove ANSICON from the AutoRun entry
 
  -I -U        use local machine instead of current user
 
  -m            use grey on black ("monochrome") or  as default color
 
  -p            hook into the parent process
 
  -e            echo string
 
  -E            echo string, don't append newline
 
  -t            display files ("-" for stdin), combined as a single stream
 
  -T            display files, name first, blank line before and after
 
  program      run the specified program
 
  nothing      run a new command processor, or display stdin if redirected is one or two hexadecimal digits; please use "COLOR /?" for details.
 
</source>
 
* Execute 'ansicon.exe -i' to install and add ansicon to your Windows
 
* Run your cucumber test and you should get the coloured output result on Windows
 
  
'''source:''' http://qastuffs.blogspot.nl/2011/02/how-to-install-ansicon-for-cucumber-to.html
+
[[Category:FAQ]]

Latest revision as of 11:17, 2 May 2018

  • Download and unzip | ansi183.zip
  • Open CMD and navigate to the unzipped folder
  • Navigate to x64 (if you have a 64 bit machine) otherwise navigate to x86
  • Type ansicon.exe -i and ansicon will be installed.
  • Now navigate to any of your projects and run cucumber to see if ansicon has successfully been installed
  • The ansicon warning should have disappeared and text output should be colored
  • If any issues occur you can type ansicon.exe -u in the ansicon folder to uninstall ansicon.

source: http://qastuffs.blogspot.nl/2011/02/how-to-install-ansicon-for-cucumber-to.html