Welcome to Selenium
Course Content ..
• What is automation? Why and when we go for it
• What is Selenium? Why and when we go for it
• What is Webdriver?
• Core java?
• TestNG
• Maven
• POM
• Framework
• Jenkins
When manual testing is feasible
• Project is short term
• Testing need to be perform on the UI aspects
• Project is in initial development stage
• Need to perform Adhoc or Exploratory
Advantages of manual testing
• It can be performed on any kind of application
• It is preferred :
• UI based testing
• Adhoc testing
• Exploratory testing
• Changing requirements very frequently
• Start Immediately
• Newly designed test cases
• Must be perform before automation
• Short lifecycle projects
• No need of having any tool or programming knowledge
Disadvantages of manual testing
• Time consuming
• Very expansive when compare to automation over
a long run
• Less reliable compared to automation
• Not feasible for regression
What is automation testing
• Process of testing the application using an
automation tool
• Automation scripts will perform the actions
• Tools available in the market:
• QTP
• Selenium
• RFT
Which tests are suitable for automation
• Suitable for :
• Regression
• Load
• Performance
• Not Suitable for :
• User Interface
• Exploratory
• Adhoc
When to prefer automation over manual
• Repetitive tasks
• Time consuming tasks
• Parallel testing
• Non functional testing
• To avoid human errors
Selenium Advantages…
• Open source automation testing tool
• Multiple Language support
• Multiple OS support
• Multiple browser support
• Supports Parallel test execution
Selenium Disadvantages…
• No vendor support
• Supports only for web based apps
• Not suitable for Android/IOS apps
• Can’t handle captcha
Web driver Architecture…
• Selenium code is converted into JSON
• Json sent to browser
• Can’t handle captcha