SlideShare a Scribd company logo
Selenium IDE Overview

www.mindqonline.com
Selenium Overview
Selenium IDE Introduction

www.mindqonline.com

2
What is Test Automation?


A process of writing a computer program to do
testing that would otherwise need to be done
manually



Use of software to control the execution of tests



Two types of test automation:
Code-driven testing
Graphical user interface testing
www.mindqonline.com

3
Advantages of Automation
Tests perform precisely the same operations each time
they are run, thereby eliminating human error.
 Repeatable: You can test how the software reacts under
repeated execution of the same operations.
 Reusable :You can reuse tests on different versions of an
application, even if the user interface changes.
 SPEED :Run tests significantly faster than human users.
 Cost Reduction :As the number of resources for
regression test are reduced.
 Better Quality software:Rapid feedback to developers
during the development process as a result of frequent
regression testing.


www.mindqonline.com

4
Disadvantages of Automation
Proficiency is required to write the automation test
script.
 Debugging the test script is major issue. If any error is
present in the test script, sometimes it may lead to dadly
consequences.
 Test maintenance is costly in case of playback methods.
Even though a minor changes occurs in the GUI, the test
script has to be rewritten.
 Maintenance of test data files is difficult, if the test script
tests more screens or web-pages.
 Short iteration or very tight deadline, there is not enough
time to build test automation.


www.mindqonline.com
What is Selenium?
A set of tools that supports rapid development of test
automation for web-based applications.


Can be recorded and written as HTML



Support for a number of programming languages: Java,
C#, Perl, PHP, Python, Ruby



Cross browsers support: IE, Firefox, Opera, Safari and
Google Chrome



Cross platform support: Windows, Linux, and Macintosh.
www.mindqonline.com

6
Selenium Components
 Selenium

IDE

 Selenium

RC

< < Selenium Core

 Selenium

Grid
 Selenium2 aka
Webdriver

www.mindqonline.com

7
Selenium IDE


Selenium IDE (SIDE) is a complete Integrated
Development Environment (IDE) for building Selenium
test case.



Firefox add-on that makes it easy to record, edit, and
debug tests.



Provides an easy-to-use interface for developing and
running individual test cases or entire test suites.



Can be used to generate code to run the tests with
Selenium Remote Control (RC).
www.mindqonline.com

8
Selenium IDE Features


Record, playback, edit



Intelligent component identification will use object IDs,
names, or XPath as needed



Auto complete for all common Selenium commands



Walk through test cases and test suites.



Debug and set breakpoints



Save tests as HTML, or export as other supported
programming languages



Support for Selenium user extensions
www.mindqonline.com

9
Installing Selenium IDE

10
Installing Selenium IDE


Two step process:

 Step

1. Check if Firefox is installed
1a. If Firefox is not installed on your machine then

Install Firefox



(There is NO IE Version of Selenium)

Step 2. Check if Selenium IDE is installed)
2a. If Selenium IDE is not installed on your
machine then Install Selenium IDE Plug In

www.mindqonline.com

11
Is Firefox Installed?



Check whether your machine already has a version of
Firefox installed.
Go to Start  Programs  Mozilla Firefox

www.mindqonline.com

12
Check Firefox Version


Click on the Mozilla Firefox



Go to Help  About as shown below:



Check the version name



What is your version?
Must be Firefox
version 3.6.x.x not
4.0.x.x

www.mindqonline.com

13
Firefox Installation
Open your IE browser (or any other browser)
 Navigate to Firefox 3.6 download link.
 Mozilla website will not have
Firefox 3.6 download link.


The most current browser version will be presented.
(FF 4.0)

www.mindqonline.com

14
Firefox Installation

www.mindqonline.com

15
Firefox Installation
Follow the steps and run the program
 (Saving into local machine then running is
recommended)





If prompted with Security warning, press “Run” button
Save into your local machine.
(C:Downloads)
Run (double click Firefox Setup 3.6)
from the location where you
downloaded
Ignore Security warning and press
“Run” button

www.mindqonline.com

16
Firefox Installation
Press Next


Check the “I Accept” then Press Next



Select Standard, Remove check from “Use Firefox as my
default browser”



