Selenium Tutorials and Materials

Wednesday, 21 October 2015


What you need
·         Mozilla Firefox
·         Active Internet Connection

If you do not have Mozilla Firefox yet, you can download it from http://www.mozilla.org/en-US/firefox/new.

Steps
Launch Firefox and navigate to http://seleniumhq.org/download/. Under the Selenium IDE section, click on the link that shows the current version number.

For security, a Firefox notification will pop up. Click on "Allow."

Wait until Firefox completes the download and then click "Install Now."

Wait until the installation is completed. In the pop-up window, click "Restart Now."


After Firefox has restarted, launch Selenium IDE using either of two ways:
·         By pressing Ctrl+Alt+S
·         By clicking on the Firefox menu button > Web Developer>  Selenium IDE

Selenium IDE should launch as shown below

Installation of Firebug
Firebug is a Firefox add-on that we will use to inspect the HTML elements of the web application under test. It will provide us the name of the element that our Selenese command would act upon.
Step 1
Use Firefox to navigate to Firebug's download page (https://getfirebug.com/downloads/) and click on the download link.

Step 2
Firefox will take you to its Firebug download section. Click the "Add to Firefox" button.

Step 3
Wait for Firefox to complete downloading this add-on. On the dialog box that comes after, click "Install Now."

Step 4
Wait for the installation to complete. A notification will pop-up saying, "Firebug has been installed successfully." You can immediately close this pop-up.

Note: In case if you do not see above pop-up, no worries! This pop-up appears for a few seconds and disappears.
You do not need to restart Firefox after installing Firebug.
Step 5
Launch Firebug by doing either of these two methods:
·         Press F12
·         Click on the Firebug button on the upper right corner of the Firefox window.

Step 6
Firebug should launch at the bottom of Firefox as shown below


Plugins
Selenium IDE can support additional Firefox add-ons or plugins created by other users. a list of Selenium add-ons available to date. Install them just as you do with other Firefox add-ons.
By default, Selenium IDE comes bundled with 4 plugins:
1.    Selenium IDE: C# Formatters
2.    Selenium IDE: Java Formatters
3.    Selenium IDE: Python Formatters
4.    Selenium IDE: Ruby Formatters
These four plugins are required by Selenium IDE to convert Selenese into different formats.
The Plugins tab shows a list of all your installed add-ons, together with the version number and name of the creator of each.


User Extensions
Selenium IDE can support user extensions to provide advanced capabilities. User extensions are in the form ofJavaScript files. You install them by specifying their absolute path in either of these two fields in the Options dialog box.
·         Selenium Core extensions (user-extensions.js)
·         Selenium IDE extensions




Categories:


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque volutpat volutpat nibh nec posuere. Donec auctor arcut pretium consequat. Contact me 123@abc.com

3 comments: