SlideShare a Scribd company logo
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 Meetup
Dave Haeffner
 
Selenium IDE LOCATORS
Selenium IDE LOCATORSSelenium IDE LOCATORS
Selenium IDE LOCATORS
Mindfire Solutions
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
b4usolution .
 
Selenium IDE features
Selenium IDE featuresSelenium IDE features
Selenium IDE features
onewomanmore witl
 
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 Selenium
Naresh 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 Plugins
Samit 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 Successfully
Dave 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 Haeffner
Applitools
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla 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 Patterns
Liraz Shay
 
Selenium
SeleniumSelenium
Seleniumnil65
 
Introduction to Selenium IDE
Introduction to Selenium IDEIntroduction to Selenium IDE
Introduction to Selenium IDE
drnikki
 
From IDE to Selenium 2
From IDE to Selenium 2From IDE to Selenium 2
From IDE to Selenium 2
davehunt82
 
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 Beyond
Samit 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

Selenium training in chennai
Selenium training in chennaiSelenium training in chennai
Selenium training in chennai
Thecreating Experts
 
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
Pagina della Fondazione Di Vagno
 
Task 4
Task 4Task 4
Task 4
egower2363
 
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
Enock Seth Nyamador
 
4G no brasil
4G no brasil 4G no brasil
4G no brasil
blogtecnoword
 
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
 
Aula18 - Estatística Suficiente
Aula18 - Estatística SuficienteAula18 - Estatística Suficiente
Aula18 - Estatística Suficiente
Anselmo Alves de Sousa
 
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 bloque7
ISRAEL2399
 
Internet y sus servicios
Internet y sus serviciosInternet y sus servicios
Internet y sus servicios
Carmen Murillo
 
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOS
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOSPASOS PARA RESOLVER PROBLEMAS MATEMÁTICOS
PASOS PARA RESOLVER PROBLEMAS MATEMÁTICOS
Marilo M. G.
 
Entrepreneur Way #25 - Februari 2017
Entrepreneur Way #25 - Februari 2017Entrepreneur Way #25 - Februari 2017
Entrepreneur Way #25 - Februari 2017
UCEO
 

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 ide
Testertester Jaipur
 
Selenium training
Selenium trainingSelenium training
Selenium trainingRobin0590
 
Selenium training
Selenium trainingSelenium training
Selenium training
Shivaraj R
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
Thecreating Experts
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
mahirayavarapu
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
Zeba 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 Mishra
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
Applitools
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Naga Dinesh
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Aneesh Rangarajan
 
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
SusannSgorzaly
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
Murageppa-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 | LearningSlot
Learning Slot
 
UI Automation Quirks
UI Automation QuirksUI Automation Quirks
UI Automation Quirks
Lucas Pang
 
Automated testing with Cypress
Automated testing with CypressAutomated testing with Cypress
Automated testing with Cypress
Yong Shean Chong
 
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
 

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
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
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-7
Thecreating 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-4
Thecreating 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-5
Thecreating 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-4
Thecreating 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-6
Thecreating 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-3
Thecreating 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-3
Thecreating 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-5
Thecreating 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-1
Thecreating 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-4
Thecreating 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-2
Thecreating Experts
 
SAP SD Training in Chennai
SAP SD Training in Chennai SAP SD Training in Chennai
SAP SD Training in Chennai
Thecreating 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-2
Thecreating 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-3
Thecreating Experts
 
SAP MM Training in Chennai
SAP MM Training in ChennaiSAP MM Training in Chennai
SAP MM Training in Chennai
Thecreating Experts
 
SAP BASIS Training in Chennai
SAP BASIS Training  in ChennaiSAP BASIS Training  in Chennai
SAP BASIS Training in Chennai
Thecreating Experts
 
SAP BASIS Training in Chennai
SAP BASIS Training in ChennaiSAP BASIS Training in Chennai
SAP BASIS Training in Chennai
Thecreating Experts
 
SAP HR Training in Chennai
SAP HR Training in ChennaiSAP HR Training in Chennai
SAP HR Training in Chennai
Thecreating 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

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 

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/