Selenium IDE
-
Upload
vladimir-soghoyan -
Category
Technology
-
view
644 -
download
3
description
Transcript of Selenium IDE
SELENIUM IDECreation of automated test-cases.
Created by: David MikaelyanReviewed by: Vladimir SoghoyanOgma Applications
2
Selenium IDE Creation of Automated Test-Cases. Creation of Automated Test-Suites. Using Extensions.
10/22/2012Ogma Applications
Overview
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
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
Ogma Applications 5 10/22/2012
Selenium IDE
Ogma Applications 6
Creation of Automated Test-Case
For creating new test-case press File->New Test Case.
10/22/2012
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.
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.
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
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.
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.