0% found this document useful (0 votes)
43 views17 pages

Automation Testing and Selenium Automation Tool

Uploaded by

Srinivas Dheeraj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views17 pages

Automation Testing and Selenium Automation Tool

Uploaded by

Srinivas Dheeraj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

AUTOMATION TESTING AND

SELENIUM AUTOMATION TOOL


PRESENTED BY
SRINIVAS DHEERAJ CHUNDURI
CONTENTS
1. WHAT IS AUTOMATION TESTING AND NEED FOR AUTOMATION
TESTING ?
2. WHY TO SWITCH TO AUTOMATION TESTING?
3. WILL AUTOMATION REPLACE MANUAL TESTING?
4. ADVANTAGES AND DISADVANTAGES OF AUTOMATION TESTING.
5. WHAT ARE DIFFERENT TYPES OF AUTOMATION TESTING?
6. SELENIUM ARCHITECTURE
7. WHY SELENIUM IS USED ? AND COMPARISON WITH OTHER
AUTOMATION/UI TOOLS
Q)WHAT IS AUTOMATION TESTING?
• AUTOMATION TESTING REFERS TO AUTOMATIC TESTING OF
SOFTWARE IN WHICH DEVELOPER OR TESTER WRITES THE TEST
SCRIPT ONCE BY USING AUTOMATION TESTING TOOLS AND
FRAMEWORKS AND RUN THE SOFTWARE.
• THIS TEST SCRIPT AUTOMATICALLY TEST THE SOFTWARE
WITHOUT ANY HUMAN INTERVENTION AND SHOWS THE RESULT
EITHER ERROR , BUGS ARE PRESENT IN SOFTWARE 0R NOT
AND WHETHER THE SOFTWARE IS READY TO BE DEPLOYED OR
NOT TO END USERS.
NEED FOR AUTOMATION TESTING
•DUE TO THE FOLLOWING REASONS THERE IS NEED FOR AUTOMATION TESTING:-
1)RUNNING TESTS 24/7: YOU CAN START THE TEST FROM ANYWHERE IN THE WORLD
AND ANYTIME YOU WANT TO. YOU CAN EVEN DO THAT REMOTELY IF YOU DON’T
HAVE A LOT OF DEVICES OR YOU DON’T HAVE THE POSSIBILITY TO BUY THEM.

2)FEWER HUMAN RESOURCES: YOU JUST NEED A TEST AUTOMATION ENGINEER TO


WRITE YOUR SCRIPTS TO AUTOMATE YOUR TESTS, INSTEAD OF A LOT OF PEOPLE
DOING BORING MANUAL TESTS OVER AND OVER AGAIN.

3)REUSABILITY: THE SCRIPTS ARE REUSABLE AND YOU DON’T NEED NEW SCRIPTS
EVERY TIME. ALSO, YOU CAN REDO THE STEPS THAT ARE EXACTLY AS THE
PREVIOUS ONES.

4)BUGS: AUTOMATION HELPS YOU FIND BUGS IN THE EARLY STAGES OF SOFTWARE
DEVELOPMENT, REDUCING EXPENSES AND WORKING HOURS TO FIX THESE
PROBLEMS AS WELL.

5)RELIABILITY: AUTOMATED TESTING IS MORE RELIABLE AND WAY QUICKER


