What is Testim.io?

Erick Villeda
3 min readJun 29, 2021

--

Testim.io is a cloud platform that uses AI for fast authoring, execution, and maintenance of automated tests.

Introduction

Above is the official description of Testim.io, but what this encompass? When testing projects that may be written in coding languages you are not familiar with

Allowing a Software Tester to test code and communicate with their team regardless of the source code is an extremely powerful tool. Javascript is typically used when you want write custom tests rather than use the simple yet effective design of Testim.io.

Let us first begin with what Testim.io offers without Javascript as an introduction. I will continue to write about Testim.io as I continue to discover more!

I recently inquired for a Software Testing position and in my endeavors I began to focus more on testing my code. As I quickly came to realize although creating tests for your code manually is a fun easter egg hunt, it is very time consuming. In a work place — Depending on the need — this may not be ideal.

The need to minimize the QA regression cycle and or to reduce the number of bugs can be tackled in many different ways. Today we’ll focus on how Testim.io rises to the occasion.

Obviously we cannot know all programming languages (Although I’m sure we strive to) and time constraints or deadlines can be a hurdle as well. If you need tests right at this moment how are we to do this without a deep understanding of the language within the base code you may ask?

Allow me to introduce you to Testim.io. It can help you automate your tests without that deep knowledge of each and every programming language known to man!

Without Javascript

Without having to write a single line of code you can accomplish so much! Below I will be going over 8 ways Testim.io will help you without Javascript.

  1. Making multiple groups of tests and allowing you to reuse them in different test scopes. Groups keep their properties from each test and also can be nested to improve testing architecture.
  2. Add a hover through navigation actions to your step
  3. Being able to add several types of validations. Making it easier to check the applications output matches expectation.
  4. Allowing the use of conditions and loops within the logic of your tests. Ea. To be assured that a test step will run you can asses a condition of a certain element presence or absence prior to running the test.
  5. Creating breakpoints and adding play tests from inside any test step itself.
  6. Run tests locally, in Incognito mode, or in the Cloud.
  7. Schedule your runs (for example, nightly runs, select exact run days, etc.)
  8. Testim.io also provides recording on Mobile Web.

With Javascript

What mystical powers does Testim.io have? Not many. Just a user-friendly experience and an amazing AI. Below I will show a glimpse of what can be done with a little Javascript ingenuity.

  1. Create unique data (global variable) with JavaScript.

Example:

Exports.sitename = “site-” + Date.now();

2. Verify links on the page with JavaScript.

Example:

function f(url, element) {

if(element.href != url){

throw new Error(`Expected link: ‘${element.href}’ Actual link ‘${url}’`)

}

3. Verify links on different languages.

Example:

function f() {

return urlPrefix === ‘pt’;

}

Although above was a very simplistic view of what Javascript can do within Testim.io. There is much more so here is a quick rundown.

  1. Verify if Element found by name exists on the page with JavaScript;
  2. Perform double click action on a specified element with JavaScript;
  3. Modify URLs;
  4. Execute API calls;
  5. Generate random values, using JS;
  6. Evaluate custom JS conditions;
  7. Select text and other text-related operations, etc.

Conclusion

I have learned so much and have already become a better developer by harnessing the power to quickly and efficiently test my own/others code. To recap I’d like to overview my personal favorite reasons to use Testim.io.

•Fast learning, which can be approximately estimated to about 2 weeks to record your first automation tests;

•Support chat services in 24/7 mode;

•Integration with task management tools, like Jira and Trello, TestRail;

•Recording keyboard actions;

•Recording automation tests, which takes less time comparing to writing Java tests;

•Easy start due to intuitive UI and simple Settings

  • Integration with Slack.

Happy Coding!

--

--