Selenium is an open source umbrella project for a range of tools and libraries aimed at supporting browser automation. It provides a playback tool for authoring functional tests across most modern web browsers, without the need to learn a test scripting language.
2. Continuous Testing (CT)
Continuous testing (CT) is the approach of executing automated
tests continuously throughout the entire software development life
cycle (SDLC).
Goal
The goal of CT is to evaluate software quality across the SDLC,
providing critical feedback earlier and enabling higher-quality
and faster deliveries.
3. VS
Manual Testing is a software testing technique in
which test cases are executed manually by a tester
i.e., human without using any automated tools.
Automated Testing is a software testing technique
in which test cases are executed using special
automated testing software tools.
• Requires more time • Requires less time
• Less accurate as there can be human errors
• More accurate as it uses tools and scripts to
execute test cases
• Comparatively slower • Significantly fast
• Suitable for small to medium scale projects • Suitable for complex and large-scale projects
4. 4
Manual Test Case Template
Test Scenario ID Login-1 Test Case ID Login-1A
Test Case Description Login – Positive test case Test Priority Hight
Pre-Requisite A Valid User Account Post-Requisite NA
Test Execution Steps:
S. No. Action Inputs
Expected
Output
Actual Output Test Browsers Test Result
Test
Comments
1
Launch application https://www.saucedemo.com/ Sauce Demo
Login Page
Sauce Demo
Login Page
Chrome Pass [Arsalan
13/12/2022
11:44 AM]:
Launch
Successfully
2
Enter correct username
and Password and hit
login button.
Username: standard_user
Password: secret_sauce
Login
Successfully
Login
Successfully
Chrome Pass [Arsalan
13/12/2022
11:45 AM]:
Login
Successfully
6. Selenium
• Selenium was created by Jason Huggins in 2004
• Selenium is a free (open-source) automated testing framework
used to validate web applications across different browsers and
platforms. You can use programming languages like Java, C#,
Python, etc. to create Selenium Test Scripts.
Jason Huggins
Selenium creator
7. Features of Selenium
Open-source
availability
Selenium is a publicly
accessible automation
framework and is free of cost.
works for all major browsers
such as Chrome, Firefox,
Opera, Edge, Safari etc.
Multi
browser
support
Language &
framework
support
Supports all the major
languages such as C#, Python,
Java for test automation.
A highly portable framework
that supports Windows,
Linux, macOS, UNIX etc.
Support
various
operating
systems
Parallel test
execution
Selenium allows parallel test
execution, which increases the
efficiency of the tests.
Ease of
implementation
Easy to use tool that helps to
create and execute test scripts
easily and effectively.
8. Different Types of Locators in Selenium
Locators are the way to identify an
HTML element on a web page.
9. Batch Commands to Run Test Cases
"C:UsersarsalSoftwaresnuget.exe" restore C:UsersHassan-SQA-
OfficeDesktopDevopsSeleniumAutomationDevopsSeleniumAutomation.sln
"C:WindowsMicrosoft.NETFramework64v4.0.30319MSBuild.exe" C:UsersHassan-SQA-
OfficeDesktopDevopsSeleniumAutomationDevopsSeleniumAutomation.sln
"C:Program FilesMicrosoft Visual
Studio2022CommunityCommon7IDECommonExtensionsMicrosoftTestWindowvstest.console.exe"
"C:UsersHassan-SQA-
OfficeDesktopDevopsSeleniumAutomationDevopsSeleniumAutomationbinDebugDevopsSeleniumAu
tomation.dll"