Facebook iconUnderstanding Testim.io: A Beginner’s Guide
WhatsApp Icon (SVG)
Understanding Testim.io: A Beginner’s Guide Hero

When it comes to choosing the right tools for testing a software application, we often favour open-source options. They tend to integrate well with various platforms, come with robust community support, and offer the flexibility to customize them cost-effectively. However, today we're making an exception to that rule! In this blog post, we'll dive into Testim and examine its features closely.

What is Testim?

Testim is an advanced automated testing tool that harnesses the power of artificial intelligence to enhance various aspects of the testing process. It aims to boost test coverage, minimize maintenance efforts, scale efficiently, and simplify troubleshooting. Testim features "Smart Locators" which tackle common issues in software testing, such as slow test creation and unstable test results. This innovative use of AI in software testing is transforming the field, offering new possibilities for efficiency and accuracy in quality assurance.

Testim offers flexibility to fit into the software development environment. Users can either code or record their tests, customize various implementation details, and connect with current CI or collaboration tools. Additionally, tests can be executed on third-party testing grids or directly on Testim's platform itself.

Testim is a comprehensive test automation platform designed to make testing faster and more reliable while scaling efficiently with your team's needs. It caters to three main areas:

1. Agile Development: Testim is perfect for Agile teams working on customer-facing mobile and web applications. Its user-friendly interface allows everyone on the team to get involved in testing, while its advanced features let experienced users tackle complex problems with reusable JavaScript code.

2. Salesforce Testing: For teams working on applications that integrate with Salesforce, Testim’s rapid test creation and AI-driven stability make it a strong choice. It’s particularly effective for testing intricate end-to-end workflows in dynamic environments like Salesforce.

3. Mobile App Testing: Testim simplifies the process of managing devices and applications, making mobile app testing more straightforward. With its low-code capabilities, users can quickly create and manage tests using the same intuitive Testim interface.

Prerequisites

Testim.io provides a free account for testing, Create one free account for yourself now.

Test Creation & Execution

  • Create a new Test case using “Create Test”.
  • Installed Chrome Extension on the browser. 
  • Have Google Chrome or Microsoft Edge Chromium browser for Test Authoring 
  • Test Cases will be saved in AWS 
  • On each save of the test, a new version is created
  • Execute the test cases locally from Google Chrome or Microsoft Edge Chromium browser or Remotely from Testim Grid for other browsers 
  • Remote test execution can be performed using CLI or Schedule

Creation of Test Cases

Create a test using the recording for the login scenario,

  • Create a new test
  • Base URL: http://demo.testim.io
  • Test name: Enter the test name for reference
  • Set the testing configuration
  • Record the test
  • Execute the test steps to log in manually
  • Click on Pause or Stop to stop/pause the recording
  • Save a test
Creating a  e
    1. Click on the New Test button which is available in the top
    2. A new test opens in the Visual Editor. Here is where you record the test, add validations and edit the test steps.

Creating a New test

creating a new test in Testim.io

Setting the base URL

1. Setting a default Base URL - You can set a default Base URL for a Project. This URL is automatically applied to all new tests which you create within the Project.

When you initially set up your project, you were required to select a Base URL for your testing application. You can change the default URL for your project at any time you need. All new tests will automatically use the default URL.

To set the default URL for a project

  1. Navigate to Settings > Project from the main navigation menu.
  2. Click the Edit button next to the Default Base URL field.
  1. Enter the new default URL and click OK.

Testim will save this new default URL and this URL will be used as the Base URL for all new tests.

  1. Setting the Base URL manually - If there is no default Base URL configured, then you need to manually enter the Base URL for each new test. If a default Base URL is configured, then that configured default URL is used unless you manually edit the URL.

When a first test is created, the Base URL will always be set as default URL. Then needed, can edit the Base URL for a particular test manually.

To set the Base URL for a single test manually

  1. After creating a new test, in the Visual Editor click Step 1 or the Base URL link.

Base URL link inTestim.io

This will display the Test Configuration properties panel.

Test Configuration properties panel in Testim.io
  1. In the Base URL field, enter the new Base URL for the test.
New Base URL for the test in testim.io

Setting the test configuration

The Test Configuration determines the system specifications which are used to execute the test. If you intend to run the test locally then the configuration should match your local environment. If you intend to run the test on the Testim Grid, then Testim simulates whichever environment is specified.

Adjusting the Test Configuration

When you create a new test, the Test Configuration which is set as default will get applied automatically.

Test Configuration can be adjusted using one of the following methods:

  1. Edit – Edit the current Test Configuration. The newly changed configuration will be applicable only to the current test (it does not affect the Configuration profile).
  2. Choose Other – apply different Test Configurations from the list available.
  3. Custom– Create a new configuration that is customized and apply it to the current test.

Recording the test

Once recording is started for a test, a new browser will open to the Base URL. Application Under Test (AUT) window is the opened one and the actions that you take in this window will be recorded by Testim and it gets configured as steps in your test.The following actions are identified as separate test steps:

  • Click
  • Double click
  • Right click
  • Scroll
  • Set (enter text)
  • Scroll on page
  • Scroll to element
  • Drag
  • Resize window

Pause or Stop the recording

You can pause and restart the recording. Only actions from the AUT browser when you are in recording mode are included in the test. Actions taken when recording is paused are not included.

  1. On the Visual Editor screen, while recording a test, the pause button is shown in the header bar. Click on the Pause button to pause the recording.
  1. While recording is paused, the red record button is shown. Click on the record button to resume recording.

Saving a test

Navigate back to the AUT browser window and resume recording. You can jump to the window by clicking on the Go to app button.

To save a new test follow the below steps and the test is saved and added to the test library.

  1. From the Visual Editor screen, click on the Save button.
  1. Provide a Name and Description for your test and click OK.
Name and Description for your test in Testim.io

Conclusion

In a nutshell, the Testim.io platform helps you to overcome some of the major challenges testers face when they are using automation processes/tools. With this, you can make automation simpler & more stable, so testers will feel free to try this testim.io and get the best result out of it. Also in the upcoming blogs, we can see about recording in multiple windows, performing the mobile test, Editing the test, results of the test, and also performance using CLI mode.

While Testim.io offers powerful features, implementing effective software testing services requires expertise. F22 Labs specializes in comprehensive testing solutions, leveraging tools like Testim.io to ensure your applications meet the highest quality standards. Our expert team can help you navigate complex testing scenarios, maximize test coverage, and streamline your QA processes.

Frequently Asked Questions

  1. What is the use of Testim?

Testim is an AI-powered automated testing tool used to create, execute, and maintain tests for web and mobile applications. It aims to increase test coverage, reduce maintenance efforts, and simplify troubleshooting in software development.

  1. Is Testim better than Selenium?

Testim and Selenium serve different needs. Testim offers AI-assisted test creation and maintenance, making it more user-friendly for non-coders. Selenium provides more flexibility and control but requires more coding expertise. Choose based on your team's skills and project needs.

  1. Can Testim be used for mobile testing?

Yes, Testim supports mobile app testing. It simplifies device and application management, allowing users to create and manage tests for mobile applications using its intuitive interface, making the mobile testing process more straightforward.

Author Detail

Author-Swathi K
Swathi K

Passionate QA to ensure software quality through meticulous testing and attention to detail. Experienced in executing test cases, identifying defects, and collaborating with development teams.

Phone

Next for you