SlideShare a Scribd company logo
What is Automation TestingWhat is Automation Testing
Automation testing use software or automation tool to create and
execute test script which is written in scripting language for example java
script.
Automation testing Benefits :
 Automation tool save time when regression and Smoke test required.
 Automation tool run test case faster than human users.
 Automation tool help to address the load, stress and performance of
the product.
 Automation tool improve software quality.
 Automation tool required less time and fewer resources .
Automation ToolsAutomation Tools
There are lot of testing tools available in the market and each tool is
capable of doing specific testing such as functional and non functional
testing. The automation tools that are widely used in functional and non
functional testing.
Functional Testing tools
1)Quick Test Professional (Required licenses)
2)Selenium (Web Driver, Selenium RC) (Open Source)
Non Functional Tools
1) HP Loader( Required licenses)
2) Apache Jmeter (Open Source)
Selenium –Functional Testing ToolSelenium –Functional Testing Tool
Selenium is a functional testing tool that automates web and mobile
application with the help of web browsers like (Mozilla Firefox, Chrome,
Internet explorer, Opera and Safari).
It is open source tool (freely available in Internet market) and support many
language like HTML, Java/Script , Ruby, Python, C# etc.
Selenium provide record and play back feature and user can convert recorded
script in any language.
Component Used to Generate Manual Test ScriptComponent Used to Generate Manual Test Script
1.Selenium IDE is a Firefox add-on that provide record and
playback feature and you can export or convert the recorded script in
any languages like HTML, Java, .NET, Perl, Ruby and python You can run
and customize script in the eclipse by adding Selenium web driver.
2.Selenium Web Driver2.Selenium Web Driver is Application programming interface
and collection of libraries. Using selenium web driver we can customize
or edit script with the help of Eclipse frame-work .Each scripting
language use specific web driver to generate and customize script for
example C# language use Selenium .NET web driver and Visual studio
framework to run and customize the script.
3.Eclipse is an integrated development environment (IDE) is used to
develop test script. Eclipse framework support many languages like
Java, Java script, Ruby, Python, C, C+, PL/SQL, Vb.net script.
Steps to Add Selenium IDE Plug-in
Step 1: Open seleniumhq.org website in Mozilla Firefox ,Click on download tab
and Click Version 2.6.0 link to install plug-in.
Selenium ask you to install following items
Restart Mozilla Firefox Web Browser
Verify all language formatter Installed Properly
Click on Tool menu – Add-on
Open website in Mozilla Firefox
Open Mozilla Firefox enter web site URL in the URL Box of Mozilla
Steps to Record Test Script Using Selenium IDESteps to Record Test Script Using Selenium IDE
Step 1: Click on tools menu then click Selenium IDE option a pop will appear
as given below
Step:3: Enter base URL and minimize selenium IDE Pop
Visit Website to Record ScriptVisit Website to Record Script
Maximize Sel. IDE Pop Up & Stop RecordingMaximize Sel. IDE Pop Up & Stop Recording
Execution
Commands
Stop
Recording
Reference of the
currently selected
command
Change HTML Default Recording Mode To ScriptingChange HTML Default Recording Mode To Scripting
Click on option menu to select
scripting language option
Enable Scripting Language OptionEnable Scripting Language Option
You need to check
mark this option
Now Convert HTML to Java ScriptNow Convert HTML to Java Script
Click on web
driver
On Click J-Unit Web Driver a Pop Will AppearOn Click J-Unit Web Driver a Pop Will Appear
Click ok button
On Click Ok Button HTML Code Converted to Java ScriptOn Click Ok Button HTML Code Converted to Java Script
Copy this
Code
Open Eclipse to Run Java ScriptOpen Eclipse to Run Java Script
Steps: 1 Open adt (Eclipse) folder saved in your hard
disk.
Steps: 2 Click on Eclipse icon.
Steps: 3 Splash Screen will appear with Dialog box
To choose location to save your script
Steps:4 Click on Ok button eclipse will be open
Create Project in the EclipseCreate Project in the Eclipse
Steps Click on file menu . Click on new . Then click project
Give name to your projectGive name to your project
Steps : Give name to project then click next button
Define the Java Build SettingDefine the Java Build Setting
Add Selenium Web Driver to Click Library TabAdd Selenium Web Driver to Click Library Tab
Click on Add External JARS..Click on Add External JARS..
Verify Jars files will attached with Java BuildVerify Jars files will attached with Java Build
Open Project Explorer to See Java BuildOpen Project Explorer to See Java Build
Right Click On Project to Add Class fileRight Click On Project to Add Class file
Give Name To Class fileGive Name To Class file
Step 1:Give name to class file . Choose Method Click on Finish button
a class file will appear
Remove Code from class file and Past Sel. IDE ScriptRemove Code from class file and Past Sel. IDE Script
Edit and Run Recorded ScriptEdit and Run Recorded Script
Choose Launcher to Run ScriptChoose Launcher to Run Script
Save and Launch ResourceSave and Launch Resource
Output of Java ScriptOutput of Java Script
The EndThe End
Prepared byPrepared by
Rohit thakurRohit thakur

