# Unable to run template test and normal test in the same test suite

**URL:** <https://forum.robotframework.org/t/unable-to-run-template-test-and-normal-test-in-the-same-test-suite/5710>\
**Category:** Robot Framework\
**Created:** [16 May 2023 04:24 UTC](https://forum.robotframework.org/t/unable-to-run-template-test-and-normal-test-in-the-same-test-suite/5710 "2023-05-16T04:24:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![megakrish](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@megakrish](https://forum.robotframework.org/u/megakrish)\
**Post date:** [16 May 2023 04:24 UTC](https://forum.robotframework.org/t/unable-to-run-template-test-and-normal-test-in-the-same-test-suite/5710/1 "2023-05-16T04:24:29Z")

</div>

\*\*\* Settings \*\*\*

Library SeleniumLibrary  
Library DataDriver …/Resources/Testdata.xlsx sheet\_name=${SheetName}

\*\*\* Test cases\*\*\*

Normal test case 1

Template test case 2

```
[Template] Login

```

_ **Keywords** _

Login

When I run this, it always skip either the template test case or normal test case based on the order. Cannot execute both in the same robot file. Can someone please help?

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [16 May 2023 08:44 UTC](https://forum.robotframework.org/t/unable-to-run-template-test-and-normal-test-in-the-same-test-suite/5710/2 "2023-05-16T08:44:05Z")

</div>

I suspect that this is because you are using DataDriver, which is used to generate test cases.  
You probably would get better results if you separate tests by suites, using DataDriver and not.

---

<div class="post-metadata">

**Author:** ![sunny09](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@sunny09](https://forum.robotframework.org/u/sunny09)\
**Post date:** [7 December 2023 06:00 UTC](https://forum.robotframework.org/t/unable-to-run-template-test-and-normal-test-in-the-same-test-suite/5710/3 "2023-12-07T06:00:09Z")

</div>

Hi,  
I’m totally new to Robot framework. I have similar situation, where a test suite has both templated(Data driver) test and normal test.

For ex.: I have the following scenarios  
Test Suite #1

1. Test #1 with template(Data Driver)
2. Test #2 without template
3. Test #3 without template

Test Suite #2

1. Test #1 without template
2. Test #2 without template
3. Test #3 with template(Data Driver)

Can you provide any suggestions on how to approach this scenario. Thanks
