SlideShare a Scribd company logo
1 of 17
Selenium Training in Chennai Demo
Part-1
By Creating Experts
Contact 8122241286
http://thecreatingexperts.com/selenium-training-in-chennai/
Introduction to Selenium
Selenium is a free (open source) automated testing suite for web
applications across different browsers and platforms. It is quite similar
to HP Quick Test Pro (QTP) only that Selenium focuses on automating
web-based applications.
Selenium is not just a single tool but a suite of software's, each catering
to different testing needs of an organization. It has four components.
•Selenium Integrated Development Environment (IDE)
•Selenium Remote Control (RC)
•WebDriver
•Selenium Grid
Installing Selenuim IDE & FireBug
Installation of Selenium IDE
What you need
•Mozilla Firefox
•Active Internet Connection
If you do not have Mozilla Firefox yet, you can download it from
http://www.mozilla.org/en-US/firefox/new.
Steps
•Launch Firefox and navigate to http://seleniumhq.org/download/. Under the
Selenium IDE section, click on the link that shows the current version number.
•For security, a Firefox notification will pop up. Click on "Allow."
•Wait until Firefox completes the download and then click "Install Now."
•Wait until the installation is completed. In the pop-up window, click "Restart
Now."
After Firefox has restarted, launch Selenium IDE using either of two
ways:
•By pressing Ctrl+Alt+S
•By clicking on the Firefox menu button > Web Developer> Selenium
IDE
•Selenium IDE should launch
Installation of Firebug
Firebug is a Firefox add-on that we will use to
inspect the HTML elements of the web application under test. It will provide us
the name of the element that our Selenese command would act upon.
Step 1
•Use Firefox to navigate to Firebug's download page
(https://getfirebug.com/downloads/) and click on the download link.
Step 2
•Firefox will take you to its Firebug download section. Click the "Add to Firefox"
button.
Step 3
•Wait for Firefox to complete downloading this add-on. On the dialog box that
comes after, click "Install Now."
Step 4
•Wait for the installation to complete. A notification will pop-up saying, "Firebug
has been installed successfully." You can immediately close this pop-up.
Step 5
•Launch Firebug by doing either of these two methods:
•Press F12
•Click on the Firebug button on the upper right corner of the Firefox window.
Step 6
•Firebug should launch at the bottom of Firefox as shown below
Introduction to Selenium IDE
• Selenium IDE (Integrated Development Environment) is the simplest
tool in the Selenium Suite. It is a Firefox add-on that creates tests
very quickly through its record-and-playback functionality. This
feature is similar to that of QTP. It is effortless to install and easy to
learn.
• Because of its simplicity, Selenium IDE should only be used as a
prototyping tool - not an overall solution for developing and
maintaining complex test suites.
• Though you will be able to use Selenium IDE without prior
knowledge in programming, you should at least be familiar with
HTML, JavaScript, and the DOM (Document Object Model) to utilize
this tool to its full potential. Knowledge of JavaScript will be required
when we get to the section about the Selenese command
"runScript".
• Selenium IDE supports autocomplete mode when creating tests.
This feature serves two purposes:
• It helps the tester to enter commands more quickly.
• It restricts the user from entering invalid commands.
Creating your First Selenium IDE script
•Create a Script by Recording
•Let us now create our first test script in Selenium IDE using the most
common method - by recording. Afterward, we shall execute our script
using the playback feature.
Step 1
•Launch Firefox and Selenium IDE.
•Type the value for our Base URL: http://newtours.demoaut.com/.
•Toggle the Record button on (if it is not yet toggled on by default).
Step 2
•In Firefox, navigate to http://newtours.demoaut.com/.
Step 3
•Right-click on any blank space within the page, like on the Mercury
Tours logo on the upper left corner. This will bring up the Selenium IDE
context menu. Note: Do not click on any hyperlinked objects or images
•Select the "Show Available Commands" option.
•Then, select "assertTitle exact: Welcome: Mercury Tours". This is a
command that makes sure that the page title is correct.
Step 4
•In the "User Name" text box of Mercury Tours, type an invalid
username, "invalidUN".
•In the "Password" text box, type an invalid password, "invalidPW".
Step 5
•Click on the "Sign-In" button.
Step 6
•Toggle the record button off to stop recording.
Step 7
•Now that we are done with our test script, we shall save it in a test
case. In the File menu, select "Save Test Case". Alternatively, you can
simply press Ctrl+S.
Step 8
•Choose your desired location, and then name the test case as
"Invalid_login".
•Click the "Save" button.
Step 9.
•Notice that the file was saved as HTML.
Step 10.
•Go back to Selenium IDE and click the Playback button to execute the
whole script. Selenium IDE should be able to replicate everything
flawlessly.
How to use Locators in Selenium IDE
• Locators tell Selenium IDE which GUI elements ( say Text Box,
Buttons, Check Boxes etc) its needs to operate on.
• Identification of correct GUI elements is a prerequisite to create an
automation script. But accurate identification of GUI elements is
more difficult than it sounds.
• Sometimes, you end up working with incorrect GUI elements or no
elements at all! Hence, Selenium provides a number of Locators to
precisely locate a GUI element
The different types of locator are:
• ID
• Name
• Link Text
• CSS Selector
• Tag and ID
• Tag and class
• Tag and attribute
• Tag, class, and attribute
• Inner text
• DOM (Document Object Model)
• getElementById
• getElementsByName
• dom:name
• dom: index
• XPath
• There are commands that do not need a locator (such as the "open"
command). However, most of them do need Locators.
• The choice of locator depends largely on your Application Under
Test. In this tutorial, we will toggle between facebook, new
tours.demoaut on the basis of locators that these applications
support. Likewise in your testing project you will select any of the
above listed locators based on your application support.
How to enhance a script using
Selenium IDE
Verify Presence of an Element
We can use following two commands to verify the presence of an
element:
•verifyElementPresent - returns TRUE if the specified element was
FOUND in the page; FALSE if otherwise
•verifyElementNotPresent - returns TRUE if the specified element was
NOT FOUND anywhere in the page; FALSE if it is present.
•The test script below verifies that the UserName text box is present
within the Mercury Tours homepage while the First Name text box is
not. The First Name text box is actually an element present in the
Registration page of Mercury Tours, not in the homepage.
strong>Verify Presence of a Certain Text
Conclusion
• In this presentation, I have given the introduction of Selenium and
explained about the Selenium IDE.
• Further topics will be explained in the next presentation.
• If you want to join in the training with us then contact us-
8122241286
• Visit us-http://thecreatingexperts.com/selenium-training-in-chennai/

More Related Content

What's hot

Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)Mehdi Khalili
 
Selenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
Selenium Tips & Tricks, presented at the Tel Aviv Selenium MeetupSelenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
Selenium Tips & Tricks, presented at the Tel Aviv Selenium MeetupDave Haeffner
 
Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...
Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...
Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...Applitools
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using SeleniumNaresh Chintalcheru
 
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 PluginsSamit Badle
 
Selenium Ide Tutorials
Selenium Ide TutorialsSelenium Ide Tutorials
Selenium Ide Tutorialsgueste1e4db
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorialprad_123
 
How To Use Selenium Successfully
How To Use Selenium SuccessfullyHow To Use Selenium Successfully
How To Use Selenium SuccessfullyDave Haeffner
 
Practical Tips & Tricks for Selenium Test Automation - Dave Haeffner
Practical Tips & Tricks for Selenium Test Automation - Dave HaeffnerPractical Tips & Tricks for Selenium Test Automation - Dave Haeffner
Practical Tips & Tricks for Selenium Test Automation - Dave HaeffnerApplitools
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with seleniumTzirla Rozental
 
Automated UI Testing Done Right (QMSDNUG)
Automated UI Testing Done Right (QMSDNUG)Automated UI Testing Done Right (QMSDNUG)
Automated UI Testing Done Right (QMSDNUG)Mehdi Khalili
 
Selenium Design Patterns
Selenium Design PatternsSelenium Design Patterns
Selenium Design PatternsLiraz Shay
 
Selenium
SeleniumSelenium
Seleniumnil65
 
Introduction to Selenium IDE
Introduction to Selenium IDEIntroduction to Selenium IDE
Introduction to Selenium IDEdrnikki
 
