Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 17

Selenium " A N A U T O M AT E D S O F T WA R E

T EST I NG TO O L"
1. Introduction
2. Requirements
3. Modules / Languages
4. Result / Analysis / Test cases
OUTLINE 5. Limitation
6. Comparison
7. Conclusion
8. Future Aspect
9. Reference
Introduction
Disadvantage

•Supports only web Applications


•Only User Communities available
•No reporting facilities.
•Limited support for image based testing.
Advantage
1. Open Source
2. Support multiple Programming language
3. Support multiple OS.
4. Support multiple browsers.
5. Support parallel test executions.
6. Provide support for frameworks (like TestNG, JUnit & NUnit ).
Selenium Suite
Software Requirements
1. JARs for your Selenium Module.
2. IDE for Writing Selenium Script.

Hardware Requirements
1. RAM: 128 MB
Requirements 2. Disk space: 124 MB for JRE; 2 MB for Java
Update
3. Processor: Minimum Pentium 2 266 MHz
processor
4. Browsers: Internet Explorer 9 and above, Firefox
5. Operating System : Any with Java Support
Unit Testing Module
JUnit is an open-source unit testing tool that helps to test units of
code. It is mainly used for unit testing Java projects; however, it can be
used with Selenium Webdriver to automate the testing of web
applications. So, you can even perform automation testing of a web
application with JUnit. To be precise, JUnit is a unit testing framework
for Java that helps to write test cases in a more structured format.
Selenium and JUnit can be used independently of each other, though,
testing with JUnit and Selenium combined helps to write test cases in a
Modules more structured way.
Steps automating test scripts for web application testing with JUnit
and Selenium:
1. Downloading JUnit Jars
2. Adding Jars to your Selenium project
3. Incorporating JUnit annotations and methods into your first
Selenium scripts
4. Cloud testing with JUnit and Selenium Using Lambda Test
Integration Testing Module

Selenium is only part of the integration testing phase, since it does not combine the product into a
group or checks data consistency. It just drives the product as user.
Integration test steps:
1. Build product
2. Deploy product
3. Setup environment (database, users, etc)
4. Run Selenium tests on full-stack (browser, webservice, datastore and back)
5. Verify results
Test cases
Results
It supports Web based applications only

Selenium automates Web browsers only, using Selenium we can automate


Computer Web Applications and Mobile Web Apps, but Selenium doesn’t
support Computer Desktop Applications, Mobile Native Applications and
Mobile Hybrid Applications.

Difficult to use, takes more time to create Test cases

Limitations Selenium WebDriver (Powerful tool in Selenium’s Tool suite) has


Programming interface only, no IDE, so we have to write steps for each and
every task they take more time.

No Built-in Reporting facility.

Selenium WebDriver doesn’t have built in Result Report facility, we need to


take help from either JUnit to TestNG Testing Framework to generate Test
Reports.

Limited support for Image Testing.


Comparison
Conclusion
Selenium testing tool has both advantages and shortcomings in comparison to other automation
testing tools. But, Selenium overshadows other testing tools in areas of –
Cost – Selenium comes at free of cost as it is an open source testing tool.
Parallel Testing – Tester can execute test scripts on multiple machines simultaneously.
Flexibility – Selenium supports test scripts in multiple languages, execution on multiple browsers
and operating systems.
Above three major features of Selenium and its different components made Selenium as one of
the best automation testing tool.
1. Currently Selenium can only be used for
web applications testing. It scope can also
be expand to desktop and even mobile
native applications.

Future Aspect 2. Selenium WebDriver doesn’t have built in


Result Report facility, we need to take help
from either JUnit to TestNG Testing
Framework to generate Test Report.
References

Selenium HQ

Edureka
Shubham Kumar 2017CA14
Surendra Dhakad 2017CA19
Created By Sumit Kumar Bangar 2017CA32
Rajat Baish 2017CA15

Thank You !

You might also like