Selenium IDE

Selenium IDE (Integrated Development Environment)

I) Selenium IDE Introduction:
 

> It is a Test Tool, used to educate Selenium Test Cases.

> It is Firefox plug in, industrial plant entirely on Firefox Browser.

> It provides Graphical user interface for Recording user actions using Firefox Browser.

> Firebug Add on is used to inspect elements.

> Selenium IDE should entirely move used equally a prototyping tool.

We can't educate complex Test cases using Selenium IDE.

> Test Step inwards Selenium IDE Test Case

Command + Target + value

Command - forms the functionality of the Test step

Target - Identifies the Element on the spider web page.

Value - Input information (This applicable entirely for few commands)

Example:

Type     id=Email     abcd123
----------------------------------------
II) Selenium IDE Installation:
> using Firefox browser, download selenium IDE from the Seleniumhq.org website.

> Firefox volition protect y'all from installing add together ons from unfamiliar locations, hence we  volition postulate to click "Allow" to proceed alongside the installation.

> Install multiple items to back upwards Java, Ruby, Python etc... formats.

> Restart Firefox browser.

> After Firefox reboots hence nosotros tin utilization Selenium IDE.
----------------------------------------------------
III) Selenium IDE Features
1) File Menu:
> File bill of fare has options for Test Case together with Test Suite

> Using this bill of fare nosotros can

Create a novel Test case,

Open a Test Case,

Save a Test Case,

Export Test instance inwards a Language of our choice.

All these options are also available for Test suite.

> closed Selenium IDE

Selenium Test instance format is html
------------------------------------------------------
2) Edit menu:
The Edit bill of fare allows copy, cut, paste, delete, undo, together with pick out all operations for editing the commands inwards our examine case.

3) Actions menu:
It has options for Record together with Run Test case, Run Test suite, Insert/Remove Breakpoints, pause/resume Test instance execution.

4) Options Menu:
Option bill of fare allows the changing of settings, nosotros tin prepare timeout value etc...

5) Help menu:
It provides attention documentation for Selenium IDE.
--------------------------------------------------------
Test Case Pane:
Our Test script is displayed inwards the Test Case pane,
It has 2 tabs,

i) Table format
Displays Command together with parameters

ii) Source format
Displays the examine instance inwards the native format (HTML)
---------------------------------------
IV) Create Test Cases
In 2 ways nosotros tin exercise Test cases inwards Selenium IDE:

i) By Recording our actions on AUT

ii) By Typing steps using Selenium IDE commands (Selenese commands) together with Element locators
---------------------
Test Recording:
> During Test recording Selenium IDE generates steps for user actions on AUT.

> It generates normal steps together with Verification points

> User tin edit recorded Test cases

Selenium TDE Test pace consists of Command, Element locator together with Value (Input)
Value is entirely for around commands

Syntax:

Command    Target        value

Example:
type    id=Email    abcd123   
----------------------------------------
> No centralized maintenance of Elements (Objects) inwards Selenium IDE.

> Selenium IDE examine instance format is .html
------------------------------------------------------
Using Breakpoints together with pace command nosotros tin execute Selenium IDE examine instance pace past times step.

We tin add together Comments
---------------------------
When an "assert" command fails hence examine execution volition move aborted.

When a "verify" command fails hence examine volition proceed execution together with logging the failure.

----------------------------------------------
V) Drawbacks of Selenium IDE

> No centralized maintenance of Elements (Objects)

> It doesn't back upwards Flow command statements for enhancing Test Cases.

>  It supports entirely Firefox Browser.

> No random Test instance execution.

Sumber http://www.gcreddy.com/
Post a Comment (0)
Previous Post Next Post