From IDE to Selenium 2
From IDE to Selenium 2From IDE to Selenium 2
From IDE to Selenium 2davehunt82
 
UI Testing Automation
UI Testing AutomationUI Testing Automation
UI Testing AutomationAgileEngine
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and BeyondSamit Badle
 

What's hot (20)

Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)
 
Selenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
Selenium Tips & Tricks, presented at the Tel Aviv Selenium MeetupSelenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
Selenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
 
Selenium IDE LOCATORS
Selenium IDE LOCATORSSelenium IDE LOCATORS
Selenium IDE LOCATORS
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
 
Selenium IDE features
Selenium IDE featuresSelenium IDE features
Selenium IDE features
 
Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...
Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...
Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
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 Ide Tutorials
Selenium Ide TutorialsSelenium Ide Tutorials
Selenium Ide Tutorials
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
How To Use Selenium Successfully
How To Use Selenium SuccessfullyHow To Use Selenium Successfully
How To Use Selenium Successfully
 
Practical Tips & Tricks for Selenium Test Automation - Dave Haeffner
Practical Tips & Tricks for Selenium Test Automation - Dave HaeffnerPractical Tips & Tricks for Selenium Test Automation - Dave Haeffner
Practical Tips & Tricks for Selenium Test Automation - Dave Haeffner
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Automated UI Testing Done Right (QMSDNUG)
Automated UI Testing Done Right (QMSDNUG)Automated UI Testing Done Right (QMSDNUG)
Automated UI Testing Done Right (QMSDNUG)
 
Selenium Design Patterns
Selenium Design PatternsSelenium Design Patterns
Selenium Design Patterns
 
Selenium
SeleniumSelenium
Selenium
 
Introduction to Selenium IDE
Introduction to Selenium IDEIntroduction to Selenium IDE
Introduction to Selenium IDE
 
From IDE to Selenium 2
From IDE to Selenium 2From IDE to Selenium 2
From IDE to Selenium 2
 
UI Testing Automation
UI Testing AutomationUI Testing Automation
UI Testing Automation
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and Beyond
 

Viewers also liked

Alle porte dell'Europa. Raccontare le migrazioni in musei e archivi
Alle porte dell'Europa. Raccontare le migrazioni in musei e archiviAlle porte dell'Europa. Raccontare le migrazioni in musei e archivi
Alle porte dell'Europa. Raccontare le migrazioni in musei e archiviPagina della Fondazione Di Vagno
 
Urban Open Data in Ghana and West Africa
Urban Open Data in Ghana and West AfricaUrban Open Data in Ghana and West Africa
Urban Open Data in Ghana and West AfricaEnock Seth Nyamador
 
Análisis de estratégico de precios
Análisis de estratégico de precios Análisis de estratégico de precios
Análisis de estratégico de precios Nicky Zambrano
 
Lista de estatistica
Lista de estatisticaLista de estatistica
Lista de estatisticaBriefCase
 
Diapositivas de matematicas bloque7
Diapositivas de matematicas bloque7Diapositivas de matematicas bloque7
Diapositivas de matematicas bloque7ISRAEL2399
 
Internet y sus servicios
Internet y sus serviciosInternet y sus servicios
Internet y sus serviciosCarmen Murillo
 
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOS
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOSPASOS PARA RESOLVER PROBLEMAS MATEMÁTICOS
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOSMarilo M. G.
 
Entrepreneur Way #25 - Februari 2017
Entrepreneur Way #25 - Februari 2017Entrepreneur Way #25 - Februari 2017
Entrepreneur Way #25 - Februari 2017UCEO
 

Viewers also liked (12)

Selenium training in chennai
Selenium training in chennaiSelenium training in chennai
Selenium training in chennai
 
Alle porte dell'Europa. Raccontare le migrazioni in musei e archivi
Alle porte dell'Europa. Raccontare le migrazioni in musei e archiviAlle porte dell'Europa. Raccontare le migrazioni in musei e archivi
Alle porte dell'Europa. Raccontare le migrazioni in musei e archivi
 
Task 4
Task 4Task 4
Task 4
 
