Selenium IDE

11
SELENIUM IDE Creation of automated test- cases. Created by: David Mikaelyan Reviewed by: Vladimir Soghoyan Ogma Applications

description

SELENIUM IDE Creation of automated test-cases Selenium IDE Creation of Automated Test-Cases. Creation of Automated Test-Suites. Using Extensions. ---------------------------------------------------------- Created by: David Mikaelyan Reviewed by: Vladimir Soghoyan Ogma Applications

Transcript of Selenium IDE

Page 1: Selenium IDE

SELENIUM IDECreation of automated test-cases.

Created by: David MikaelyanReviewed by: Vladimir SoghoyanOgma Applications

Page 2: Selenium IDE

2

Selenium IDE Creation of Automated Test-Cases. Creation of Automated Test-Suites. Using Extensions.

10/22/2012Ogma Applications

Overview

Page 3: Selenium IDE

Ogma Applications 3

Selenium IDE is a Firefox extension that allows you to record, edit, and debug tests for HTML

Easy record and playback Intelligent field selection Auto complete for all common commands Walkthrough tests

10/22/2012

Selenium IDE

Page 4: Selenium IDE

Ogma Applications 4

Selenium saves all information in an HTML table formatCommand – Tells Selenium what to do using

actions or assertionsTarget – Tells Selenium which HTML element a

command refers toValue – Used for any command that might need

a value of some kind

10/22/2012

Selenium IDE

Page 5: Selenium IDE

Ogma Applications 5 10/22/2012

Selenium IDE

Page 6: Selenium IDE

Ogma Applications 6

Creation of Automated Test-Case

For creating new test-case press File->New Test Case.

10/22/2012

Page 7: Selenium IDE

Ogma Applications 7

Creation of Automated Test-Case

10/22/2012

After opening of a new document selenium starts to record all user’s actions. If it is required user can add necessary commands of the Selenium.

Page 8: Selenium IDE

Ogma Applications 8

Creation of Automated Test-Suite

10/22/2012

For creating test-suite press File->Add Test Case. Choose necessary cases

and press test-suite running button.

Page 9: Selenium IDE

Ogma Applications 9

User extensions are JavaScript files that allow one to create his or her own customizations and features to add additional functionality. Often this is in the form of customized commands although this extensibility is not limited to additional commands.

10/22/2012

Extensions

Page 10: Selenium IDE

Ogma Applications 10

Adding User Extensions In The Selenium IDE

9/18/2012

For adding extensions click Options->Options. It is possible to add several extensions simultaneously separated by comma.

Page 11: Selenium IDE

Ogma Applications 11

User Extensions (example)

10/22/2012

This example generate random string. For example it is used for creating automated test-cases for registration.