SlideShare a Scribd company logo
1 of 15
By Creating Experts
Contact-8122241286
http://thecreatingexperts.com/selenium-training-in-chennai/
What is TestNG?
•So far we had been doing Selenium tests without generating a proper
format for the test results. From this point on, we shall tackle how to
make these reports using a test framework called TestNG.
•TestNG is a testing framework that overcomes the limitations of
another popular testing framework called JUnit. The "NG" means "Next
Generation".
•Most Selenium users use this more than JUnit because of its
advantages. There are so many features of TestNG, but we will only
focus on the most important ones that we can use in Selenium.
Advantages of TestNG over JUnit
There are three major advantages of TestNG over JUnit:
Annotations are easier to understand
Test cases can be grouped more easily
Parallel testing is possible
What is Selenium Grid?
•Selenium Grid is a part of the Selenium Suite that specializes on
running multiple tests across different browsers, operating systems,
and machines in parallel.
•Selenium Grid has 2 versions - the older Grid 1 and the newer Grid 2.
We will only focus on Grid 2 because Grid 1 is gradually being
deprecated by the Selenium Team.
•Selenium Grid uses a hub-node concept where you only run the test
on a single machine called a hub, but the execution will be done by
different machines called nodes.
When to Use Selenium Grid?
You should use Selenium Grid when you want to do either one or both
of following:
•Run your tests against different browsers, operating systems, and
machines all at the same time. This will ensure that the application you
are testing is fully compatible with a wide range of browser-O.S
combinations.
•Save time in the execution of your test suites. If you set up Selenium
Grid to run, say, 4 tests at a time, then you would be able to finish the
whole suite around 4 times faster.
• As we create software we always wish it should work differently with
a different set of data. When it comes to testing the same piece of
software, we can't be unfair to test it with just one set of data. Here
again, we need to verify that our system is taking all set of
combinations which it expected to support.
• Here comes Parameterization in picture. To pass multiple data to
the application at runtime, we need to parameterize our test scripts.
• This concept which we achieve by parameterization is called Data
Driven Testing .
Type of Parameterization in TestNG-
•To make parameterization more clear, we will go through the
parameterization options in one the most popular framework for
Selenium Webdriver - TestNG.
There are two ways by which we can achieve parameterization in
TestNG
•With the help of Parameters annotation and TestNG XML file.
•With the help of DataProvider annotation.
•Cross Browser Testing is a type of functional test to check that your
web application works as expected in different browsers.
Why do we need Cross Browser Testing?
•Web based applications are totally different from windows
applications. A web application can be opened in any browser by the
end user. For example some people prefer to open http://twitter.comin
Firefox browser, while other's can be using Chrome browser or IE.
•In the diagram below you can observe that in IE, the login box of
twitter is not showing curve at all corners but we are able to see it in
chrome browser.
•File IO is a critical part for any software process. We frequently create
a file, open it & update something or delete it in our Computers. Same
is the case with Selenium Automation. We need a process to
manipulate files with Selenium.
•Java provides us different classes for File Manipulation with Selenium.
In this tutorial we are going to learn how can we read and write on
excel file with the help of Java IO package and Apache POI library.
•Frameworks help to structure our code and make maintenance easy.
Without frameworks we will place all our code and data in same place
which is neither re-usable nor readable. Using Frameworks, produce
beneficial outcomes like increase code re-usage , higher portability ,
reduced script maintenance cost etc
There are mainly three type of frameworks created by Selenium
WebDriver to automate manual testcases
•Data Driven Test Framework
•Keyword Driven Test Framework
•Hybrid Test Framework
Before we learn about Page Object Model, lets understand -
Why POM ?
•Starting a UI Automation in Selenium WebDriver is NOT a tough task.
You just need to find elements, perform operations on it .
•Consider this simple script to login into a website
What is POM?
•Page Object Model is a design pattern to create Object Repository for
web UI elements.
•Under this model, for each web page in the application there should
be corresponding page class.
•This Page class will find the WebElements of that web page and also
contains Page methods which perform operations on those
WebElements.
Why do we need reporting ?
•When we are using Selenium or any other automation tool, we are
performing operations on the web application. But our purpose of
automation is not just to exercise the Application Under Test.
•We, as an automation tester are supposed to test the application, find
bugs and report it to development team or higher management.
Here the reporting gets importance for software testing process
•TestNG Reporting
•TestNG library provides a very handy reporting feature. After
execution, TestNG will generate a test-output folder at the root of the
project. This folder contains two type of Reports-
•If a simple XPath is not able to find a complicated web element for our
test script, we need to use the functions from XPath 1.0 library. With
the combination of these functions, we can create more specific XPath.
Let's discuss a 3 such functions –
•Contains
•Sibiling
•Ancestor
Let's study them in detail -
•Contains: By using 'contains' function in XPath, we can extract all the
elements which matches a particular text value.
•Sibling: Using sibling keyword, we can fetch a web element on the
which is related to some other element.
•Ancestor: To find an element on the basis of the parent element we
can use ancestor attribute of XPath.
To understand extensions, lets first understand the three pillars of
selenium IDE
•Action: What operation you are performing on UI Screen
•Assessors/Assertion: What verification you do on data you get from UI
•Locator Strategy: How can we find the element in UI.
•In this presentation, I have giv en the introduction of
webdriver and explained about comparison of selenium
RC.
•Further topics will be expain in nest presentation.
•If you are interested to join in the training reach us-
8122241286
•Visit us-http://thecreatingexperts.com/selenium-training-in-
chennai/

