Last week, we made some advanced technical features more user-friendly.


Generate Unique Strings

  • We added a user-friendly option to generate a unique string for things like emails, phone numbers, names and other values that need to be different every time a test case is executed.
  • The classes of symbols are:
    • # = [0-9], which means any random number from 0 to 9
    • $ = [a-z], which means any random lowercase letter
    • % = [A-Z], which means any random capital letter
    • * = [0-9a-zA-Z], means any random number or letter
  • As an example, you can use a command like the following one to generate such a string for an email address:
  • and, of course, you can escape those symbols with \. For example: \#

Partial Scroll

  • We added a way to control the length of testRigor’s default scroll action for situations when the targeted element is below the viewport before the scroll event and above the viewport after the scroll event. Implement the fractional scroll as follows:
    • scroll down by 1/2 of the screen
    • The partial scroll can be done at intervals of 1/2, 1/3, 1/4, 1/5, 1/6, 1/7 and 1/8.
    • See more here.

Image indexing

  • We added a way to target images and icons without plain-text identifiers by saving a screenshot in test data.
  • With this feature, you can refer to an image with expressions like the following:
    • click by image from stored value “hat”
    • click on the 2nd element by image from stored value “seat”
    • click on the 3rd element by image from stored value “star” with less than “10” % discrepancy
    • click on the 4th element by image from stored value “priceTag” with less than “0.3” % discrepancy
    • See more here.