SELENIUM
TABLE OF CONTENT
Introduction to Selenium |
About This Course |
What is Selenium? |
Advantages of using Selenium automation tool |
What is Selenium IDE? |
Selenium IDE Features |
Benefits of Selenium IDE |
Course Syllabus 1. Selenium with Java 2. Selenium with Python 3. Conclusion |
Introduction to Selenium
Selenium is one of the portable open source automation tool which is used for most of the software testing application. It is maintained by Apache Software Foundation. Selenium Automation testing tool is one of the easiest testing tool that permit the users to write and record test results without learning any particular programming language. This open source automation testing software can be easily downloaded through the internet. Nowadays testing is very important for many fields like analysis the functionality of a website, any software application, and web-based programs.
About This course?
Intellipaat’s Selenium Course is based on the online Automation Testing course, which will help you become a certified Selenium tester. As part of the Selenium training, you will learn about components such as Selenium IDE, RC, Selenium Web Driver, and Selenium Grid through hands-on projects and case studies.
What is Selenium?
Selenium is an open-source, free automated testing toolkit for web applications that works with various platforms and browsers. It specializes in automating web-based applications. Ruby, Java, PHP, and other programming languages can all be combined with Selenium to create a single interface that developers can use to construct test scripts.
Advantages of using Selenium automation tool
Highly Flexible
Selenium automation tool is a portable and very flexible structure. If you daily repeating same work which is related to software field you can create a new tool for that work If you understand the concept of selenium. It makes the work simple. You can easily add its test cases and frameworks to your projects.
Compatibility
Being a highly flexible utility, it can be run on any operating systems like Windows, Macintosh, and Linux etc. It also runs different web browsers as Firefox, Opera, Safari, and Internet Explorer. Selenium allows you to generate reports on multiple languages in very less effort.
Free of Cost
Selenium is an open source testing tool and it can be downloaded freely through World Wide Web. Also you don’t need to purchase any license key for installing this software.
What is Selenium IDE?
Selenium IDE (Integrated Development Environment) is a plug-in for the Mozilla Firefox web browser for running Selenium scripts. It allows software testing professionals to control the tests, such as record, edit, play, debugs, etc. It consists of the core of Selenium which executes the tests. It does not just control the tests, but it provides an environment for the scripts to run.
Selenium IDE Features
- Automatically record test cases – Selenium IDE comes with a feature of automatically recording test cases. It can do that by understanding how a particular web application or website has been interacting with the system. In case you don’t want to use this feature, you may disable it.
- In-built Assertion Functionality– Users can verify and add asserts to the test scripts which are built on Selenium IDE. These commands are useful for users who want to be thorough with the properties of web pages. A text box with a list of verifying and assert commands pop up every time the user clicks on any element. This list keeps on expanding for as long as the user uses Selenium IDE.
- Comes with multiple actions– Selenium IDE lets users perform multiple actions using Selenese commands. We’ll talk more about them later in the blog.
- Responsive web bugs have nowhere to hide– Selenium IDE helps identify the actual case of bugs in the front-end. Applitools Root Cause Analysis can be analyzed by running a Selenium IDE script with the Visual Grid. Once the bug is found, you can click on it to open the Document Object Model (DOM) and Cascading Style Sheet (CSS).
- Third-party plugins support – Selenium IDE supports third-party plugins. You can use these plugins to upload scripts to a cloud, monitor production application services, etc.
- Runs from Continuous Integration build scripts– Selenium IDE Runner can easily fit into the CI build scripts. This is only possible if the CI server can call selenium-ide-runner as well as upload the .side file.
- Selenium IDE is now cross-browser – Selenium IDE is now also available on Google Chrome, Firefox Add-on, and IE Safari.
- Visually test responsive web apps – Selenium IDE lets users test their web pages on the Visual Grid. It has around 50 emulated devices, browsers as well as viewports.
Benefits of Selenium IDE
- It provides users with the ability to record their test cases automatically, depending on the interactions with the browser
- It provides a lot more flexibility to the users in using test cases
- It works on Selenese commands and helps IDE help with what has to be done
- It lets developers set breakpoints when trying to debug test cases
- It lets users reuse the test cases using the run command
Course Syllabus
Selenium with Java
Module 1: Course Objective
- Understand Oops / java concepts
- Selenium IDE, RC
- Selenium WebDriver tool in depth, it’s features & components
- Building a new Test Framework by using Web Driver, Test NG, and Maven
Module 2: Selenium Introduction
- Selenium Introduction
- What is Selenium and Why Selenium
- Use of Automation Testing?
- Explanation of Selenium and its advantages
- Differences between Selenium and QTP
- Selenium Components
- Introduction of selenium Components
Module 3: OOPs concepts and Core Java Introduction
- OOPs concepts
- Setup Java environment – Download JDK and Setup eclipse
- Java programming concepts
- Class, Object, variables, methods, Packages
- Conditions and loops
- Access and non-access modifiers
- Advanced Java Programming
- Interfaces, Inheritance
- Collections, Exceptions
Module 4: Selenium IDE and RC Introduction
- Installing Selenium IDE
- “Selenese” – Selenium Commands
- Actions, Asserts, Assessors.
- Developing Test Cases & Test Suites with Selenium-IDE
- Introduction to Selenium RC
Module 5: Installations
- eclipse-Oxygen
- JDK 1.8
- Firefox 47.0.1, firebug and file path
- Set up TestNG, Maven and Selenium (2.53.1 &3.0 +) for eclipse
Module 6: Testing Framework and Tools
- Introduction of the Testing framework
- Types of frameworks
- Tools for developing Test Framework
- TestNG introduction and Configuration with eclipse
- TestNG Annotations and Data Providers
- Creating Test Suit with TestNG
Module 7: Framework
- Moduler Frame work
- POM
- Data driven
- paramitarization
- Hybrid Framework
Module 8: Develop Hybrid Framework
- Developing Hybrid Framework for Web Application using WebDriver /TestNG and Maven
- Use external Data for Testing (Excel sheet, XML files, Property file)
- Reading and understanding reports
- Screenshots of failed Test case
Module 9: Configuration Management
- Jenkins Installation
- Maven Installation
- Dependencies and configure Maven Project
- Integrate Maven projects in Jenkins
Selenium with Python
Module 1: Introduction
- Why do we need Selenium? (Though, there are many automation tools are available)
- Selenium with Java vs. Python (pros and cons)
- Program structure
Module 2: Python Programming
- Basic Programming in Python
- Function & Parameters in Python
- Python Data structures and operation
- File Operations
- Modules
- Object Oriented Programming
Module 3: Execution steps
- Environment setup(python, Pycharm, Selenium and etc.,)
- Introduction with Python and Pycharm
- First Script on Selenium
Module 4: Selenium- Web Driver
- Introduction to Web driver and Remote vs. Local
- Guide to install Web driver
- Creating your first script on Web driver
- Accessing Forms in Web driver
- Accessing Links and Table content in Web driver
- Remote web driver
Module 5: Automation Framework
- Advanced Web element access method- Contains, Sibling, Ancestor and etc.,
- Framework designing methods
- Framework adaptation
- Feature Testing Automation
- Report Generation out of Automation
- Real time Automation and the Challenges
Module 6: PyAutoGUI – Controlling Mouse and Keyboard
- Introduction to pyautogui
- Accessing Flash content using pyautogui
- Controlling Keyboard and Mouse events on web driver
Conclusion
Selenium is a cost-effective and flexible tool developers can use in the automation testing of their web applications. The most intriguing feature of this software is the ability to test applications across various web browsers. This ensures that websites do not crash or breakdown in certain browsers.