Press Install button



Press Finish button

www.mindqonline.com

17
Is Selenium IDE Installed?


Open the Firefox browser window



Go to Tools  Check whether Selenium IDE already exist
there



If you see “Selenium IDE” then you already having
Selenium IDE plug-in installed in Firefox browser.



If not installed then follow the instruction on the next
slide
Check whether
Selenium IDE is
already installed
www.mindqonline.com

18
Installing Selenium IDE
When the Software Installation
Window opens select “selenium-ide”
(*1)
Click Install Now button
“Selenium IDE” add-on is installed
(*2)
Click on “Restart Firefox” button

www.mindqonline.com
Installing Selenium IDE
In the Firefox browser go to Tools and
verify whether “Selenium IDE” is
displayed.
Selenium IDE installation is completed.

www.mindqonline.com
Recording and Running
Selenium Tests

www.mindqonline.com

21
Test Case : Login
Test-Case Objective:

Steps :

Ensure Valid User Login

Expected Result:
1.

2.

That Particular index
page is loaded
Correct username is
displayed as part of the
greeting.
“Welcome”

1. In the login textbox
type “lname”.
2. In the password
textbox type
“password”.
3. Click “Submit” button
4. Verify that a correct
user name is displayed
5. Log out

www.mindqonline.com

22
Test Script : Login
Test Script Steps:

Login using :
Login Name: lname
Password: password
Click Login button
Highlight “Welcome Admin” text
Right-click and select VerifyTextPresent
Click logout link

www.mindqonline.com

23
Login Test
Make sure Record button is ON!
Go to the Browser window
Login using :
Login Name:lname
Password: password
Click Login button

The Record button is ON
by default

Login Name: lname
Password: password
Then click Login button
www.mindqonline.com

24
Login Test
Highlight “Welcome Admin” text
Right-click and select VerifyTextPresent
Click logout link

www.mindqonline.com

25
Stop Recording
Go to Selenium IDE
Click the red button to STOP recording
All your actions are recorded and displayed sequentially
under Command Table Tab

Click here to Stop
recording

www.mindqonline.com

26
What did we accomplish?
Test-Case Objective
Ensure Valid User Login

Steps






In the login textbox type admin.
In the password textbox type
password.
Click Submit button
Verify that a correct user name is
displayed
Logout

www.mindqonline.com

27
Running Selenium Automated Test
Make sure the Firefox browser is still open
Go to Selenium IDE and click “Play current test case”

button

www.mindqonline.com

28
Debugging
Examine the result of the script.
What went
wrong?

Time is needed to validate the login information…
The test must WAIT for the next web page to load
before proceeding.
www.mindqonline.com

29
Debugging Tips
Open Selenium IDE through Tools menu,
otherwise the IDE may freeze and act
unpredictably.

Make sure you substitute click command with
clickAndWait command wherever needed.

www.mindqonline.com

30
Editing
Editing to add wait time to the script


Click the 3rd to last row where ClickA command is
located



Modify the command field
 Replace “click” with “clickAndWait” command



Re-play the test…

www.mindqonline.com

31
Note:
One Firefox browser window must be open.
Multiple browser windows will confuse Selenium.
Play back every automated test to ensure expected
behavior.

Keep playback in slow mode when debugging.
Placing Browser window and Selenium IDE windows
side by side is a convenient way of tracking test

execution step by step.
32

More Related Content

What's hot

Mobile Testing with Selenium 2 by Jason Huggins
Mobile Testing with Selenium 2 by Jason HugginsMobile Testing with Selenium 2 by Jason Huggins
Mobile Testing with Selenium 2 by Jason Huggins
Sauce Labs
 
Selenium
SeleniumSelenium
Selenium
nil65
 
Selenium Ide Tutorials
Selenium Ide TutorialsSelenium Ide Tutorials
Selenium Ide Tutorials
gueste1e4db
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
prad_123
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
Anuradha Malalasena
 
Selenium training in chennai
Selenium training in chennaiSelenium training in chennai
Selenium training in chennai
Thecreating Experts
 
