SlideShare a Scribd company logo
1 of 17
SELENIUM WITH CT
Arsalan Ahmed Khatyan SP19-BSSE-0018
Hassan Ali Gohar SP19-BSSE-0016
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.
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
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
5
Automation Test Case Template
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
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.
Different Types of Locators in Selenium
Locators are the way to identify an
HTML element on a web page.
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"
1  Click
Create/Setup Automation Project
2  Search Unit Test Project of Dot Net Framework
3  Click on Next
Create/Setup Automation Project (Cont.)
4  Write Project Name
5  Select Dot Framework
6  Click on Create
Create/Setup Automation Project (Cont.)
7  Right Click
Create/Setup Automation Project (Cont.)
8  Click on manage nugget packages
Create/Setup Automation Project (Cont.)
9  click and Install
Create/Setup Automation Project (Cont.)
THANK YOU 

More Related Content

Similar to SELENIUM with CT.pptx

Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
Sundar Sritharan
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
 
What is Selenium Testing.pdf
What is Selenium Testing.pdfWhat is Selenium Testing.pdf
What is Selenium Testing.pdf
AnanthReddy38
 

Similar to SELENIUM with CT.pptx (20)

Why does Selenium Succeed?
Why does Selenium Succeed?Why does Selenium Succeed?
Why does Selenium Succeed?
 
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
 
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
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 
Selenium Automation Testing- Features and Benefits
Selenium Automation Testing-  Features and BenefitsSelenium Automation Testing-  Features and Benefits
Selenium Automation Testing- Features and Benefits
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Making Sense of Selenium
Making Sense of SeleniumMaking Sense of Selenium
Making Sense of Selenium
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
 
Selenium
SeleniumSelenium
Selenium
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Selenium
SeleniumSelenium
Selenium
 
Selenium And Its Types
Selenium And Its TypesSelenium And Its Types
Selenium And Its Types
 
How To Become A Selenium Expert?
How To Become A Selenium Expert?How To Become A Selenium Expert?
How To Become A Selenium Expert?
 
What is Selenium Testing.pdf
What is Selenium Testing.pdfWhat is Selenium Testing.pdf
What is Selenium Testing.pdf
 
Software Testing Tools Training
Software Testing Tools TrainingSoftware Testing Tools Training
Software Testing Tools Training
 
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
 
Tools for Software Testing
Tools for Software TestingTools for Software Testing
Tools for Software Testing
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 
E2 e test with testcafe
E2 e test with testcafeE2 e test with testcafe
E2 e test with testcafe
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

SELENIUM with CT.pptx

  • 1. SELENIUM WITH CT Arsalan Ahmed Khatyan SP19-BSSE-0018 Hassan Ali Gohar SP19-BSSE-0016
  • 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"
  • 10. 1  Click Create/Setup Automation Project
  • 11. 2  Search Unit Test Project of Dot Net Framework 3  Click on Next Create/Setup Automation Project (Cont.)
  • 12. 4  Write Project Name 5  Select Dot Framework 6  Click on Create Create/Setup Automation Project (Cont.)
  • 13. 7  Right Click Create/Setup Automation Project (Cont.)
  • 14. 8  Click on manage nugget packages Create/Setup Automation Project (Cont.)
  • 15. 9  click and Install Create/Setup Automation Project (Cont.)
  • 16.