More Related Content

What's hot

devops online training in hyderabad
devops online training in hyderabaddevops online training in hyderabad
devops online training in hyderabadDIGITALSAI1
 
DATA SCIENCE TRAINING IN CHENNAI
DATA SCIENCE TRAINING IN CHENNAIDATA SCIENCE TRAINING IN CHENNAI
DATA SCIENCE TRAINING IN CHENNAIshivajirao12345
 
Industrial training in noida
Industrial training in noidaIndustrial training in noida
Industrial training in noidaNilakshchavla979
 
DevOps made simple - Understand DevOps and steps to become a DevOps expert
DevOps made simple  - Understand DevOps and steps to become a DevOps expertDevOps made simple  - Understand DevOps and steps to become a DevOps expert
DevOps made simple - Understand DevOps and steps to become a DevOps expertThinkCerti
 
DevOps Online Training
DevOps Online TrainingDevOps Online Training
DevOps Online TrainingVijayVijji8
 
Devops online training ppt
Devops online training pptDevops online training ppt
Devops online training pptKhalidQureshi31
 
Roles and Responsibilities of a DevOps Engineer
Roles and Responsibilities of a DevOps EngineerRoles and Responsibilities of a DevOps Engineer
Roles and Responsibilities of a DevOps EngineerZaranTech LLC
 
The DevOps Journey in an Enterprise - DOES 2021
The DevOps Journey in an Enterprise - DOES 2021The DevOps Journey in an Enterprise - DOES 2021
The DevOps Journey in an Enterprise - DOES 2021Anders Lundsgård
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...Simplilearn
 
Continuous Delivery vs Continuous Deployment | DevOps Methodology | Devops Tr...
Continuous Delivery vs Continuous Deployment | DevOps Methodology | Devops Tr...Continuous Delivery vs Continuous Deployment | DevOps Methodology | Devops Tr...
Continuous Delivery vs Continuous Deployment | DevOps Methodology | Devops Tr...Edureka!
 
Cisco webex zend con2010 presentation
Cisco webex zend con2010 presentationCisco webex zend con2010 presentation
Cisco webex zend con2010 presentationEnterprise PHP Center
 
Grokking TechTalk #19: Software Development Cycle In The International Moneta...
Grokking TechTalk #19: Software Development Cycle In The International Moneta...Grokking TechTalk #19: Software Development Cycle In The International Moneta...
Grokking TechTalk #19: Software Development Cycle In The International Moneta...Grokking VN
 
