Over the past few weeks, we added a new page for test case history and enhanced our table validation capabilities.
Test Case History
Now, all single re-tests generate a unique execution link so that users have a history of every execution.
- Previously, the historical record of a test case was captured on the final re-test before a full test run. If a suite was run and a test case was run as a single re-test, all versions but the last one were lost.
- These executions can be found grouped together by clicking the
Edit test case
button of the desired case. - The pop-up window to edit scripts without going to a separate page is now triggered by using the
Quick edit
link on the left of theEdit test case
button.
HTTP Requests
We added a new setting to Collect Browser HTTP requests info
, which can be found in Settings->Advanced->General Testing Settings.
When this setting is enabled, a file with all the HTTP request information can be found by clicking on More details…
on the step with the HTTP requests.
Table Validations
We added new commands to validate collective values on table rows or columns
- To check number of values:
check that first table at first column the value count is equal to "5"
check that first table at first column the number values is equal to "5"
- To check the sum of all values:
check that first table at first column the sum of values is equal to "5"
check that table at column "#" has a sum of values is greater than "5"
- To check the average of all values:
check that first table at first column the avg of values is equal to "5"
check that table at column "#" has an average of values is greater than "5"
- To check ascending order:
check that first table at first column has values sorted in ascending order
check that table at column "#" is sorted in ascending order
check that table at column "#" is ordered as ascending
- To check descending order:
check that first table at first column has values sorted in descending order
check that table at column "#" is sorted in descending order
check that table at column "#" is ordered as descending
Note 1: All numeric validations (count, sum, average) support all the operators to compare numbers (equals, greater, less, etc.)
Note 2: These validations are limited to tables tagged as a table
in HTML for now. It will not work for DIVs visually organized into tables.
Grabbing values
We added extended support for the grab command. Users can now grab multiple values from a table row or column. The values will be stored as a string representation of a JSON array in the variable specified on the command.
grab values from table "my-table" at first row and save it as "firstRowValues"
grab values from table "my-table" at first column and save it as "firstColumnValues"