I created a repository of working examples for test automation on the web UI using the thirty-four crate. Beginners often have trouble finding good articles with fully working Rust code, especially professional testers who are learning the language along with UI automation. Therefore, I created something for this niche.
If you are new to Rust testing and wondering how to automate UI, these examples can help you get started. We want to emphasize that we specifically created this code for beginners. As you become more comfortable with Rust, you will eventually improve your code writing.
Disclaimer: Qxf2 recognizes that the Rust ecosystem currently has low demand for Web UI Automation. In early 2023, proposing Web UI Automation with Rust, even within a Rust project, may seem unusual. While the Rust ecosystem has minimal web front-end work, any testing strategy, including Rust projects, will need some form of Web UI automation. Hence, we aim to equip our testers to write elementary Web UI automation code for Rust projects to prepare them for future opportunities..
Design of the examples
To demonstrate how to perform common web UI automation actions using the thirty-four crate, I designed the following examples in the repository. We utilize our tutorial page as an “application under test” for this purpose.. The examples we created illustrate how to perform various web UI automation actions, including calling a URL, setting text, clicking a button, setting a dropdown, selecting a checkbox, hovering, parsing a table, and more. By learning these concepts, we believe that beginners will be able to write code.
Rust Selenium Tests Slides
Rust Selenium Tests: Code
I have made the code for the examples available on our GitHub repository Rust Selenium Beginners. We have written these examples in Rust, and we have made sure they are well-commented and easy to follow. You can follow the instructions in the readme file to work with the examples.
We hope that these examples will help you get started!
Qxf2 regularly contributes to the world of free and open source software as one of the few testing service providers in the world. We have open-sourced several repositories on GitHub, host several applications that help testers test, and write about how we test on our blog.
If you are a company that values open source culture and is looking for testers, please contact Qxf2. We have the technical testers you are looking for!
My journey in software testing began with Calabash and Cucumber, where I delved into Mobile Automation using Ruby. As my career progressed, I gained experience working with a diverse range of technical tools. These include e-Discovery, Selenium, Python, Docker, 4G/5G testing, M-CORD, CI/CD implementation, Page Object Model framework, API testing, Testim, WATIR, MockLab, Postman, and Great Expectation. Recently, I’ve also ventured into learning Rust, expanding my skillset further. Additionally, I am a certified Scrum Master, bringing valuable agile expertise to projects.
On the personal front, I am a very curious person on any topic. According to Myers-Briggs Type Indicator, I am described as INFP-T. I like playing soccer, running and reading books.