More Related Content

What's hot

Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
Srikanth Vuriti
 
Selenium IDE features
Selenium IDE featuresSelenium IDE features
Selenium IDE features
onewomanmore witl
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
Naresh Chintalcheru
 
Selenium (1)
Selenium (1)Selenium (1)
Selenium (1)
onlinemindq
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
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
 
Efficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE PluginsEfficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE Plugins
Samit Badle
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
Archana Krushnan
 
From IDE to Selenium 2
From IDE to Selenium 2From IDE to Selenium 2
From IDE to Selenium 2
davehunt82
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
Anuradha Malalasena
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
metapix
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Selenium
SeleniumSelenium
Selenium
Batch2016
 
Selenium topic 3 -Web Driver Basics
Selenium topic 3 -Web Driver BasicsSelenium topic 3 -Web Driver Basics
Selenium topic 3 -Web Driver Basics
ITProfessional Academy
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
Selenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaSelenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaRakesh Hansalia
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 

What's hot (20)

Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Selenium IDE features
Selenium IDE featuresSelenium IDE features
Selenium IDE features
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Selenium (1)
Selenium (1)Selenium (1)
Selenium (1)
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
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
 
Efficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE PluginsEfficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE Plugins
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
From IDE to Selenium 2
From IDE to Selenium 2From IDE to Selenium 2
From IDE to Selenium 2
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium topic 3 -Web Driver Basics
Selenium topic 3 -Web Driver BasicsSelenium topic 3 -Web Driver Basics
Selenium topic 3 -Web Driver Basics
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Selenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaSelenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansalia
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 

Viewers also liked

Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshopcoreyjack
 
Selenium WebDriver FAQ's
Selenium WebDriver FAQ'sSelenium WebDriver FAQ's
Selenium WebDriver FAQ's
Praveen Gorantla
 
Selenium Training
Selenium TrainingSelenium Training
Selenium Training
Colombo Selenium Meetup
 
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Sargis Sargsyan
 
Selenium IDE and Extensions
Selenium IDE and ExtensionsSelenium IDE and Extensions
Selenium IDE and ExtensionsYana Altunyan
 
Automated User Tests with Apache Flex
Automated User Tests with Apache FlexAutomated User Tests with Apache Flex
Automated User Tests with Apache Flex
Gert Poppe
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and Beyond
Samit Badle
 
Selenium
SeleniumSelenium
Selenium
BugRaptors
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
Nikolay Vasilev
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for selenium
apoorvams
 

Viewers also liked (12)

Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshop
 
Selenium WebDriver FAQ's
Selenium WebDriver FAQ'sSelenium WebDriver FAQ's
Selenium WebDriver FAQ's
 
Selenium Training
Selenium TrainingSelenium Training
Selenium Training
 
Selenium
SeleniumSelenium
Selenium
 
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
 
Selenium IDE and Extensions
Selenium IDE and ExtensionsSelenium IDE and Extensions
Selenium IDE and Extensions
 
Automated User Tests with Apache Flex
Automated User Tests with Apache FlexAutomated User Tests with Apache Flex
Automated User Tests with Apache Flex
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and Beyond
 
Selenium
SeleniumSelenium
Selenium
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for selenium
 

Similar to Steps to write Selenium

BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
Colin McDonald
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ide
Testertester Jaipur
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
mahirayavarapu
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
QUONTRASOLUTIONS
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
Selenium
SeleniumSelenium
Selenium
Kalyan ch
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
Thecreating Experts
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorialprad_123
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Aneesh Rangarajan
 
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
 
What is selenium
What is seleniumWhat is selenium
What is selenium
sachin patil
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
Jodie Miners
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)Siebel Open UI Debugging (Siebel Open UI Training, Part 7)
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)
Tech OneStop
 

Similar to Steps to write Selenium (20)

Selenium
SeleniumSelenium
Selenium
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ide
 
Selenium
SeleniumSelenium
Selenium
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
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
 
What is selenium
What is seleniumWhat is selenium
What is selenium
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
 
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)Siebel Open UI Debugging (Siebel Open UI Training, Part 7)
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)
 
Sel
SelSel
Sel
 

Recently uploaded

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 

Recently uploaded (20)

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 

