Turn your manual testers into automation experts! Request a DemoStart testRigor Free

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

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: Typing and sendKeys, Screen Reading

Typing text over 250 characters using sendKeys Easily type text exceeding 250 characters in fields with the sendKeys command. To ...

Release Notes: Telnyx integration, API Settings, Run Options

SMS Validation Integration via Telnyx in testRigor We’re excited to add Telnyx as a new SMS validation provider in Settings ...

Release Notes: Rule History, Failed Rules and AI new features

Version History with Rollback for Rule Management We’ve added a Version History section to enhance rule management by allowing ...
On our website, we utilize cookies to ensure that your browsing experience is tailored to your preferences and needs. By clicking "Accept," you agree to the use of all cookies. Learn more.
Cookie settings
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.