Endtest

Endtest

›Advanced

Web Tests

  • How to create Web Tests
  • Finding elements in Web Applications
  • How to execute Web Tests
  • Assertions for Web Tests
  • IF Statements for Web Tests
  • Web Applications with restricted access
  • How to test in iframes
  • How to test in multiple tabs
  • How to test File Uploads
  • How to test File Downloads
  • How to test Emails
  • How to test PDF files
  • How to test Chrome Extensions
  • Dealing with reCAPTCHA
  • Dealing with Dynamic Locators
  • Dealing with Canvas Elements
  • Performing a Drag and Drop
  • Execute JavaScript
  • Testing WebRTC Applications
  • How to scroll in Web Tests
  • How to test Checkboxes
  • How to test Dropdowns
  • Dealing with Sessions
  • Web Crawler
  • Export Web Tests
  • Migrating from Selenium

Mobile Tests

  • How to create Mobile Tests
  • Finding elements in Mobile Applications
  • How to execute Mobile Tests
  • Assertions for Mobile Tests
  • IF Statements for Mobile Tests
  • How to scroll in Mobile Tests
  • Performing Complex Gestures

Advanced

  • Variables
  • Waits
  • Endtest API
  • Scheduler
  • Drive
  • Adding Collaborators
  • Computer Vision
  • Importing Test Cases
  • Using Loops
  • Data-driven Testing
  • Send API Requests
  • Read SMS
  • Execute SQL queries
  • Self-Healing Tests
  • Email Notifications
  • Slack Notifications
  • PagerDuty Notifications
  • Webhook Notifications
  • Automatic Backup
  • Advanced Settings
  • Multiple environments
  • How to stop a test
  • Utilities
  • Utilities API
  • Team
  • On-Premises

Integrations

  • Atlassian Jira
  • Slack
  • PagerDuty
  • Microsoft Teams
  • Mattermost
  • Jenkins
  • GitHub
  • Azure DevOps
  • GitLab
  • TeamCity
  • CircleCI
  • TravisCI
  • Bitbucket
  • Heroku
  • Bamboo Server
  • Test Case Management
  • SSO
  • BrowserStack
  • Sauce Labs

Data-driven Testing

Introduction

The Import Test Case Multiple Times (CSV) action allows you to execute the same test case multiple times in a row, while extracting data from a CSV file.

Guide

When you select the Import Test Case Multiple Times (CSV) action, the Test case to import dropdown gets populated with the entire list of test cases that you have access to.

In order to get a CSV File URL, you can upload your CSV file in our Drive section.

For each row of the CSV file, a new set of variables will be created.

The name of the variables will be generated from the Column Headers of the CSV file, all spaces and non-alphanumeric characters will be removed and a $ will be prepended to the name of the variable.

Here are some examples:

Column Header in CSV fileGenerated Variable Name
email$email
User Name$UserName
The_Address$TheAddress
zip-code$zipcode

The data from the rest of the CSV rows will not be altered in any way.

Let's suppose we have the following CSV file:

emailpassword
jimmy@example.com^^VT[Nv20zSwCBh4*
walter@random.com^]LNf]CHNQKOX(g*ld
jessica@inbox.comba!^tBJ

We can see that the CSV file has 2 column and 4 rows.

The Column Headers will be used only to name the variables.

The values for those variables will be extracted from the rest of the 3 rows.

If we would use this CSV file in our test with the Import Test Case Multiple Times (CSV) action, the imported test case would be executed 3 times, with 3 sets of variables, one set from each row.

You can only import test cases from other Web Tests in a Web Test.

You can only import test cases from other Mobile Tests in a Mobile Test.

When the test is executed, the Import Test Case Multiple Times (CSV) action executes the latest version of the imported test case.

The variables declared in the imported test case can be accessed from the test suite in which it gets imported.


You can also extract data from Google Sheets by using the Google Sheets API and the Send API Request action from Endtest.

← Using LoopsSend API Requests →
  • Introduction
  • Guide
© Endtest Inc.