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: Screen resolution, articles and resources

AI-Enhanced Screen Resolution Options for Web and Desktop Testing. We are excited to announce the introduction of customizable ...

Release Notes: Email Subscription, AI clicking and scrolling.

Stay Informed with Email Updates: Subscribe to Release Notes button We have introduced a convenient way to stay up-to-date with ...

Release Notes: Universal SAML

Universal SAML: SSO Authentication with Any Identity Provider testRigor now supports SAML Single Sign-On (SSO) authentication ...
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.