# How to setting test suite to run sequence

**URL:** <https://forum.katalon.com/t/how-to-setting-test-suite-to-run-sequence/9169>\
**Category:** Integrations\
**Tags:** integrations, katalon-studio\
**Created:** [January 31, 2018, 11:03am UTC](https://forum.katalon.com/t/how-to-setting-test-suite-to-run-sequence/9169 "2018-01-31T11:03:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chanin](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@chanin](https://forum.katalon.com/u/chanin)\
**Post date:** [January 31, 2018, 11:03am UTC](https://forum.katalon.com/t/how-to-setting-test-suite-to-run-sequence/9169/1 "2018-01-31T11:03:56Z")

</div>

As picture,  
\*\* How to config TestSuite to execute test case as sequence\*\*  
**Start → TC1–\> TC2–\> TC3 —\> Next Loop (Depend on DataFile)**  
**Start → TC1–\> TC2–\> TC3 —\> Next Loop**

But in the test log will see step as  
Start → TC1 → TC1 → TC2 —\> TC3 —\> TC3

[TestSuite.png](https://s3.amazonaws.com/katalon-forum/editor/hm/4bhudlxrki1k.png)

---

<div class="post-metadata">

**Author:** ![Roberta\_Comunale](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/roberta_comunale/32/3316_2.png) [@Roberta\_Comunale](https://forum.katalon.com/u/Roberta_Comunale)\
**Post date:** [February 7, 2018, 6:46pm UTC](https://forum.katalon.com/t/how-to-setting-test-suite-to-run-sequence/9169/2 "2018-02-07T18:46:32Z")

</div>

I have the same problem. How to solve this?

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [February 8, 2018, 10:38am UTC](https://forum.katalon.com/t/how-to-setting-test-suite-to-run-sequence/9169/3 "2018-02-08T10:38:38Z")

</div>

You can’t control test suite execution flow. Test Cases are executed from top to bottom according to its order.

Regards

---

<div class="post-metadata">

**Author:** ![Trong\_Bui](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/trong_bui/32/374_2.png) [@Trong\_Bui](https://forum.katalon.com/u/Trong_Bui)\
**Post date:** [February 9, 2018, 4:02am UTC](https://forum.katalon.com/t/how-to-setting-test-suite-to-run-sequence/9169/4 "2018-02-09T04:02:46Z")

</div>

Chanin and Roberta,

The execution approach is designed as Alex’s comment. Since each test case in test suite might have different data file so it could not run the whole flow and then start a new one.

One possible solution is create a new test case, ie TC, in which, we call those 3 test cases in order. Then we could add this TC into the test suite and execute with single data file.

---

<div class="post-metadata">

**Author:** ![ashish.daga](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@ashish.daga](https://forum.katalon.com/u/ashish.daga)\
**Post date:** [December 24, 2025, 8:39am UTC](https://forum.katalon.com/t/how-to-setting-test-suite-to-run-sequence/9169/5 "2025-12-24T08:39:05Z")

</div>

It’s 2025 now –- do we have any better solution for this requirement? I feel, if we have to create the master test case then what’s the difference between it and Test Suite?

---

<div class="post-metadata">

**Author:** ![Monty\_Bagati](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/monty_bagati/32/33047_2.png) [@Monty\_Bagati](https://forum.katalon.com/u/Monty_Bagati)\
**Post date:** [December 30, 2025, 7:57am UTC](https://forum.katalon.com/t/how-to-setting-test-suite-to-run-sequence/9169/6 "2025-12-30T07:57:07Z")

</div>

> [@chanin](#):
>
> As picture,  
> \*\* How to config TestSuite to execute test case as sequence\*\*  
> **Start → TC1–\> TC2–\> TC3 —\> Next Loop (Depend on DataFile)**  
> **Start → TC1–\> TC2–\> TC3 —\> Next Loop**
> 
> But in the test log will see step as  
> Start → TC1 → TC1 → TC2 —\> TC3 —\> TC3

Based on the Katalon Studio documentation, I can now explain the issue you’re experiencing and provide the solution.

### **Problem Analysis**

You want to execute test cases in sequence:

```auto
Start → TC1 → TC2 → TC3 → Next Loop (based on DataFile)

```

But you’re seeing duplicates in the test log:

```auto
Start → TC1 → TC1 → TC2 → TC3 → TC3

```

This typically occurs when:

1. **Test cases are added multiple times** to the test suite
2. **Data-driven testing is configured incorrectly** - causing test cases to execute multiple times per data row
3. **Retry logic is enabled** - causing duplicate executions on failure

* * *

### **Solution: Configure Test Suite for Sequential Execution**

#### **Step 1: Create Test Suite with Correct Test Case Order**

According to the [Manage Test Suites documentation](https://docs.katalon.com/katalon-studio/manage-test-artifacts/manage-test-suites-in-katalon-studio):

1. Open your test suite
2. In the **Execution Information** panel, add test cases in the order you want them executed:
  - **No. 1** → TC1
  - **No. 2** → TC2
  - **No. 3** → TC3

**Important** : Each test case should appear **only ONCE** in the list. Do not add the same test case multiple times.

 ![Test Suite Order](https://europe1.discourse-cdn.com/katalon/original/3X/e/0/e03a7e6b4e40676adf6b127ba9774f4fe932d427.jpeg)

* * *

#### **Step 2: Configure Data-Driven Testing (If Using DataFile)**

If you want to loop through multiple data rows, follow the [Data-Driven Testing in Test Suite guide](https://docs.katalon.com/katalon-studio/data-driven-testing/data-driven-testing-in-a-test-suite):

1. **Click “Show Data Binding”** in the test suite editor
2. **Select each test case** and choose **“Use Variables and Binding at Suite Test Case”**
3. **Add your data file** in the Test Data table
4. **Map variables** to data columns using the Variable Binding section
5. **Run the test suite**

**Expected Result** : The test suite will execute TC1 → TC2 → TC3 for **each row** in your data file, without duplicates.

* * *

#### **Step 3: Verify Execution Order in Log Viewer**

After execution, check the **Log Viewer** to confirm the correct sequence:

```auto
Test Suite Execution:
├─ Data Row 1:
│ ├─ TC1 (0.360s) ✓
│ ├─ TC2 (0.200s) ✓
│ └─ TC3 (0.150s) ✓
├─ Data Row 2:
│ ├─ TC1 (0.360s) ✓
│ ├─ TC2 (0.200s) ✓
│ └─ TC3 (0.150s) ✓

```

* * *

### **Common Causes of Duplicate Test Cases in Logs**

| Issue | Cause | Solution |
| --- | --- | --- |
| **TC1 → TC1 → TC2 → TC3 → TC3** | Test cases added multiple times | Remove duplicate entries from test suite |
| **Repeated execution per data row** | Data binding misconfigured | Ensure “Use Variables and Binding at Suite Test Case” is selected |
| **Extra executions** | Retry logic enabled | Check Execution Information for retry settings |

* * *