Urban Open Data in Ghana and West Africa
Urban Open Data in Ghana and West AfricaUrban Open Data in Ghana and West Africa
Urban Open Data in Ghana and West Africa
 
4G no brasil
4G no brasil 4G no brasil
4G no brasil
 
Análisis de estratégico de precios
Análisis de estratégico de precios Análisis de estratégico de precios
Análisis de estratégico de precios
 
Aula18 - Estatística Suficiente
Aula18 - Estatística SuficienteAula18 - Estatística Suficiente
Aula18 - Estatística Suficiente
 
Lista de estatistica
Lista de estatisticaLista de estatistica
Lista de estatistica
 
Diapositivas de matematicas bloque7
Diapositivas de matematicas bloque7Diapositivas de matematicas bloque7
Diapositivas de matematicas bloque7
 
Internet y sus servicios
Internet y sus serviciosInternet y sus servicios
Internet y sus servicios
 
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOS
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOSPASOS PARA RESOLVER PROBLEMAS MATEMÁTICOS
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOS
 
Entrepreneur Way #25 - Februari 2017
Entrepreneur Way #25 - Februari 2017Entrepreneur Way #25 - Februari 2017
Entrepreneur Way #25 - Februari 2017
 

Similar to Selenium training in chennai

Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ideTestertester Jaipur
 
Selenium training
Selenium trainingSelenium training
Selenium trainingRobin0590
 
Selenium training
Selenium trainingSelenium training
Selenium trainingShivaraj R
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVAmahirayavarapu
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing ToolZeba Tahseen
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium Rohit Thakur
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin MishraPravin Mishra
 
Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully Applitools
 
Testing mit Codeception: Full-stack testing PHP framework
Testing mit Codeception: Full-stack testing PHP frameworkTesting mit Codeception: Full-stack testing PHP framework
Testing mit Codeception: Full-stack testing PHP frameworkSusannSgorzaly
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDEMurageppa-QA
 
Interview question & Answers for 3+ years experienced in Selenium | LearningSlot
Interview question & Answers for 3+ years experienced in Selenium | LearningSlotInterview question & Answers for 3+ years experienced in Selenium | LearningSlot
Interview question & Answers for 3+ years experienced in Selenium | LearningSlotLearning Slot
 
UI Automation Quirks
UI Automation QuirksUI Automation Quirks
UI Automation QuirksLucas Pang
 
Automated testing with Cypress
Automated testing with CypressAutomated testing with Cypress
Automated testing with CypressYong Shean Chong
 
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Aravindharamanan 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
 

Similar to Selenium training in chennai (20)

Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ide
 
Selenium training
Selenium trainingSelenium training
Selenium training
 
Selenium training
Selenium trainingSelenium training
Selenium training
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Selenium
SeleniumSelenium
Selenium
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
 
Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium
SeleniumSelenium
Selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Testing mit Codeception: Full-stack testing PHP framework
Testing mit Codeception: Full-stack testing PHP frameworkTesting mit Codeception: Full-stack testing PHP framework
Testing mit Codeception: Full-stack testing PHP framework
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
 
Interview question & Answers for 3+ years experienced in Selenium | LearningSlot
Interview question & Answers for 3+ years experienced in Selenium | LearningSlotInterview question & Answers for 3+ years experienced in Selenium | LearningSlot
Interview question & Answers for 3+ years experienced in Selenium | LearningSlot
 
UI Automation Quirks
UI Automation QuirksUI Automation Quirks
UI Automation Quirks
 
Automated testing with Cypress
Automated testing with CypressAutomated testing with Cypress
Automated testing with Cypress
 
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)
 

More from Thecreating Experts

Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Thecreating Experts
 
SAP BASIS Training in Chennai Demo Part-7
SAP BASIS Training in Chennai Demo Part-7SAP BASIS Training in Chennai Demo Part-7
SAP BASIS Training in Chennai Demo Part-7Thecreating Experts
 
SAP SD Training in Chennai Demo Part-4
SAP SD Training in Chennai Demo Part-4SAP SD Training in Chennai Demo Part-4
SAP SD Training in Chennai Demo Part-4Thecreating Experts
 