DevOps Training | DevOps Training Video | DevOps Tools | DevOps Tutorial For ...
DevOps Training | DevOps Training Video | DevOps Tools | DevOps Tutorial For ...DevOps Training | DevOps Training Video | DevOps Tools | DevOps Tutorial For ...
DevOps Training | DevOps Training Video | DevOps Tools | DevOps Tutorial For ...Simplilearn
 
Continuous integration. Short overview
Continuous integration. Short overviewContinuous integration. Short overview
Continuous integration. Short overviewElifTech
 
DevOPS training - Day 1/2
DevOPS training - Day 1/2DevOPS training - Day 1/2
DevOPS training - Day 1/2Vincent Mercier
 

What's hot (17)

devops online training in hyderabad
devops online training in hyderabaddevops online training in hyderabad
devops online training in hyderabad
 
DATA SCIENCE TRAINING IN CHENNAI
DATA SCIENCE TRAINING IN CHENNAIDATA SCIENCE TRAINING IN CHENNAI
DATA SCIENCE TRAINING IN CHENNAI
 
Industrial training in noida
Industrial training in noidaIndustrial training in noida
Industrial training in noida
 
DevOps made simple - Understand DevOps and steps to become a DevOps expert
DevOps made simple  - Understand DevOps and steps to become a DevOps expertDevOps made simple  - Understand DevOps and steps to become a DevOps expert
DevOps made simple - Understand DevOps and steps to become a DevOps expert
 
DevOps Online Training
DevOps Online TrainingDevOps Online Training
DevOps Online Training
 
Devops online training ppt
Devops online training pptDevops online training ppt
Devops online training ppt
 
Roles and Responsibilities of a DevOps Engineer
Roles and Responsibilities of a DevOps EngineerRoles and Responsibilities of a DevOps Engineer
Roles and Responsibilities of a DevOps Engineer
 
The DevOps Journey in an Enterprise - DOES 2021
The DevOps Journey in an Enterprise - DOES 2021The DevOps Journey in an Enterprise - DOES 2021
The DevOps Journey in an Enterprise - DOES 2021
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
 
Continuous Delivery vs Continuous Deployment | DevOps Methodology | Devops Tr...
Continuous Delivery vs Continuous Deployment | DevOps Methodology | Devops Tr...Continuous Delivery vs Continuous Deployment | DevOps Methodology | Devops Tr...
Continuous Delivery vs Continuous Deployment | DevOps Methodology | Devops Tr...
 
An introduction to DevOps
An introduction to DevOpsAn introduction to DevOps
An introduction to DevOps
 
Dev ops
Dev opsDev ops
Dev ops
 
Cisco webex zend con2010 presentation
Cisco webex zend con2010 presentationCisco webex zend con2010 presentation
Cisco webex zend con2010 presentation
 
Grokking TechTalk #19: Software Development Cycle In The International Moneta...
Grokking TechTalk #19: Software Development Cycle In The International Moneta...Grokking TechTalk #19: Software Development Cycle In The International Moneta...
Grokking TechTalk #19: Software Development Cycle In The International Moneta...
 
DevOps Training | DevOps Training Video | DevOps Tools | DevOps Tutorial For ...
DevOps Training | DevOps Training Video | DevOps Tools | DevOps Tutorial For ...DevOps Training | DevOps Training Video | DevOps Tools | DevOps Tutorial For ...
DevOps Training | DevOps Training Video | DevOps Tools | DevOps Tutorial For ...
 
Continuous integration. Short overview
Continuous integration. Short overviewContinuous integration. Short overview
Continuous integration. Short overview
 
DevOPS training - Day 1/2
DevOPS training - Day 1/2DevOPS training - Day 1/2
DevOPS training - Day 1/2
 

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
 
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
 
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
 
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)

Task 4
Task 4Task 4
Task 4
 
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
 
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
 