Introduction to Selenium IDE
Introduction to Selenium IDEIntroduction to Selenium IDE
Introduction to Selenium IDE
drnikki
 
Automation Testing on Selenium by Quontra Solutions
Automation Testing on Selenium by Quontra SolutionsAutomation Testing on Selenium by Quontra Solutions
Automation Testing on Selenium by Quontra Solutions
QUONTRASOLUTIONS
 
Selenium IDE and Extensions
Selenium IDE and ExtensionsSelenium IDE and Extensions
Selenium IDE and Extensions
Yana Altunyan
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
P.V.G'S COET, PUNE - 09
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
Shobika Ramasubbarayalu
 
Selenium Overview
Selenium OverviewSelenium Overview
Selenium Overview
Abhijeet Vaikar
 
How to configure Appium with android IDE & eclipse
How to configure Appium with android IDE & eclipseHow to configure Appium with android IDE & eclipse
How to configure Appium with android IDE & eclipse
Haitham Refaat
 
Get Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 GridGet Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 Grid
Daniel Herken
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
Anuraj S.L
 
Selenium Webdriver
Selenium WebdriverSelenium Webdriver
Selenium Webdriver
Muhammad Bilal
 
Test automation using selenium presented by Quontra Solutions
Test automation using selenium presented by Quontra SolutionsTest automation using selenium presented by Quontra Solutions
Test automation using selenium presented by Quontra Solutions
QUONTRASOLUTIONS
 

What's hot (20)

Mobile Testing with Selenium 2 by Jason Huggins
Mobile Testing with Selenium 2 by Jason HugginsMobile Testing with Selenium 2 by Jason Huggins
Mobile Testing with Selenium 2 by Jason Huggins
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Ide Tutorials
Selenium Ide TutorialsSelenium Ide Tutorials
Selenium Ide Tutorials
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
 
Selenium training in chennai
Selenium training in chennaiSelenium training in chennai
Selenium training in chennai
 
Introduction to Selenium IDE
Introduction to Selenium IDEIntroduction to Selenium IDE
Introduction to Selenium IDE
 
Automation Testing on Selenium by Quontra Solutions
Automation Testing on Selenium by Quontra SolutionsAutomation Testing on Selenium by Quontra Solutions
Automation Testing on Selenium by Quontra Solutions
 
Selenium IDE and Extensions
Selenium IDE and ExtensionsSelenium IDE and Extensions
Selenium IDE and Extensions
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
 
Selenium Overview
Selenium OverviewSelenium Overview
Selenium Overview
 
How to configure Appium with android IDE & eclipse
How to configure Appium with android IDE & eclipseHow to configure Appium with android IDE & eclipse
How to configure Appium with android IDE & eclipse
 
Get Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 GridGet Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 Grid
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 
Selenium Webdriver
Selenium WebdriverSelenium Webdriver
Selenium Webdriver
 
Test automation using selenium presented by Quontra Solutions
Test automation using selenium presented by Quontra SolutionsTest automation using selenium presented by Quontra Solutions
Test automation using selenium presented by Quontra Solutions
 

Similar to Selenium ide1

Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Aravindharamanan S
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
Wael Mansour
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
Pravin Mishra
 
Selenium ide material (1)
Selenium ide material (1)Selenium ide material (1)
Selenium ide material (1)
Sriram Angajala
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
Zeba Tahseen
 
Selenium
SeleniumSelenium
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
mahirayavarapu
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
shreyas JC
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
jayeshvaghelaqa
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
Rohit Thakur
 
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Anna Russo
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
b4usolution .
 
Different Techniques Of Debugging Selenium Based Test Scripts.pdf
Different Techniques Of Debugging Selenium Based Test Scripts.pdfDifferent Techniques Of Debugging Selenium Based Test Scripts.pdf
Different Techniques Of Debugging Selenium Based Test Scripts.pdf
pCloudy
 
Selenium introduction and some feautures
Selenium introduction and some feauturesSelenium introduction and some feautures
Selenium introduction and some feautures
zahid32
 
Selenium Installation
Selenium InstallationSelenium Installation
Selenium Installation
Sachin-QA
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presented
Vijayan Reddy
 