SAP MM Training in Chennai Demo Part-5
SAP MM Training in Chennai Demo Part-5SAP MM Training in Chennai Demo Part-5
SAP MM Training in Chennai Demo Part-5Thecreating Experts
 
SAP HR Training in Chennai Demo Part-4
SAP HR Training in Chennai Demo Part-4SAP HR Training in Chennai Demo Part-4
SAP HR Training in Chennai Demo Part-4Thecreating Experts
 
SAP BASIS Training in Chennai Demo Part-6
SAP BASIS Training in Chennai Demo Part-6SAP BASIS Training in Chennai Demo Part-6
SAP BASIS Training in Chennai Demo Part-6Thecreating Experts
 
SAP SD Training in Chennai Demo Part-3
SAP SD Training in Chennai Demo Part-3SAP SD Training in Chennai Demo Part-3
SAP SD Training in Chennai Demo Part-3Thecreating Experts
 
SAP HR Training in Chennai Demo Part-3
SAP HR Training in Chennai Demo Part-3SAP HR Training in Chennai Demo Part-3
SAP HR Training in Chennai Demo Part-3Thecreating Experts
 
SAP BASIS Training in Chennai Demo Part-5
SAP BASIS Training in Chennai Demo Part-5SAP BASIS Training in Chennai Demo Part-5
SAP BASIS Training in Chennai Demo Part-5Thecreating Experts
 
SAP HR Training in Chennai Demo Part-1
SAP HR Training in Chennai Demo Part-1SAP HR Training in Chennai Demo Part-1
SAP HR Training in Chennai Demo Part-1Thecreating Experts
 
SAP BASIS Training in Chennai Demo Part-4
SAP BASIS Training in Chennai Demo Part-4SAP BASIS Training in Chennai Demo Part-4
SAP BASIS Training in Chennai Demo Part-4Thecreating Experts
 
SAP SD Training in Chennai Demo Part-2
SAP SD Training in Chennai Demo Part-2SAP SD Training in Chennai Demo Part-2
SAP SD Training in Chennai Demo Part-2Thecreating Experts
 
SAP MM Training in Chennai Demo Part-2
SAP MM Training in Chennai Demo Part-2SAP MM Training in Chennai Demo Part-2
SAP MM Training in Chennai Demo Part-2Thecreating Experts
 
SAP BASIS Training in Chennai Demo Part-3
SAP BASIS Training in Chennai Demo Part-3SAP BASIS Training in Chennai Demo Part-3
SAP BASIS Training in Chennai Demo Part-3Thecreating Experts
 

More from Thecreating Experts (20)

Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
 
SAP BASIS Training in Chennai Demo Part-7
SAP BASIS Training in Chennai Demo Part-7SAP BASIS Training in Chennai Demo Part-7
SAP BASIS Training in Chennai Demo Part-7
 
SAP SD Training in Chennai Demo Part-4
SAP SD Training in Chennai Demo Part-4SAP SD Training in Chennai Demo Part-4
SAP SD Training in Chennai Demo Part-4
 
SAP MM Training in Chennai Demo Part-5
SAP MM Training in Chennai Demo Part-5SAP MM Training in Chennai Demo Part-5
SAP MM Training in Chennai Demo Part-5
 
SAP HR Training in Chennai Demo Part-4
SAP HR Training in Chennai Demo Part-4SAP HR Training in Chennai Demo Part-4
SAP HR Training in Chennai Demo Part-4
 
SAP BASIS Training in Chennai Demo Part-6
SAP BASIS Training in Chennai Demo Part-6SAP BASIS Training in Chennai Demo Part-6
SAP BASIS Training in Chennai Demo Part-6
 
SAP SD Training in Chennai Demo Part-3
SAP SD Training in Chennai Demo Part-3SAP SD Training in Chennai Demo Part-3
SAP SD Training in Chennai Demo Part-3
 
SAP HR Training in Chennai Demo Part-3
SAP HR Training in Chennai Demo Part-3SAP HR Training in Chennai Demo Part-3
SAP HR Training in Chennai Demo Part-3
 
SAP BASIS Training in Chennai Demo Part-5
SAP BASIS Training in Chennai Demo Part-5SAP BASIS Training in Chennai Demo Part-5
SAP BASIS Training in Chennai Demo Part-5
 