Steps to write Selenium

  • 1. What is Automation TestingWhat is Automation Testing Automation testing use software or automation tool to create and execute test script which is written in scripting language for example java script. Automation testing Benefits :  Automation tool save time when regression and Smoke test required.  Automation tool run test case faster than human users.  Automation tool help to address the load, stress and performance of the product.  Automation tool improve software quality.  Automation tool required less time and fewer resources .
  • 2. Automation ToolsAutomation Tools There are lot of testing tools available in the market and each tool is capable of doing specific testing such as functional and non functional testing. The automation tools that are widely used in functional and non functional testing. Functional Testing tools 1)Quick Test Professional (Required licenses) 2)Selenium (Web Driver, Selenium RC) (Open Source) Non Functional Tools 1) HP Loader( Required licenses) 2) Apache Jmeter (Open Source)
  • 3. Selenium –Functional Testing ToolSelenium –Functional Testing Tool Selenium is a functional testing tool that automates web and mobile application with the help of web browsers like (Mozilla Firefox, Chrome, Internet explorer, Opera and Safari). It is open source tool (freely available in Internet market) and support many language like HTML, Java/Script , Ruby, Python, C# etc. Selenium provide record and play back feature and user can convert recorded script in any language.
  • 4. Component Used to Generate Manual Test ScriptComponent Used to Generate Manual Test Script 1.Selenium IDE is a Firefox add-on that provide record and playback feature and you can export or convert the recorded script in any languages like HTML, Java, .NET, Perl, Ruby and python You can run and customize script in the eclipse by adding Selenium web driver. 2.Selenium Web Driver2.Selenium Web Driver is Application programming interface and collection of libraries. Using selenium web driver we can customize or edit script with the help of Eclipse frame-work .Each scripting language use specific web driver to generate and customize script for example C# language use Selenium .NET web driver and Visual studio framework to run and customize the script. 3.Eclipse is an integrated development environment (IDE) is used to develop test script. Eclipse framework support many languages like Java, Java script, Ruby, Python, C, C+, PL/SQL, Vb.net script.
  • 5. Steps to Add Selenium IDE Plug-in Step 1: Open seleniumhq.org website in Mozilla Firefox ,Click on download tab and Click Version 2.6.0 link to install plug-in.
  • 6. Selenium ask you to install following items
  • 8. Verify all language formatter Installed Properly Click on Tool menu – Add-on
  • 9. Open website in Mozilla Firefox Open Mozilla Firefox enter web site URL in the URL Box of Mozilla
  • 10. Steps to Record Test Script Using Selenium IDESteps to Record Test Script Using Selenium IDE Step 1: Click on tools menu then click Selenium IDE option a pop will appear as given below Step:3: Enter base URL and minimize selenium IDE Pop
  • 11. Visit Website to Record ScriptVisit Website to Record Script
  • 12. Maximize Sel. IDE Pop Up & Stop RecordingMaximize Sel. IDE Pop Up & Stop Recording Execution Commands Stop Recording Reference of the currently selected command
  • 13. Change HTML Default Recording Mode To ScriptingChange HTML Default Recording Mode To Scripting Click on option menu to select scripting language option
  • 14. Enable Scripting Language OptionEnable Scripting Language Option You need to check mark this option
  • 15. Now Convert HTML to Java ScriptNow Convert HTML to Java Script Click on web driver
  • 16. On Click J-Unit Web Driver a Pop Will AppearOn Click J-Unit Web Driver a Pop Will Appear Click ok button
  • 17. On Click Ok Button HTML Code Converted to Java ScriptOn Click Ok Button HTML Code Converted to Java Script Copy this Code
  • 18. Open Eclipse to Run Java ScriptOpen Eclipse to Run Java Script Steps: 1 Open adt (Eclipse) folder saved in your hard disk. Steps: 2 Click on Eclipse icon. Steps: 3 Splash Screen will appear with Dialog box To choose location to save your script Steps:4 Click on Ok button eclipse will be open
  • 19. Create Project in the EclipseCreate Project in the Eclipse Steps Click on file menu . Click on new . Then click project
  • 20. Give name to your projectGive name to your project Steps : Give name to project then click next button
  • 21. Define the Java Build SettingDefine the Java Build Setting
  • 22. Add Selenium Web Driver to Click Library TabAdd Selenium Web Driver to Click Library Tab
  • 23. Click on Add External JARS..Click on Add External JARS..
  • 24. Verify Jars files will attached with Java BuildVerify Jars files will attached with Java Build
  • 25. Open Project Explorer to See Java BuildOpen Project Explorer to See Java Build
  • 26. Right Click On Project to Add Class fileRight Click On Project to Add Class file
  • 27. Give Name To Class fileGive Name To Class file Step 1:Give name to class file . Choose Method Click on Finish button a class file will appear
  • 28. Remove Code from class file and Past Sel. IDE ScriptRemove Code from class file and Past Sel. IDE Script
  • 29. Edit and Run Recorded ScriptEdit and Run Recorded Script
  • 30. Choose Launcher to Run ScriptChoose Launcher to Run Script
  • 31. Save and Launch ResourceSave and Launch Resource
  • 32. Output of Java ScriptOutput of Java Script
  • 33. The EndThe End Prepared byPrepared by Rohit thakurRohit thakur