4G no brasil
4G no brasil 4G no brasil
4G no brasil
 
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
 
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

Tools for Software Testing
Tools for Software TestingTools for Software Testing
Tools for Software TestingMohammed Moishin
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfMinh Quân Đoàn
 
Selenium and JMeter Testing
Selenium and JMeter TestingSelenium and JMeter Testing
Selenium and JMeter TestingArchanaKalapgar
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5hemasubbu08
 
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVEN
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVENAUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVEN
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVENSHASHI JAISWAL
 
Selenium - The Way Of Success
Selenium - The Way Of SuccessSelenium - The Way Of Success
Selenium - The Way Of SuccessZbyszek Mockun
 
Data Driven Framework in Selenium
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in SeleniumKnoldus Inc.
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing FrameworksMoataz Nabil
 
Selenium institute in bangalore
Selenium institute in bangaloreSelenium institute in bangalore
Selenium institute in bangaloreTIB Academy
 
Katalon studio vs selenium comparision
Katalon studio vs selenium comparisionKatalon studio vs selenium comparision
Katalon studio vs selenium comparisionPrabhusundar6
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automationSrikanth Vuriti
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Simplilearn
 
Selenium training
Selenium trainingSelenium training
Selenium trainingShivaraj R
 
Slides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testingSlides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testingSwapnilNarayan
 

Similar to Selenium training in chennai (20)

Tools for Software Testing
Tools for Software TestingTools for Software Testing
Tools for Software Testing
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
 
Selenium and JMeter Testing
Selenium and JMeter TestingSelenium and JMeter Testing
Selenium and JMeter Testing
 
Selenium and JMeter
Selenium and JMeterSelenium and JMeter
Selenium and JMeter
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
 
Test automation
Test automationTest automation
Test automation
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVEN
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVENAUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVEN
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVEN
 
Selenium - The Way Of Success
Selenium - The Way Of SuccessSelenium - The Way Of Success
Selenium - The Way Of Success
 
Data Driven Framework in Selenium
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in Selenium
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
jDriver Presentation
jDriver PresentationjDriver Presentation
jDriver Presentation
 
Selenium institute in bangalore
Selenium institute in bangaloreSelenium institute in bangalore
Selenium institute in bangalore
 
Katalon studio vs selenium comparision
Katalon studio vs selenium comparisionKatalon studio vs selenium comparision
Katalon studio vs selenium comparision
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
 
Selenium training
Selenium trainingSelenium training
Selenium training
 
Slides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testingSlides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testing
 

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

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 

