Selenium is a Test Automation tool used for automating Web Applications testing. Before starting to learn this tool, I strongly recommend downloading any of the Open Source web application from sourceforge.net. I will be using Sugar CRM for demonstration purposes. I have chosen this application mainly because this has a free edition. We can just download the community edition and start using it.
You can download Sugar CRM from the following location: Sugar CRM Community Edition – Open Source
But this web application requires a web server (Apache), PHP, and a database (MySQL/SQL server). Either we can download them individually and configure them to run the SugarCRM or we can download the Stack Installers for Sugar Community Edition
I suggest installing FastStack Windows Installer for MySQL. This will install Apache, MySQL, and PHP and configures the SugarCRM and we can directly access the application from browser.
Installation of SugarCRM community edition:
- Download the SugarCRM Community edition
- Double Click the installer
- Click next and just provide credentials for MySQL and initial login into SugarCRM.
Access the application using the URL – http://127.0.0.1/sugarcrm/index.php?action=Login&module=Users&login_module=Home&login_action=index
Login with default username – admin and password which you have given during installation.
Now, we need to download Selenium and this can be downloaded from Seleniumhq.org. If you are new to Selenium, you may wonder which of the application in “Downloads” section needs to be downloaded. Don’t bother, initially just download Selenium IDE and Selenium RC. I will explain both of these in detail in the subsequent posts.
Selenium IDE is an extension to Mozilla Firefox. When you download this it will get installed on the Mozilla as an Add-On.
To start accessing Selenium IDE:
1. Open a new Firefox browser
2. Click on tools
3. Click on Selenium IDE
You are done!!
Now we can start automating the tests with Selenium IDE.