WHEN RUNNING BORING REPETITIVE STANDARDIZED TESTS WHICH CAN NOT BE
SKIPPED, BUT MAY CAUSE ERRORS WHEN MANUALLY TESTED.
Q)WILL AUTOMATION REPLACE
MANUAL TESTING?
• THE ANSWER IS NO. BECAUSE MANUAL TESTING TESTS THE
SOFTWARE FUNCTIONALITY ,UI ,UX ,BEHAVIORS, AESTHETICS
WHEREAS AUTOMATION TESTING TESTS ONLY SOFTWARE
FUNCTIONALITY.
• IN MANUAL TESTING , ONE CAN THINK OF THE CLIENT’S SIDE
FEATURES AND THEIR TESTS , WHERE AS AUTOMATION CANNOT
THINK ABOUT CLIENT SIDE.
Q)WHY TO SWITCH TO AUTOMATION
TESTING?
THE FOLLOWING SIGNS HIGHLIGHT THE CHALLENGES AND LIMITATIONS OF MANUAL TESTING THAT CAN BE
EFFECTIVELY ADDRESSED THROUGH AUTOMATION:
•REPETITIVE AND MONOTONOUS TESTING: WHEN TESTING INVOLVES A HIGH VOLUME OF REPETITIVE
AND MONOTONOUS TASKS, IT BECOMES TEDIOUS FOR THE TESTER, THE TEAM, AND CAN POSE A RISK FOR
THE CUSTOMER EXPERIENCE AND THE OVERALL REPUTATION OF THE PRODUCT. AUTOMATION TESTING
CAN TAKE OVER THESE MUNDANE TASKS, FREEING UP TESTERS TO FOCUS ON MORE CRITICAL AND
STRATEGIC ASPECTS OF THEIR WORK.
•INCREASED SOFTWARE COMPLEXITY: AS SOFTWARE APPLICATIONS BECOME MORE COMPLEX, IT
BECOMES INCREASINGLY DIFFICULT TO TEST THEM MANUALLY. AUTOMATED TESTING CAN HELP TO
ENSURE THAT ALL AREAS OF THE APPLICATION ARE TESTED THOROUGHLY
•SHORTER RELEASE CYCLES: IN TODAY'S FAST-PACED BUSINESS WORLD, BUSINESSES ARE UNDER
PRESSURE TO RELEASE NEW PRODUCTS AND SERVICES MORE FREQUENTLY. AUTOMATED TESTING CAN
HELP TO SHORTEN THE RELEASE CYCLE BY REDUCING THE TIME IT TAKES TO TEST SOFTWARE.
•INCREASED CUSTOMER EXPECTATIONS: CUSTOMERS ARE INCREASINGLY DEMANDING HIGH-QUALITY
SOFTWARE THAT IS FREE OF DEFECTS. AUTOMATED TESTING CAN HELP TO ENSURE THAT SOFTWARE MEETS
CUSTOMER EXPECTATIONS.
•LIMITED RESOURCES: IN MANY BUSINESSES, TESTING RESOURCES ARE LIMITED. AUTOMATED TESTING
CAN HELP TO FREE UP TESTING RESOURCES SO THAT THEY CAN BE USED ON OTHER TASKS, SUCH AS
DEVELOPING NEW FEATURES OR FIXING BUGS.
ADVANTAGES OF AUTOMATION TESTING
Advantages of Automated Testing: Automated Testing has the following advantages:
1)Automated testing improves the coverage of testing as automated execution of test cases is faster than manual
execution.
2)Automated testing reduces the dependability of testing on the availability of the test engineers.
3)Automated testing provides round the clock coverage as automated tests can be run all time in 24*7 environment.
4)Automated testing takes far less resources in execution as compared to manual testing.
5)It helps to train the test engineers to increase their knowledge by producing a repository of different tests.
6)Automated testing has less chances of error hence more reliable.
7)As with automated testing test engineers have free time and can focus on other creative tasks.
DISADVANTAGES OF AUTOMATION TESTING
Automated Testing has the following disadvantages:
1.Automated testing is very much expensive than the manual testing.
2.Automated testing would also require additionally trained and skilled people.
3.Automated testing only removes the mechanical execution of testing process,
but creation of test cases still required testing professionals.
WHAT ARE DIFFERENT TYPES OF
AUTOMATION TESTING
1. UNIT TESTING
UNIT TESTING IS THE FIRST TYPE OF AUTOMATED TESTING IN THIS LIST. IT INVOLVES TESTING INDIVIDUAL SOFTWARE UNITS.
DEVELOPERS TYPICALLY PERFORM THIS TYPE OF AUTOMATED TESTING DURING DEVELOPMENT, WHICH HELPS IDENTIFY ISSUES
EARLY IN THE DEVELOPMENT LIFECYCLE. UNIT TESTING IS ESSENTIAL BECAUSE IT VERIFIES THE AUTHENTICITY OF THE CODE AND
ENSURES THAT THE CODE FUNCTIONS ACCURATELY. IT ALSO HELPS IDENTIFY ANY DEFECTS IN THE CODE, WHICH CAN BE FIXED
BEFORE INTEGRATING THE CODE WITH OTHER SOFTWARE COMPONENTS.
2. INTEGRATION TESTING
INTEGRATION TESTING IS AUTOMATED TESTING THAT INVOLVES TESTING HOW DIFFERENT SOFTWARE COMPONENTS WORK
TOGETHER. THIS TYPE OF TESTING HELPS IDENTIFY ISSUES RELATED TO INTEGRATING DIFFERENT SOFTWARE COMPONENTS.
INTEGRATION TESTING IS ESSENTIAL BECAUSE IT VERIFIES THAT THE DIFFERENT SOFTWARE COMPONENTS ARE WORKING
TOGETHER CORRECTLY AND COMMUNICATING WITH EACH OTHER EFFICIENTLY. IT COULD IDENTIFY ANY TYPE OF DEFECTS THAT
MAY OCCUR DUE TO THE INTEGRATION OF DIFFERENT SOFTWARE COMPONENTS.
3. FUNCTIONAL TESTING
FUNCTIONAL TESTING IS AUTOMATED TESTING THAT ALLOWS THE TESTING OF THE FUNCTIONING OF A SOFTWARE PRODUCT. IT
CHECKS WHETHER THE SOFTWARE PRODUCT IS COMPLETING SPECIFIC REQUIREMENTS AND PERFORMING ACCURATELY. THIS TYPE
OF AUTOMATED TESTING IS ESSENTIAL BECAUSE IT VERIFIES THAT THE SOFTWARE PRODUCT IS WORKING CORRECTLY AND
MEETING THE USERS' NEEDS.
4. REGRESSION TESTING
REGRESSION TESTING IS AUTOMATED TESTING THAT ALLOWS THE TESTING OF SOFTWARE PRODUCTS AFTER MAKING CHANGES TO
IT THAT ENSURE THE CHANGES MADE HAVE NOT PRODUCED ANY NEW DEFECTS IN THE SOFTWARE PRODUCT. REGRESSION TESTING
IS ESSENTIAL TO ENSURE THE SOFTWARE PRODUCT STILL FUNCTIONS CORRECTLY AFTER INTRODUCING CHANGES IN IT.
5. Performance Testing
Performance testing is automated testing that allows testing of how a software
product performs under various loads and conditions. It helps to identify
performance-related issues of the software product. Performance testing is
essential because it ensures the software product can handle the expected load
and perform as expected under different conditions.

