
Learn to write maintainable and stable web automation scripts quickly using a tool, covering UI element identification, actions, assertions, and multi-browser support. Master Page object model and data driven testing.
Learn why and what to automate in the software development life cycle. Leverage automation for repetitive and hard-to-manual tests, gaining continuous feedback and cost savings.
Learn to install and configure the open source Sahi, set up the proxy and controller, and prepare browsers and scripts for automated web testing, using Sahi as a Selenium alternative.
Identify elements by analyzing page source, perform actions on them (enter text into fields, select from dropdowns, check boxes), and verify results with assertions via a powerful API.
Develop your first test script with Sahi: create a script file, write test steps, run the automated browser actions, and generate a detailed execution report that verifies the home page.
Explore advanced element locators using the Sahi full API to detect elements in relation to others, highlight selections, and locate boxes within specific regions, avoiding simple xpath.
Refine XPath strategies and locator techniques to identify web elements, locate text boxes near specified areas, modify selectors, and prepare reusable element definitions for later use.
Learn to locate and read multiple elements on a web page, including text boxes, by using locator patterns and area-based targeting to interact with several elements at once.
Implement the first advanced test script using Sahi, collecting all links, comparing each element to the expected text, and verifying the test report.
Explore how automated tests detect bugs by running scripts, observing failures, and using test groups to maximize coverage, with implications for deploying in production environments.
Learn to structure test automation scripts in a business-readable style by wrapping low-level actions in reusable functions, using clear assertions, waits, and credential handling.
Learn to automate interactions with drop downs, radio buttons, and check boxes using the Sahi test tool, including selecting values, verifying selections, and asserting outcomes on web forms.
Leverage data driven testing to run the same test scenario with multiple data sources, separating data from scripts to improve maintenance and coverage of all combinations.
Learn data driven testing implementation with the Sahi framework, building parameterized scripts, and running repeated test scenarios across multiple data sets using test data and parameters.
Explore the page object model, a design pattern that represents each web page as a page object containing elements and methods, enabling maintainable locators and reusable test actions.
Explore implementing the page object model for test automation, refactoring for maintainability. Build login verification on a home page using UI elements and parameterized inputs.
Extend and improve the page object model by creating a page object with UI elements and actions, refactoring tests to instantiate the page, and calling its functions to verify outcomes.
Learn how to download a file during a test, save it to a specified folder, and set a clear file name. Verify the saved file in logs and the report.
Learn to upload a file in a test automation workflow by configuring the test, passing the file as a parameter, and running the test to validate the upload.
Practice read and write file operations in test automation. Write text to a desktop file, read it back, and verify the content on a web page with streams and try-catch.
Software test automation is very popular topic nowadays.
Probably you heard something about Senenium, don't you?
This course is different than other courses about automaton. Selenium is not the best solution for each case. Maintenance test infrastructure can be time consuming with Selenium. In this course I will show you that you can write maintainable and stable automation scripts very quickly. And Sahi will help us with this.
Unlike Selenium, where you must download web drivers for each browser, Sahi solve this problem easily. Maintenance of test infrastructure will be handled by properly selected web automation tool - Sahi.
Let me shortly depict what you will learn in this course.
Prior automating web application with Selenium, Sahi or other dedicated tool, you need to understand why and what to automate.
After that, you will install and configure web automation tool Sahi which allows to write highly effective multi browser automated scripts.
Then, you will learn how to identify any UI element. Selenium uses XPaths for complicated HTML code whereas Sahi has its built-in API which makes constructing locators easier.
Also, we will learn how to perform a wide range of possible actions and assertions.
Finally, we will learn how to improve our tests and enhance their maintainability using Page Object Model and Data Driven Testing.
Selenium with TestNG or xUnit provides us with DDT but Sahi has its extremely simple implementation.
We will learn how to organize our tests into test suite and execute a lot of test scripts within one run. While Selenium with TestNG requires complicated XML files, Sahi implements suites as a simple list of tests you want to run!
At the end of my course, as a bonus, I will present you complicated things in simple way: how to download and upload files, how to read and write files. These tasks may be quite challenging in other technologies like Selenium with Java.
I am sure this course will very useful for you. And I guess you will think about migration your tests from popular technologies like Selenium, Protractor or others :-)
Welcome to my course!