SAP HR Training in Chennai Demo Part-1
SAP HR Training in Chennai Demo Part-1SAP HR Training in Chennai Demo Part-1
SAP HR Training in Chennai Demo Part-1
 
SAP BASIS Training in Chennai Demo Part-4
SAP BASIS Training in Chennai Demo Part-4SAP BASIS Training in Chennai Demo Part-4
SAP BASIS Training in Chennai Demo Part-4
 
SAP SD Training in Chennai Demo Part-2
SAP SD Training in Chennai Demo Part-2SAP SD Training in Chennai Demo Part-2
SAP SD Training in Chennai Demo Part-2
 
SAP SD Training in Chennai
SAP SD Training in Chennai SAP SD Training in Chennai
SAP SD Training in Chennai
 
SAP MM Training in Chennai Demo Part-2
SAP MM Training in Chennai Demo Part-2SAP MM Training in Chennai Demo Part-2
SAP MM Training in Chennai Demo Part-2
 
SAP BASIS Training in Chennai Demo Part-3
SAP BASIS Training in Chennai Demo Part-3SAP BASIS Training in Chennai Demo Part-3
SAP BASIS Training in Chennai Demo Part-3
 
SAP MM Training in Chennai
SAP MM Training in ChennaiSAP MM Training in Chennai
SAP MM Training in Chennai
 
SAP BASIS Training in Chennai
SAP BASIS Training  in ChennaiSAP BASIS Training  in Chennai
SAP BASIS Training in Chennai
 
SAP BASIS Training in Chennai
SAP BASIS Training in ChennaiSAP BASIS Training in Chennai
SAP BASIS Training in Chennai
 
SAP HR Training in Chennai
SAP HR Training in ChennaiSAP HR Training in Chennai
SAP HR Training in Chennai
 

Recently uploaded

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 

Recently uploaded (20)

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 

