Hi all, We are in the process of writing UI integration tests for our products. All tests are going to be added under product integration tests and included to product builds.
Currently tests are configured to run on Firefox browser by using latest selenium WebDriver version (2.31.0). There are few limitations with setting default browser for tests since those tests will be included to the product builds, and those who build the products locally, will find some difficulties due to platform dependent nature of Selenium. Some limitations are - 1. Everyone don't have Firefox in their machine. 2. Latest Selenium WebDriver version doesn't support early Firefox versions. 3. In order to have smooth test execution, you need to have latest Firefox on your machine. We can change default browser to chrome which is less problematic. But user will have to copy chrome-web-driver to predefined location as it is required by the selenium. The server expects you to have Chrome installed in the default location for each system [1] *OS* *Expected Location of Chrome* Linux /usr/bin/google-chrome Mac /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome Windows XP %HOMEPATH%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe Windows Vista C:\Users\%USERNAME%\AppData\Local\Google\Chrome\Application\chrome.exe Possible solutions - 1. Configure UI tests to run on bamboo machine only. So once you do local product builds, UI tests will be ignored. 2. Document prerequisite and ask everyone to update their browser version before initializing product builds. 3. Set default browser to Chrome and ask users to copy Chrome driver to the standard location. 4. Provide an option to run tests on their favorite browser (Yes obviously only on Selenium supported browsers) Your feedback and suggestions are welcome. Thanks, Krishantha. [1]http://code.google.com/p/selenium/wiki/ChromeDriver
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