Selenium training
Selenium trainingSelenium training
Selenium training
Robin0590
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
Sarah Elson
 
Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and Working
Disha Srivastava
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Aneesh Rangarajan
 

Similar to Selenium ide1 (20)

Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
 
Selenium ide material (1)
Selenium ide material (1)Selenium ide material (1)
Selenium ide material (1)
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
Selenium
SeleniumSelenium
Selenium
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
 
Different Techniques Of Debugging Selenium Based Test Scripts.pdf
Different Techniques Of Debugging Selenium Based Test Scripts.pdfDifferent Techniques Of Debugging Selenium Based Test Scripts.pdf
Different Techniques Of Debugging Selenium Based Test Scripts.pdf
 
Selenium introduction and some feautures
Selenium introduction and some feauturesSelenium introduction and some feautures
Selenium introduction and some feautures
 
Selenium Installation
Selenium InstallationSelenium Installation
Selenium Installation
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presented
 
Selenium training
Selenium trainingSelenium training
Selenium training
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
 
Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and Working
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 

Recently uploaded

Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 

Recently uploaded (20)

Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 

Selenium ide1

  • 2. Selenium Overview Selenium IDE Introduction www.mindqonline.com 2
  • 3. What is Test Automation?  A process of writing a computer program to do testing that would otherwise need to be done manually  Use of software to control the execution of tests  Two types of test automation: Code-driven testing Graphical user interface testing www.mindqonline.com 3
  • 4. Advantages of Automation Tests perform precisely the same operations each time they are run, thereby eliminating human error.  Repeatable: You can test how the software reacts under repeated execution of the same operations.  Reusable :You can reuse tests on different versions of an application, even if the user interface changes.  SPEED :Run tests significantly faster than human users.  Cost Reduction :As the number of resources for regression test are reduced.  Better Quality software:Rapid feedback to developers during the development process as a result of frequent regression testing.  www.mindqonline.com 4
  • 5. Disadvantages of Automation Proficiency is required to write the automation test script.  Debugging the test script is major issue. If any error is present in the test script, sometimes it may lead to dadly consequences.  Test maintenance is costly in case of playback methods. Even though a minor changes occurs in the GUI, the test script has to be rewritten.  Maintenance of test data files is difficult, if the test script tests more screens or web-pages.  Short iteration or very tight deadline, there is not enough time to build test automation.  www.mindqonline.com
  • 6. What is Selenium? A set of tools that supports rapid development of test automation for web-based applications.  Can be recorded and written as HTML  Support for a number of programming languages: Java, C#, Perl, PHP, Python, Ruby  Cross browsers support: IE, Firefox, Opera, Safari and Google Chrome  Cross platform support: Windows, Linux, and Macintosh. www.mindqonline.com 6
  • 7. Selenium Components  Selenium IDE  Selenium RC < < Selenium Core  Selenium Grid  Selenium2 aka Webdriver www.mindqonline.com 7
  • 8. Selenium IDE  Selenium IDE (SIDE) is a complete Integrated Development Environment (IDE) for building Selenium test case.  Firefox add-on that makes it easy to record, edit, and debug tests.  Provides an easy-to-use interface for developing and running individual test cases or entire test suites.  Can be used to generate code to run the tests with Selenium Remote Control (RC). www.mindqonline.com 8
  • 9. Selenium IDE Features  Record, playback, edit  Intelligent component identification will use object IDs, names, or XPath as needed  Auto complete for all common Selenium commands  Walk through test cases and test suites.  Debug and set breakpoints  Save tests as HTML, or export as other supported programming languages  Support for Selenium user extensions www.mindqonline.com 9
  • 11. Installing Selenium IDE  Two step process:  Step 1. Check if Firefox is installed 1a. If Firefox is not installed on your machine then Install Firefox   (There is NO IE Version of Selenium) Step 2. Check if Selenium IDE is installed) 2a. If Selenium IDE is not installed on your machine then Install Selenium IDE Plug In www.mindqonline.com 11
  • 12. Is Firefox Installed?   Check whether your machine already has a version of Firefox installed. Go to Start  Programs  Mozilla Firefox www.mindqonline.com 12
  • 13. Check Firefox Version  Click on the Mozilla Firefox  Go to Help  About as shown below:  Check the version name  What is your version? Must be Firefox version 3.6.x.x not 4.0.x.x www.mindqonline.com 13
  • 14. Firefox Installation Open your IE browser (or any other browser)  Navigate to Firefox 3.6 download link.  Mozilla website will not have Firefox 3.6 download link.  The most current browser version will be presented. (FF 4.0) www.mindqonline.com 14
  • 16. Firefox Installation Follow the steps and run the program  (Saving into local machine then running is recommended)   If prompted with Security warning, press “Run” button Save into your local machine. (C:Downloads) Run (double click Firefox Setup 3.6) from the location where you downloaded Ignore Security warning and press “Run” button www.mindqonline.com 16
  • 17. Firefox Installation Press Next  Check the “I Accept” then Press Next  Select Standard, Remove check from “Use Firefox as my default browser”  Press Install button  Press Finish button www.mindqonline.com 17
  • 18. Is Selenium IDE Installed?  Open the Firefox browser window  Go to Tools  Check whether Selenium IDE already exist there  If you see “Selenium IDE” then you already having Selenium IDE plug-in installed in Firefox browser.  If not installed then follow the instruction on the next slide Check whether Selenium IDE is already installed www.mindqonline.com 18
  • 19. Installing Selenium IDE When the Software Installation Window opens select “selenium-ide” (*1) Click Install Now button “Selenium IDE” add-on is installed (*2) Click on “Restart Firefox” button www.mindqonline.com
  • 20. Installing Selenium IDE In the Firefox browser go to Tools and verify whether “Selenium IDE” is displayed. Selenium IDE installation is completed. www.mindqonline.com
  • 21. Recording and Running Selenium Tests www.mindqonline.com 21
  • 22. Test Case : Login Test-Case Objective: Steps : Ensure Valid User Login Expected Result: 1. 2. That Particular index page is loaded Correct username is displayed as part of the greeting. “Welcome” 1. In the login textbox type “lname”. 2. In the password textbox type “password”. 3. Click “Submit” button 4. Verify that a correct user name is displayed 5. Log out www.mindqonline.com 22
  • 23. Test Script : Login Test Script Steps: Login using : Login Name: lname Password: password Click Login button Highlight “Welcome Admin” text Right-click and select VerifyTextPresent Click logout link www.mindqonline.com 23
  • 24. Login Test Make sure Record button is ON! Go to the Browser window Login using : Login Name:lname Password: password Click Login button The Record button is ON by default Login Name: lname Password: password Then click Login button www.mindqonline.com 24
  • 25. Login Test Highlight “Welcome Admin” text Right-click and select VerifyTextPresent Click logout link www.mindqonline.com 25
  • 26. Stop Recording Go to Selenium IDE Click the red button to STOP recording All your actions are recorded and displayed sequentially under Command Table Tab Click here to Stop recording www.mindqonline.com 26
  • 27. What did we accomplish? Test-Case Objective Ensure Valid User Login Steps      In the login textbox type admin. In the password textbox type password. Click Submit button Verify that a correct user name is displayed Logout www.mindqonline.com 27
  • 28. Running Selenium Automated Test Make sure the Firefox browser is still open Go to Selenium IDE and click “Play current test case” button www.mindqonline.com 28
  • 29. Debugging Examine the result of the script. What went wrong? Time is needed to validate the login information… The test must WAIT for the next web page to load before proceeding. www.mindqonline.com 29
  • 30. Debugging Tips Open Selenium IDE through Tools menu, otherwise the IDE may freeze and act unpredictably. Make sure you substitute click command with clickAndWait command wherever needed. www.mindqonline.com 30
  • 31. Editing Editing to add wait time to the script  Click the 3rd to last row where ClickA command is located  Modify the command field  Replace “click” with “clickAndWait” command  Re-play the test… www.mindqonline.com 31
  • 32. Note: One Firefox browser window must be open. Multiple browser windows will confuse Selenium. Play back every automated test to ensure expected behavior. Keep playback in slow mode when debugging. Placing Browser window and Selenium IDE windows side by side is a convenient way of tracking test execution step by step. 32