Selenium training in chennai

  • 1. Selenium Training in Chennai Demo Part-1 By Creating Experts Contact 8122241286 http://thecreatingexperts.com/selenium-training-in-chennai/
  • 2. Introduction to Selenium Selenium is a free (open source) automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Pro (QTP) only that Selenium focuses on automating web-based applications. Selenium is not just a single tool but a suite of software's, each catering to different testing needs of an organization. It has four components. •Selenium Integrated Development Environment (IDE) •Selenium Remote Control (RC) •WebDriver •Selenium Grid
  • 3. Installing Selenuim IDE & FireBug Installation of Selenium IDE What you need •Mozilla Firefox •Active Internet Connection If you do not have Mozilla Firefox yet, you can download it from http://www.mozilla.org/en-US/firefox/new. Steps •Launch Firefox and navigate to http://seleniumhq.org/download/. Under the Selenium IDE section, click on the link that shows the current version number. •For security, a Firefox notification will pop up. Click on "Allow."
  • 4. •Wait until Firefox completes the download and then click "Install Now." •Wait until the installation is completed. In the pop-up window, click "Restart Now." After Firefox has restarted, launch Selenium IDE using either of two ways: •By pressing Ctrl+Alt+S •By clicking on the Firefox menu button > Web Developer> Selenium IDE •Selenium IDE should launch
  • 5. Installation of Firebug Firebug is a Firefox add-on that we will use to inspect the HTML elements of the web application under test. It will provide us the name of the element that our Selenese command would act upon. Step 1 •Use Firefox to navigate to Firebug's download page (https://getfirebug.com/downloads/) and click on the download link. Step 2 •Firefox will take you to its Firebug download section. Click the "Add to Firefox" button. Step 3 •Wait for Firefox to complete downloading this add-on. On the dialog box that comes after, click "Install Now."
  • 6. Step 4 •Wait for the installation to complete. A notification will pop-up saying, "Firebug has been installed successfully." You can immediately close this pop-up. Step 5 •Launch Firebug by doing either of these two methods: •Press F12 •Click on the Firebug button on the upper right corner of the Firefox window. Step 6 •Firebug should launch at the bottom of Firefox as shown below
  • 7. Introduction to Selenium IDE • Selenium IDE (Integrated Development Environment) is the simplest tool in the Selenium Suite. It is a Firefox add-on that creates tests very quickly through its record-and-playback functionality. This feature is similar to that of QTP. It is effortless to install and easy to learn. • Because of its simplicity, Selenium IDE should only be used as a prototyping tool - not an overall solution for developing and maintaining complex test suites.
  • 8. • Though you will be able to use Selenium IDE without prior knowledge in programming, you should at least be familiar with HTML, JavaScript, and the DOM (Document Object Model) to utilize this tool to its full potential. Knowledge of JavaScript will be required when we get to the section about the Selenese command "runScript". • Selenium IDE supports autocomplete mode when creating tests. This feature serves two purposes: • It helps the tester to enter commands more quickly. • It restricts the user from entering invalid commands.
  • 9. Creating your First Selenium IDE script •Create a Script by Recording •Let us now create our first test script in Selenium IDE using the most common method - by recording. Afterward, we shall execute our script using the playback feature. Step 1 •Launch Firefox and Selenium IDE. •Type the value for our Base URL: http://newtours.demoaut.com/. •Toggle the Record button on (if it is not yet toggled on by default). Step 2 •In Firefox, navigate to http://newtours.demoaut.com/.
  • 10. Step 3 •Right-click on any blank space within the page, like on the Mercury Tours logo on the upper left corner. This will bring up the Selenium IDE context menu. Note: Do not click on any hyperlinked objects or images •Select the "Show Available Commands" option. •Then, select "assertTitle exact: Welcome: Mercury Tours". This is a command that makes sure that the page title is correct. Step 4 •In the "User Name" text box of Mercury Tours, type an invalid username, "invalidUN". •In the "Password" text box, type an invalid password, "invalidPW".
  • 11. Step 5 •Click on the "Sign-In" button. Step 6 •Toggle the record button off to stop recording. Step 7 •Now that we are done with our test script, we shall save it in a test case. In the File menu, select "Save Test Case". Alternatively, you can simply press Ctrl+S. Step 8 •Choose your desired location, and then name the test case as "Invalid_login". •Click the "Save" button.
  • 12. Step 9. •Notice that the file was saved as HTML. Step 10. •Go back to Selenium IDE and click the Playback button to execute the whole script. Selenium IDE should be able to replicate everything flawlessly.
  • 13. How to use Locators in Selenium IDE • Locators tell Selenium IDE which GUI elements ( say Text Box, Buttons, Check Boxes etc) its needs to operate on. • Identification of correct GUI elements is a prerequisite to create an automation script. But accurate identification of GUI elements is more difficult than it sounds. • Sometimes, you end up working with incorrect GUI elements or no elements at all! Hence, Selenium provides a number of Locators to precisely locate a GUI element
  • 14. The different types of locator are: • ID • Name • Link Text • CSS Selector • Tag and ID • Tag and class • Tag and attribute • Tag, class, and attribute • Inner text • DOM (Document Object Model) • getElementById • getElementsByName
  • 15. • dom:name • dom: index • XPath • There are commands that do not need a locator (such as the "open" command). However, most of them do need Locators. • The choice of locator depends largely on your Application Under Test. In this tutorial, we will toggle between facebook, new tours.demoaut on the basis of locators that these applications support. Likewise in your testing project you will select any of the above listed locators based on your application support.
  • 16. How to enhance a script using Selenium IDE Verify Presence of an Element We can use following two commands to verify the presence of an element: •verifyElementPresent - returns TRUE if the specified element was FOUND in the page; FALSE if otherwise •verifyElementNotPresent - returns TRUE if the specified element was NOT FOUND anywhere in the page; FALSE if it is present. •The test script below verifies that the UserName text box is present within the Mercury Tours homepage while the First Name text box is not. The First Name text box is actually an element present in the Registration page of Mercury Tours, not in the homepage. strong>Verify Presence of a Certain Text
  • 17. Conclusion • In this presentation, I have given the introduction of Selenium and explained about the Selenium IDE. • Further topics will be explained in the next presentation. • If you want to join in the training with us then contact us- 8122241286 • Visit us-http://thecreatingexperts.com/selenium-training-in-chennai/