Recently uploaded (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 

Selenium training in chennai

  • 2. What is TestNG? •So far we had been doing Selenium tests without generating a proper format for the test results. From this point on, we shall tackle how to make these reports using a test framework called TestNG. •TestNG is a testing framework that overcomes the limitations of another popular testing framework called JUnit. The "NG" means "Next Generation". •Most Selenium users use this more than JUnit because of its advantages. There are so many features of TestNG, but we will only focus on the most important ones that we can use in Selenium.
  • 3. Advantages of TestNG over JUnit There are three major advantages of TestNG over JUnit: Annotations are easier to understand Test cases can be grouped more easily Parallel testing is possible
  • 4. What is Selenium Grid? •Selenium Grid is a part of the Selenium Suite that specializes on running multiple tests across different browsers, operating systems, and machines in parallel. •Selenium Grid has 2 versions - the older Grid 1 and the newer Grid 2. We will only focus on Grid 2 because Grid 1 is gradually being deprecated by the Selenium Team. •Selenium Grid uses a hub-node concept where you only run the test on a single machine called a hub, but the execution will be done by different machines called nodes.
  • 5. When to Use Selenium Grid? You should use Selenium Grid when you want to do either one or both of following: •Run your tests against different browsers, operating systems, and machines all at the same time. This will ensure that the application you are testing is fully compatible with a wide range of browser-O.S combinations. •Save time in the execution of your test suites. If you set up Selenium Grid to run, say, 4 tests at a time, then you would be able to finish the whole suite around 4 times faster.
  • 6. • As we create software we always wish it should work differently with a different set of data. When it comes to testing the same piece of software, we can't be unfair to test it with just one set of data. Here again, we need to verify that our system is taking all set of combinations which it expected to support. • Here comes Parameterization in picture. To pass multiple data to the application at runtime, we need to parameterize our test scripts. • This concept which we achieve by parameterization is called Data Driven Testing .
  • 7. Type of Parameterization in TestNG- •To make parameterization more clear, we will go through the parameterization options in one the most popular framework for Selenium Webdriver - TestNG. There are two ways by which we can achieve parameterization in TestNG •With the help of Parameters annotation and TestNG XML file. •With the help of DataProvider annotation.
  • 8. •Cross Browser Testing is a type of functional test to check that your web application works as expected in different browsers. Why do we need Cross Browser Testing? •Web based applications are totally different from windows applications. A web application can be opened in any browser by the end user. For example some people prefer to open http://twitter.comin Firefox browser, while other's can be using Chrome browser or IE. •In the diagram below you can observe that in IE, the login box of twitter is not showing curve at all corners but we are able to see it in chrome browser.
  • 9. •File IO is a critical part for any software process. We frequently create a file, open it & update something or delete it in our Computers. Same is the case with Selenium Automation. We need a process to manipulate files with Selenium. •Java provides us different classes for File Manipulation with Selenium. In this tutorial we are going to learn how can we read and write on excel file with the help of Java IO package and Apache POI library.
  • 10. •Frameworks help to structure our code and make maintenance easy. Without frameworks we will place all our code and data in same place which is neither re-usable nor readable. Using Frameworks, produce beneficial outcomes like increase code re-usage , higher portability , reduced script maintenance cost etc There are mainly three type of frameworks created by Selenium WebDriver to automate manual testcases •Data Driven Test Framework •Keyword Driven Test Framework •Hybrid Test Framework
  • 11. Before we learn about Page Object Model, lets understand - Why POM ? •Starting a UI Automation in Selenium WebDriver is NOT a tough task. You just need to find elements, perform operations on it . •Consider this simple script to login into a website What is POM? •Page Object Model is a design pattern to create Object Repository for web UI elements. •Under this model, for each web page in the application there should be corresponding page class. •This Page class will find the WebElements of that web page and also contains Page methods which perform operations on those WebElements.
  • 12. Why do we need reporting ? •When we are using Selenium or any other automation tool, we are performing operations on the web application. But our purpose of automation is not just to exercise the Application Under Test. •We, as an automation tester are supposed to test the application, find bugs and report it to development team or higher management. Here the reporting gets importance for software testing process •TestNG Reporting •TestNG library provides a very handy reporting feature. After execution, TestNG will generate a test-output folder at the root of the project. This folder contains two type of Reports-
  • 13. •If a simple XPath is not able to find a complicated web element for our test script, we need to use the functions from XPath 1.0 library. With the combination of these functions, we can create more specific XPath. Let's discuss a 3 such functions – •Contains •Sibiling •Ancestor Let's study them in detail - •Contains: By using 'contains' function in XPath, we can extract all the elements which matches a particular text value. •Sibling: Using sibling keyword, we can fetch a web element on the which is related to some other element. •Ancestor: To find an element on the basis of the parent element we can use ancestor attribute of XPath.
  • 14. To understand extensions, lets first understand the three pillars of selenium IDE •Action: What operation you are performing on UI Screen •Assessors/Assertion: What verification you do on data you get from UI •Locator Strategy: How can we find the element in UI.
  • 15. •In this presentation, I have giv en the introduction of webdriver and explained about comparison of selenium RC. •Further topics will be expain in nest presentation. •If you are interested to join in the training reach us- 8122241286 •Visit us-http://thecreatingexperts.com/selenium-training-in- chennai/