Live Webinar: How to Select an Automation Tool in the AI Era: Hype vs Reality Register Now.
Turn your manual testers into automation experts!Request a Demo

Release Notes: Allowance for screen comparisons, counting rows in a table, conditionals, mock API calls, select all)

Weekly Newsletter
Receive weekly testRigor newsletters packed with insights on test automation, codeless testing, and the latest advancements in AI.

Last week, we released several new features.

Screen Comparison

  • We can now add the percentage of allowance for full screen comparisons.
compare screen to previous version with allowance of "1%"
  • By default, this treats the error as major and fails the test case, but you can also change the severity of the error.
compare screen to previous version with allowance of "1%" treating error as "minor"

Working with Tables

  • We can now count the number of rows in a table. The validation will only work on tables based on the <table> tag.
check that the number of all rows in the table "a" is equal to "7"

Conditionals

  • We can now execute almost any command with an if condition.
enter "John" into "First Name" if page contains "Sign Up"
click "Login" if checkbox "I accept these terms" is checked

Mock API calls

  • It is now possible to mock API calls and provide custom responses. This allows us to intercept responses of API calls that originate from actions triggered from the UI as opposed to calls that are triggered. 
  • For example, if you say mock call
    api GET "https://jsonplaceholder.typicode.com/todos/1" returning body "mocked
    response"
    , every time the application calls a GET on the “https://jsonplaceholder.typicode.com/todos/1” endpoint, we will return “mocked response”.
  • You can mock headers, body and http status code. For more information, see documentation: https://testrigor.com/docs/language/#mock-apis

Keyboard Command

  • We now support a command for selecting all the text in a text area or any text, in general:
enter ctrl a
Related Articles

Release Notes: Native Date Handling, Override Chrome Extension

Native Support for Date and Time Operations testRigor now supports native date and time handling with new built-in variables and ...

Release Notes: Version Control, Rerun Failed, Team Folders

Version Control for Test Cases This feature introduces test case versioning, similar to the existing functionality for rules, ...

Release Notes: New Setting for Finding Tables

New Setting for Finding Tables This update introduces a condition-based table search strategy to improve table detection ...
Privacy Overview
This site utilizes cookies to enhance your browsing experience. Among these, essential cookies are stored on your browser as they are necessary for ...
Read more
Strictly Necessary CookiesAlways Enabled
Essential cookies are crucial for the proper functioning and security of the website.
Non-NecessaryEnabled
Cookies that are not essential for the website's functionality but are employed to gather additional data. You can choose to opt out by using this toggle switch. These cookies gather data for analytics and performance tracking purposes.