Skip to main content

Introducing Numeric

Β· 3 min read

Love numbers? You'll love Serenity/JS 3.29! πŸŽ‰

We’re excited to share the latest release of Serenity/JS, which is packed with new powerful features for handling numeric data in your automated tests!

New to Serenity/JS?​

Serenity/JS web testing tutorial was called "the best guide if you want to take your automation skills to the next level." ❀️

If you're new to Serenity/JS or web automation in general, start with "Your first web scenario".

New in Serenity/JS 3.29​

Built-in support for arithmetic operations​

Part of the Serenity/JS Core module, the new Numeric class offers built-in support for performing arithmetic operations on both synchronous and asynchronous data types directly within your Serenity/JS test scenarios.

In addition, this new class offers methods to help you extract numeric data from REST API responses and web interfaces and convert it to a desired numeric data type without any external libraries or complex workarounds.

This enhancement makes your tests more readable, reduces the risk of calculation errors, and ensures data-driven scenarios are both easy to implement and maintain. With Numeric, your test logic is cleaner, making Serenity/JS even more developer-friendly.

Learn about Numeric.

More Serenity/JS examples in your IDE!​

We continue our effort to bring the thousands of examples available in the Serenity/JS API documentation close to you and your team. As part of that, the new Numeric class ships with 15 new examples, demonstrating how to extract numeric data from user interfaces and data objects. You'll also learn how to use the new features with Serenity/JS Page Element Query Language to make extracting the right UI element even easier!

Check out the Serenity/JS API docs at https://serenity-js.org/api/

Enjoy Serenity!

Numeric API Documentation in Your IDE

Your feedback matters!​

I hope this latest release of Serenity/JS will make it even easier for you and your team to create high-quality test automation.

Let me know what you think of the new features in the comments below πŸ‘‡πŸ‘‡πŸ‘‡

πŸ“£ Stay up to date​

New features, tutorials, and demos are coming soon! Follow Serenity/JS on LinkedIn, subscribe to Serenity/JS channel on YouTube and join the Serenity/JS Community Chat to stay up to date! Please also make sure to star ⭐️ Serenity/JS on GitHub to help others discover the framework!

Follow Serenity/JS on LinkedIn Watch Serenity/JS on YouTube Join Serenity/JS Community Chat GitHub stars

πŸ’› Support Serenity/JS​

If you appreciate all the effort that goes into making sophisticated tools easy to work with, please support our work and become a Serenity/JS GitHub Sponsor today!

GitHub Sponsors