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 […]
Rust Selenium Tests for Beginners
Automate Rust Lambda deploy using GitHub Actions
We are open-sourcing a GitHub Action that will let you deploy AWS Lambdas written in Rust. This helps us automate deploying Rust AWS Lambda functions using GitHub Actions. If you are interested in the implementation details of this GitHub Action, you can look at the source code here. You can also file issues in that repository to ask for any […]
How to use thirtyfour crate with Cucumber-rs: Part 1
This post shows how to set a webdriver instance produced by thirtyfour as a member of the World struct defined by Cucumber-rs. We hope to follow up with one more simple post on How to use thirtyfour crate with Cucumber-rs showing ways to write browser driven BDD test automation in Rust using thirtyfour and Cucumber-rs. Why bother writing browser automation […]
Error handling with Rust using delta-rs as an example
In this blog, I will explore the various ways to do handle and/or propagate errors with Rust. Qxf2 is transitioning to using Rust as our primary programming language. The Rust documentation is great and has a nice section on error handling and propagation. However, everytime we tried to implement some of those ideas in our day to day work, we […]
Implement PartialEq for a custom type in Rust
This post will show you a couple of ways to implement the PartialEq trait for a custom type in Rust. This is particularly useful for testers since we end up using the assert_eq! macro. A bit of background: Qxf2 has started adopting Rust as our primary language to write our tests and tools. The reasons for the shift from Python […]
Unresponsive function while creating new project in Rust
While working on a rust-based hackathon project at Qxf2, I encountered an unresponsive function when creating new project in Rust. Being a newbie in rust, I was unable to figure out the cause. I tried looking up the internet but could not find any suitable solutions. Hence, I thought of documenting the resolution to this issue so that anyone hitting […]
Decode an SQS message within a lambda using Rust
I recently wrote a lambda in Rust that needed me to decode an SQS message and use it within the lambda. This post will help fellow Rust newbies that are trying to decode an SQS message and use it within a lambda. The heart of this post is simply converting a string to a JSON – so please skip this […]