6. Security Testing
Security testing is automated testing that allows testing the security of the
software product. It helps to identify any vulnerabilities in the software product
that attackers may exploit. Security testing is essential because it helps to
ensure that the software product is secure and not vulnerable to attacks.

7. Usability Testing
Usability testing is automated testing that involves testing the usability of the
software product. It helps to identify any issues related to the usability of the
software product to ease the experience and accessibility of users. Usability
testing is essential to ensure the software product is user-friendly and easy to
use.
SELENIUM ARCHITECTURE
THE SELENIUM ARCHITECTURE IS COMPRISED OF THE FOLLOWING
COMPONENTS:
•SELENIUM IDE
•SELENIUM RC
•SELENIUM WEBDRIVER
•SELENIUM GRID
NOW LET US UNDERSTAND EACH OF THESE COMPONENTS ONE BY ONE :
SELENIUM IDE
SELENIUM IDE STANDS FOR SELENIUM INTEGRATED DEVELOPMENT ENVIRONMENT.
IT WAS CREATED BY SHINYA KASATANI OF JAPAN AND LATER WENT THROUGH
FURTHER DEVELOPMENT. SELENIUM IDE IS A FIREFOX PLUGIN THAT ALLOWS THE
DEVELOPERS TO RECORD AND PLAYBACK THE SCRIPTS. ONE OF THE ADVANTAGES
OF SELENIUM IDE IS THAT IT DOES NOT REQUIRE ANY PROGRAMMING KNOWLEDGE.
SIMPLY KNOWING HTML WOULD SUFFICE. USUALLY, THE SELENIUM IDE IS USED AS
A PROTOTYPING TOOL BECAUSE OF ITS SIMPLICITY.
Selenium RC
Selenium RC stands for Selenium Remote Control. It is sometimes referred to as Selenium 1 because it
was the first flagship testing framework and remained a preferred web automation testing tool for a long
time. The RC bases its automation functions on JavaScript. The languages supported by Selenium RC
are Python, Perl, Ruby, Java, C#, and PHP. Also, almost all the available web browsers there are
supported by Selenium RC. It is to be noted though that Selenium RC has been officially deprecated.

Selenium WebDriver
Selenium WebDriver is an automation framework that allows automating user actions with modern-age
web browsers and communications with the browsers through a set of open-source APIs. The
implementation of Selenium WebDriver is carried out through a browser-centric drive.
Operating systems supported by Selenium WebDriver: Windows, Mac OS, Linux, Solaris
Programming languages supported by Selenium WebDriver are: Java, C#, PHP, Python, Perl, Ruby,
and Javascript
Web browsers supported by Selenium WebDriver are: Mozilla Firefox, Internet Explorer, Google
Chrome 12.0.712.0 and above, Safari, Opera 11.5 and above, Android, iOS, HtmlUnit 2.9 and above.

Selenium Grid
This component of the Selenium suite works together clubbed with the Selenium RC. It is used to run
parallel tests on machines against their respective browsers. Selenium. The working of Selenium Grid
depends on the browsers and operating systems supported by the entire framework. Since almost all
browsers and operating systems are supported by Selenium, it is easier for the Selenium Grid to run
multiple tests at the same time against different machines with different browsers.
WHY SELENIUM IS USED ? AND
COMPARISON WITH OTHER
AUTOMATION/UI TOOLS
SELENIUM IS USED FOR FOLLOWING REASONS:-
•Open source availability
•Widely used in industry
•Multi-browser support
•Support for programming languages and framework
•Support across various operating systems
•Ease of implementation
•Reusability and integrations
•Parallel test execution
•Less hardware usage
•Easy to learn and use
•Constant updates and Good community support
COMPARISON OF VARIOUS AUTOMATION /UI
TOOLS
THANK YOU!!!!

You might also like