SlideShare una empresa de Scribd logo
1 de 20
SELENIUM
Introduction:-
•Selenium is a prevalent open-source electronic
mechanization instrument. This class will make you
an expert in Selenium Automation.
Selenium suite is contained 4 essential parts;
1. Selenium IDE
2. Selenium RC
3. Web Driver
4. Selenium Grid.
• The client is relied upon to pick admirably the
correct Selenium apparatus for his/her needs.
Selenium IDE is appropriated as a Firefox module
and it is less demanding to introduce and utilize.
Selenium IDE:
•Selenium coordinated advancement condition, acronym as
Selenium IDE is a robotized testing device that is discharged as a
Firefox module.
•It is one of the most straightforward and least demanding
apparatuses to introduce, learn and to proceed with the formation of
test contents.
•The device is laid on a record and playback key and furthermore
permits altering of the recorded contents.
•The most noteworthy part of utilizing selenium IDE is that the
client isn't required to have any earlier programming information.
•The base that the client needs is the little colleagues with HTML,
DOMS and JavaScript to make various test contents utilizing this
device.
•Being a Firefox module, Selenium IDE bolsters just
Firefox, therefore the made test contents could be executed
just on Firefox.
• A couple of more escape clauses make this device
improper to be utilized for complex test contents. Along
these lines, different apparatuses like Selenium RC, Web
Driver comes into the photo.
•Selenium IDE test cases can be traded into following
configurations/programming languages.java (IDE sent out
in Java),rb (IDE traded in Ruby),py (IDE traded in
Python),cs (IDE traded in C#)
The whole Selenium IDE content creation process can
be grouped into 3 lumps:
Process 1: Recording – Selenium IDE helps the client
to record client connections with the program and along
these lines the recorded activities in general are named
as Selenium IDE content.
Process 2: Playing back – In this area, we execute the
recorded content in order to confirm and screen its
dependability and achievement rate.
Process 3: Saving – Once we have recorded a steady
content, we might need to spare it for future runs and
relapses.
Web Driver:-
•Web Driver is a standout amongst the most effective and
famous apparatuses of Selenium toolbox. WebDriver
comes as a broadened variant of Selenium RC with
unnecessary favorable circumstances and addresses a
significant number of its restrictions.
• Web Driver stretches out its help to numerous most recent
programs and stages, not at all like Selenium IDE.
•Web Driver additionally doesn't require Selenium server to
be begun preceding execution of the test contents, not at all
like Selenium RC.
•Selenium RC in conglomeration with WebDriver API is known as
Selenium 2.0.
•Selenium was so created with a specific end goal to help dynamic site
pages and Ajax calls.
• It additionally underpins different drivers to practice online versatile
testing.
Web Driver Architecture:-
•WebDriver is an electronic testing instrument with an inconspicuous
contrast with Selenium RC.
•Since the device was based on the major where a disconnected customer
was made for every one of the web programs, no JavaScript Heavy
lifting was required as we talked about in our first instructional exercise.
•WebDriver makes guide calls to the Web program and the whole test
content is executed in this design. WebDriver utilizes the programs
support and capacities to mechanization.
Extraordinary Cases when Selenium Server is required with
WebDriver:-
•At the point when the client wishes to execute test contents on
the remote machine.
•At the point when the client wishes to execute test contents on
HtmlUnit Driver.
•At the point when the client wishes to execute test contents on
numerous stages.
•WebDriver is an absolutely question arranged structure that
deals with OS layer.
•It uses the program's local similarity to robotization without
utilizing any fringe substance.
• With the expanding request, it has picked up a huge
prevalence, client base and has progressed toward becoming by
a long shot a standout amongst the most broadly utilized open
source computerization testing apparatuses.
•WebDriver bolsters a differing scope of web programs and
their renditions.
•It underpins all the regular programs notwithstanding some
remarkable and uncommon programs like HtmlUnit program
dissimilar to Selenium RC and Selenium IDE.
•HtmlUnit Browser executes the test contents practically
equivalent to different programs with the exception of the way
that it keeps running in the headless mode i.e. GUI-less mode
and the client won't have the capacity to see the test content
execution.
•Said that the test content execution unfolds in headless mode,
in this way the execution speed takes a roll and revives the
execution.
•WebDriver additionally underpins online portable testing. In
this way it gives AndroidDriver and IphoneDriver to back online
versatile testing.
JUnit:-
•JUnit is an open source unit testing device and used to
test little/extensive units of code.
•To run the JUnit test you don't need to make a class
protest or characterize the primary technique.
• JUnit gives attestation library which is utilized to assess
the test outcome. Comments of JUnit are utilized to run
the test technique.
•JUnit is likewise used to run the Automation suite
having various experiments.
TestNG:-
•TestNG is a propel system planned in an approach to use the
advantages by both the designers and analyzers. For individuals as
of now utilizing JUnit, TestNG would appear to be the same with
some propel highlights.
•With the initiation of the structures, JUnit picked up a
tremendous notoriety over the Java applications, Java designers
and Java analyzers, with astoundingly expanding the code quality.
•Despite being an easy to use and straightforward framework,
JUnit has its own limitations which give rise to the need of
bringing TestNG into the picture.
•TestNG was created by an acclaimed programmer named as
“Cedric Beust”. TestNG is an open source framework which is
distributed under the Apache Software License and is readily
available for download.
•Talking about our requirement to introduce TestNG with
WebDriver is that it provides an efficient and effective test result
format that can, in turn, be shared with the stakeholders to have a
glimpse of the product’s/application’s health thereby eliminating
the drawback of WebDriver’s incapability to generate test reports.
•TestNG has an inbuilt exception handling mechanism which lets
the program to run without terminating unexpectedly.
•
•Both TestNG and JUnit belong to the same family of Unit
Frameworks where TestNG is an extended version to JUnit and is
more extensively used in the current testing era.
Highlights of TestNG:-
•Support for explanations .
•Support for parameterization .
•Propel execution technique that does not require test suites to be made .
•Support for Data Driven Testing utilizing Data suppliers .
•Empowers client to set execution needs for the test techniques .
•Backings danger safe condition when executing different strings
•Promptly bolsters joining with different instruments and modules like form
apparatuses (Ant, Maven and so forth.), Integrated Development Environment
(Eclipse).
•Encourages client with powerful methods for Report Generation utilizing ReportNG.
Selenium customer API:-
As an other option to composing tests in Selenese, tests can likewise
be composed in different programming dialects. These tests at that
point speak with Selenium by calling techniques in the Selenium
Client API. Selenium as of now gives customer APIs to Java, C#,
Ruby, JavaScript and Python.
As a contrasting option to composing tests in Selenese, tests can
likewise be composed in different programming dialects. These
tests at that point speak with Selenium by calling strategies in the
Selenium Client API.
•Selenium right now gives customer APIs to Java, C#, Ruby,
JavaScript and PythonWhile Selenium IDE may appear a gainful
and productive instrument for composing experiments, it needs
numerous fundamental highlights of a testing apparatus:
1. Restrictive articulations
2.Circles,Logging
3.Exemption taking care of
4.Revealing
5.Test installations and information driven tests
6.Test conditions
7.Taking screen captures
Selenium RC is the response to an all the more intense test-suite
for your applications.
It takes after a customer/server display enabling customer libraries
to execute tests on a program controlled by the server.
Selenium Grid:-
•Selenium Grid is utilized to run various tests all the
while on various programs and stages.
• The center point is the essential issue wherein you
stack your tests.
•Hubs are the Selenium occurrences that will execute
the tests that you stacked on the center point.
Diagram-1:-
Automation Framework architecture:
Thank You
Visit our Website:
www.greenstechnologys.com
http://www.trainingintambaram.net
Contact : 8939925577,9384637514
Place: Chennai,Bangalore

Más contenido relacionado

La actualidad más candente

La actualidad más candente (19)

Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020
 
Best java automation training institute in Bangalore - Selenium Labs
Best java automation training institute in Bangalore - Selenium Labs Best java automation training institute in Bangalore - Selenium Labs
Best java automation training institute in Bangalore - Selenium Labs
 
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
International journal of applied sciences and innovation   vol 2015 - no 1 - ...International journal of applied sciences and innovation   vol 2015 - no 1 - ...
International journal of applied sciences and innovation vol 2015 - no 1 - ...
 
Java for beginners
Java for beginnersJava for beginners
Java for beginners
 
Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using selenium
 
What is selenium
What is seleniumWhat is selenium
What is selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
Python Testing 101 with Selenium
Python Testing 101 with SeleniumPython Testing 101 with Selenium
Python Testing 101 with Selenium
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriver
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
Test Automation Using Python | Edureka
Test Automation Using Python | EdurekaTest Automation Using Python | Edureka
Test Automation Using Python | Edureka
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Automation framework using selenium webdriver with java
Automation framework using selenium webdriver with javaAutomation framework using selenium webdriver with java
Automation framework using selenium webdriver with java
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 

Similar a Selenium

Shahnawaz Md Test Engineer
Shahnawaz Md Test EngineerShahnawaz Md Test Engineer
Shahnawaz Md Test Engineer
Shahnawaz Md
 

Similar a Selenium (20)

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
 
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
 
Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeople
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 
Shahnawaz Md Test Engineer
Shahnawaz Md Test EngineerShahnawaz Md Test Engineer
Shahnawaz Md Test Engineer
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
 
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfModule-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
 
5 Best Automation Testing Tools to Speed up Testing.pdf
5 Best Automation Testing Tools to Speed up Testing.pdf5 Best Automation Testing Tools to Speed up Testing.pdf
5 Best Automation Testing Tools to Speed up Testing.pdf
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
 
Top 20 best automation testing tools
Top 20 best automation testing toolsTop 20 best automation testing tools
Top 20 best automation testing tools
 
#ATAGTR2020 Presentation - Universal Test Automation Framework
#ATAGTR2020 Presentation - Universal Test Automation Framework#ATAGTR2020 Presentation - Universal Test Automation Framework
#ATAGTR2020 Presentation - Universal Test Automation Framework
 
Kasi Resume
Kasi ResumeKasi Resume
Kasi Resume
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 
Selenium And Its Types
Selenium And Its TypesSelenium And Its Types
Selenium And Its Types
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
selenium
selenium selenium
selenium
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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
 
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
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 

Selenium

  • 2. Introduction:- •Selenium is a prevalent open-source electronic mechanization instrument. This class will make you an expert in Selenium Automation. Selenium suite is contained 4 essential parts; 1. Selenium IDE 2. Selenium RC 3. Web Driver 4. Selenium Grid. • The client is relied upon to pick admirably the correct Selenium apparatus for his/her needs. Selenium IDE is appropriated as a Firefox module and it is less demanding to introduce and utilize.
  • 3. Selenium IDE: •Selenium coordinated advancement condition, acronym as Selenium IDE is a robotized testing device that is discharged as a Firefox module. •It is one of the most straightforward and least demanding apparatuses to introduce, learn and to proceed with the formation of test contents. •The device is laid on a record and playback key and furthermore permits altering of the recorded contents. •The most noteworthy part of utilizing selenium IDE is that the client isn't required to have any earlier programming information. •The base that the client needs is the little colleagues with HTML, DOMS and JavaScript to make various test contents utilizing this device.
  • 4. •Being a Firefox module, Selenium IDE bolsters just Firefox, therefore the made test contents could be executed just on Firefox. • A couple of more escape clauses make this device improper to be utilized for complex test contents. Along these lines, different apparatuses like Selenium RC, Web Driver comes into the photo. •Selenium IDE test cases can be traded into following configurations/programming languages.java (IDE sent out in Java),rb (IDE traded in Ruby),py (IDE traded in Python),cs (IDE traded in C#)
  • 5. The whole Selenium IDE content creation process can be grouped into 3 lumps: Process 1: Recording – Selenium IDE helps the client to record client connections with the program and along these lines the recorded activities in general are named as Selenium IDE content. Process 2: Playing back – In this area, we execute the recorded content in order to confirm and screen its dependability and achievement rate. Process 3: Saving – Once we have recorded a steady content, we might need to spare it for future runs and relapses.
  • 6. Web Driver:- •Web Driver is a standout amongst the most effective and famous apparatuses of Selenium toolbox. WebDriver comes as a broadened variant of Selenium RC with unnecessary favorable circumstances and addresses a significant number of its restrictions. • Web Driver stretches out its help to numerous most recent programs and stages, not at all like Selenium IDE. •Web Driver additionally doesn't require Selenium server to be begun preceding execution of the test contents, not at all like Selenium RC.
  • 7. •Selenium RC in conglomeration with WebDriver API is known as Selenium 2.0. •Selenium was so created with a specific end goal to help dynamic site pages and Ajax calls. • It additionally underpins different drivers to practice online versatile testing. Web Driver Architecture:- •WebDriver is an electronic testing instrument with an inconspicuous contrast with Selenium RC. •Since the device was based on the major where a disconnected customer was made for every one of the web programs, no JavaScript Heavy lifting was required as we talked about in our first instructional exercise. •WebDriver makes guide calls to the Web program and the whole test content is executed in this design. WebDriver utilizes the programs support and capacities to mechanization.
  • 8. Extraordinary Cases when Selenium Server is required with WebDriver:- •At the point when the client wishes to execute test contents on the remote machine. •At the point when the client wishes to execute test contents on HtmlUnit Driver. •At the point when the client wishes to execute test contents on numerous stages.
  • 9. •WebDriver is an absolutely question arranged structure that deals with OS layer. •It uses the program's local similarity to robotization without utilizing any fringe substance. • With the expanding request, it has picked up a huge prevalence, client base and has progressed toward becoming by a long shot a standout amongst the most broadly utilized open source computerization testing apparatuses. •WebDriver bolsters a differing scope of web programs and their renditions. •It underpins all the regular programs notwithstanding some remarkable and uncommon programs like HtmlUnit program dissimilar to Selenium RC and Selenium IDE.
  • 10. •HtmlUnit Browser executes the test contents practically equivalent to different programs with the exception of the way that it keeps running in the headless mode i.e. GUI-less mode and the client won't have the capacity to see the test content execution. •Said that the test content execution unfolds in headless mode, in this way the execution speed takes a roll and revives the execution. •WebDriver additionally underpins online portable testing. In this way it gives AndroidDriver and IphoneDriver to back online versatile testing.
  • 11. JUnit:- •JUnit is an open source unit testing device and used to test little/extensive units of code. •To run the JUnit test you don't need to make a class protest or characterize the primary technique. • JUnit gives attestation library which is utilized to assess the test outcome. Comments of JUnit are utilized to run the test technique. •JUnit is likewise used to run the Automation suite having various experiments.
  • 12. TestNG:- •TestNG is a propel system planned in an approach to use the advantages by both the designers and analyzers. For individuals as of now utilizing JUnit, TestNG would appear to be the same with some propel highlights. •With the initiation of the structures, JUnit picked up a tremendous notoriety over the Java applications, Java designers and Java analyzers, with astoundingly expanding the code quality. •Despite being an easy to use and straightforward framework, JUnit has its own limitations which give rise to the need of bringing TestNG into the picture. •TestNG was created by an acclaimed programmer named as “Cedric Beust”. TestNG is an open source framework which is distributed under the Apache Software License and is readily available for download.
  • 13. •Talking about our requirement to introduce TestNG with WebDriver is that it provides an efficient and effective test result format that can, in turn, be shared with the stakeholders to have a glimpse of the product’s/application’s health thereby eliminating the drawback of WebDriver’s incapability to generate test reports. •TestNG has an inbuilt exception handling mechanism which lets the program to run without terminating unexpectedly. • •Both TestNG and JUnit belong to the same family of Unit Frameworks where TestNG is an extended version to JUnit and is more extensively used in the current testing era.
  • 14. Highlights of TestNG:- •Support for explanations . •Support for parameterization . •Propel execution technique that does not require test suites to be made . •Support for Data Driven Testing utilizing Data suppliers . •Empowers client to set execution needs for the test techniques . •Backings danger safe condition when executing different strings •Promptly bolsters joining with different instruments and modules like form apparatuses (Ant, Maven and so forth.), Integrated Development Environment (Eclipse). •Encourages client with powerful methods for Report Generation utilizing ReportNG.
  • 15. Selenium customer API:- As an other option to composing tests in Selenese, tests can likewise be composed in different programming dialects. These tests at that point speak with Selenium by calling techniques in the Selenium Client API. Selenium as of now gives customer APIs to Java, C#, Ruby, JavaScript and Python. As a contrasting option to composing tests in Selenese, tests can likewise be composed in different programming dialects. These tests at that point speak with Selenium by calling strategies in the Selenium Client API.
  • 16. •Selenium right now gives customer APIs to Java, C#, Ruby, JavaScript and PythonWhile Selenium IDE may appear a gainful and productive instrument for composing experiments, it needs numerous fundamental highlights of a testing apparatus: 1. Restrictive articulations 2.Circles,Logging 3.Exemption taking care of 4.Revealing 5.Test installations and information driven tests 6.Test conditions 7.Taking screen captures Selenium RC is the response to an all the more intense test-suite for your applications. It takes after a customer/server display enabling customer libraries to execute tests on a program controlled by the server.
  • 17. Selenium Grid:- •Selenium Grid is utilized to run various tests all the while on various programs and stages. • The center point is the essential issue wherein you stack your tests. •Hubs are the Selenium occurrences that will execute the tests that you stacked on the center point.
  • 20. Thank You Visit our Website: www.greenstechnologys.com http://www.trainingintambaram.net Contact : 8939925577,9384637514 Place: Chennai,Bangalore