Monday, January 19, 2015

Selenium: Class 1006 - Kapil Sharma

Selenium and IDE Overview:

Selenium is a portable software testing framework for web
applications. Selenium provides a record/playback tool for authoring
tests without learning a test scripting language (Selenium-IDE). 

It also provides a test domain-specific language (Selenese) to write
tests in a number of popular programming languages, including Java,
C#, Groovy, Perl, PHP, Python and Ruby.

The tests can then be run against most modern web browsers. 
Selenium deploys on Windows, Linux, and Macintosh platforms. 
It is open-source software, released under the Apache 2.0 license, and
can be downloaded and used without charge.

Selenium was originally developed by Jason Huggins in 2004 as an
internal tool at ThoughtWorks. 

Huggins was later joined by other programmers and testers
at ThoughtWorks, before Paul Hammant joined the team and steered
the development of the second mode of operation that would later

become 'Selenium Remote Control' (RC).

Installing Selenium IDE:

Selenium IDE is a complete integrated development environment (IDE) for 
Selenium tests. It is implemented as a Firefox Add-On, and allows recording, 
editing, and debugging tests.




Running a Simple Test:

First open the selenium-IDE on Firefox browser than click on “File –
New Test Case - A new Untitled case created - Right click on that TC" 
and select its ‘Properties’ and rename it according to your
requirements.

Under File option enters the ‘URL’ addresses of web page whose UI
testing user wants to do. And click on start (red dot) this is start and

stop function of selenium. And TC executed save the TC in xyz.html.


Quick Tour of Selenium IDE - Simple Features:

Command, Target and Value are the main feature of the selenium IDE.

Selenium Commands Overview: