Sunday, February 8, 2015

How to run integration ui tests in WSO2 API Manager

Go to tests-ui folder reside in below path.

/platform/branches/turing/products/apimgt/1.9.0/modules/integration/tests-ui

and run below command

mvn clean install -Dwebdriver.firefox.bin=<path to firefox executable>

make sure to use firefox 22 version. you can get it from [1].

ex: 
mvn clean install -Dwebdriver.firefox.bin=/Users/lakshman/Documents/software/fireFox22/Firefox.app/Contents/MacOS/firefox-bin

If you want to debug the test case, you can use -Dmaven.surefire.debug property

ex:
mvn clean install -Dwebdriver.firefox.bin=/Users/lakshman/Documents/software/fireFox22/Firefox.app/Contents/MacOS/firefox-bin -Dmaven.surefire.debug


[1] https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/22.0/

No comments:

Post a Comment

Boost the speed of calculating Large Primes with Golang

Following points are used 1. Check whether the last digit of the integer can be divided by 2 or not 2. Check whether the sum of all digit...