Setting Up Selenium for Automated Testing
Selenium is a great open source tool for automating testing on web browsers and can significantly reduce your testing time and cost. The essential features and key components of Selenium and the key features of the Selenium Automation Framework. The different types of application testing that can be automated using Selenium. To set up Selenium with PyCharm, Selenium integration with Eclipse, and the use of Unittest to create test scripts in Python and generate HTML test execution reports.
- recall essential Selenium features and the different types of application testing that can be automated using Selenium
- recognize the key components of Selenium that are used to describe test suites and test steps involved in managing the Selenium testing life cycle
- recognize Selenium Automation Framework features and the steps involved in implementing test automation
- set up Selenium on Python and Java environments
- configure Selenium with PyCharm and Eclipse to set up Selenium test automation environments for Python and Java
- create a sample test script to illustrate how to write and execute a Selenium test script in Python using the PyCharm IDE
- configure Eclipse with the PyDev plugin and create a sample test script to illustrate how to write and execute a Selenium test script in Python using the Eclipse IDE
- create Selenium tests in Python with Unittest and create a cleanup strategy to free resources post test execution
- generate an HTML test suite execution report for Selenium Test Suites using Unittest and HTMLTestRunner
- use various assertions in Unittest to create productive and simplified Selenium test cases
Working With Selenium IDE
If you want to use the Selenium IDE to create, manage, and execute different types of tests, you should be familiar with the features and functionalities of the IDE. Explore the essential features and components of the Selenium IDE. You'll examine Selenese commands, as well as Wait and Element Verification commands, that can be used in th Selenium IDE. Finally, you'll learn how to install and configure the IDE to create, execute, and manage different types of test executions using the record-and-playback functionality and Selenese commands.
- recall the features of the Selenium IDE that make it a fast prototyping tool and recognize its essential components
- install the Selenium IDE and create test cases using the record-and-playback functionality of Selenium IDE
- configure the Selenium IDE Options Dialog Box and create and modify Selenese commands using the Editor
- create and execute test scripts in Selenium IDE using the record-and-playback feature
- list the set of Selenese commands that can be used in Selenium IDE to manipulate, examine, and verify the state of applications
- create and execute test cases manually using Selenese commands in Selenium IDE
- work with the Element Verification commands in Selenium IDE to improvise automation
- work with Wait commands to test page loading using Selenium IDE
- demonstrate test automation using the Selenium IDE to test modal and modeless dialogs for applications
- create and manage customized Selenium user extensions in the Selenium IDE using JavaScript
Working With WebDriver
Selenium is a framework for the automated testing of web applications. The interface used to send commands to browsers is called Selenium WebDriver. how to work with the features, elements, and capabilities of the Selenium WebDriver. We'll explore the benefits of using WebDriver as a browser automation framework, essential components, and the architecture of Selenium WebDriver. You'll also learn about different types of locators and see how to work navigation methods, locators, developer tools, XPath, and CSS selectors to identify locator elements. Finally, we'll learn how to use application page elements, web elements of modern applications, fetch attribute values, and generate customized XPath and CSS selectors.
- recall the disadvantages of Selenium RC and list the benefits of using WebDriver as a browser automation framework
- recognize prominent components of WebDriver and how the architecture of Selenium WebDriver can help APIs to interact with browsers to automate tests
- set up GeckoDriver and launch Firefox browser to initiate testing components of application
- use the Selenium WebDriver navigation methods to effectively manage browser navigation scenarios
- recognize the role of locators in Selenium and list the prominent types of Selenium locators
- identify basic locator elements like the ID, Name, and LinkText using developer tools
- select elements of an application page using Class Name and Tag Name
- locate application page elements using an XPath Expression
- use CSS selectors to identify one or more elements in a web page and describe the benefits of using CSS selectors instead of XPath
- work with selectors to select web elements of modern applications
- generate customized XPath selectors from HTML attributes
- determine get or fetch attribute values using scripts rather than using developer tools
- generate customized CSS selectors from HTM
Testing Single-page Applications
Single-page web applications (SPAs) are increasing in popularity due to the many benefits they offer to developers and end-users. SPAs are made of numerous components that need to be tested to ensure their correct functionality. Practicing these tests using Selenium and various standard frameworks will help in gaining proficiency in automated testing.
Examine the benefits and architecture of single-page applications and identify the prominent frameworks that can test their functionality. You'll then learn to automate the testing of core SPA components and functionalities using WebdriverIO, Android Emulator, mobile user agents, JMeter, and Selenium. You'll end this course by outlining the Selenium WebDriver limitations that test engineers should be aware of before test architecture planning.
- recall the architecture and benefits of single-page applications
- list the prominent testing frameworks that can be used for functional testing of single-page applications
- install and configure WebdriverIO and write test scripts to execute tests using a specs file
- automate testing scenarios where modern web applications use WebSocket as the networking layer
- write programs using Java to test auto suggestions and auto complete text box controls in modern web applications
- automate the testing of context menu behavior in modern web applications
- demonstrate the implementation of test automation to solve reCAPTCHAs using Selenium
- set up and execute Selenium WebDriver test scripts on Android Emulator
- execute Selenium WebDriver test scripts on browsers using their mobile user agent
- prepare Selenium to conduct web application load testing by allowing users to re-use existing functional tests by executing them with virtual concurrent users
- integrate Selenium scripts with JMeter to conduct performance tests
- list the essential testing strategies that can be adopted in a microservice architecture and Selenium's role in this
- use the Requests package to test API operations with Selenium Python
- implement end-to-end testing of modern applications written in React with Selenium WebDriver and Node.js
- recognize the limitations associated with Selenium WebDriver that test engineers need to be aware of before planning test architectures
Building Concentric.ai | ex Walmart, Amazon | SDE Backend | Java Springboot SQL Kafka K8s AWS Microservices
2 年Very informative ??