If you own a Mac and want to get started with Selenium for Automated Testing of your web apps, then you’re already most of the way there. The Mac operating system already offers a number of baked in solutions and command line tools like Python, Ruby and Java.
June 2020 - this article is out of date - checkout my newer posts on Automated Testing
Get started with Selenium IDE and Firefox
Selenium IDE is a browser extension for Firefox Web Application & Automated Testing – Firefox & Selenium IDE"). It’s useful to use this to create test cases so install this first.
Download & Install Selenium Java Server
Now you just have to get the selenium standalone java server so type
mkdir selenium cd selenium/ wget http://selenium.googlecode.com/files/selenium-server-standalone-2.24.1.jar
(or check the project page for the https://code.google.com/p/selenium/downloads/list latest Selenium Standalone Server
Start the Selenium Standalone Java Server
While you’re in Terminal open a new shell / terminal window and type
cd selenium/ java -jar selenium-server-standalone-2.24.1.jar
You’ll see some verbose scripting about the server starting and you can visit this URL to check the server status
Stop the Selenium Server
Copy and visit this URL in your browser
What have I said about Selenium?
- Basics of automated testing with Selenium IDE for Hugo
- Run your first Automated Test for Hugo with Selenium, Python and Chrome
- How to get started testing with Selenium Geckodriver and Python for Mac
- How to get started testing with Selenium Chromedriver and Python for Mac
- Continuous Integration for WordPress Jenkins Selenium Apache Ant
- 1 minute video - Isotope Visual Layouts WordPress plugin
- Can I get at WordPress code from inside a Selenium test?
- How to install Chromedriver for Mac OS X / Selenium / Python
- Get started with Selenium 2 for Mac OS X / Java
- How to install Selenium 2 for Mac OS X / Python
- Web Application Automated Testing - Firefox Selenium IDE
Read more from my blog for an introduction and quick tips on developing in Hugo or UCTD.