# Is there any possibility to run Two test cases parallely which are in single file

**URL:** <https://forum.robotframework.org/t/is-there-any-possibility-to-run-two-test-cases-parallely-which-are-in-single-file/8481>\
**Category:** Robot Framework\
**Created:** [18 February 2025 09:32 UTC](https://forum.robotframework.org/t/is-there-any-possibility-to-run-two-test-cases-parallely-which-are-in-single-file/8481 "2025-02-18T09:32:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Renuka.U](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Renuka.U](https://forum.robotframework.org/u/Renuka.U)\
**Post date:** [18 February 2025 09:32 UTC](https://forum.robotframework.org/t/is-there-any-possibility-to-run-two-test-cases-parallely-which-are-in-single-file/8481/1 "2025-02-18T09:32:49Z")

</div>

@{Order\_Ids} 234234 234234-this is in orderResources file  
\*\*\* Test Cases \*\*\*  
TC001-Generating order pdf for 1st orders  
Open Browser For Order ${ORDER\_IDS[0]}  
Order Pdf Generate ${ORDER\_IDS[0]}  
Close Browser Session  
TC002-Generating order pdf for 2nd order  
Open Browser For Order ${ORDER\_IDS[1]}  
Order Pdf Generate ${ORDER\_IDS[1]}  
Close Browser Session

\*\*\* Keywords \*\*\*  
Order Pdf generate  
[Arguments] ${order\_id}

# order pdf generate

```
Fill The Login Form ${valid_username} ${valid_password}
Verify Dashboard Page Opens

Search Order From Home Page Using Search Buttton ${order_id}
Log To Console running tests for order_id:${order_id}
Log order id:${order_id}
Navigate To Order Search Screen
Navigate To Order Detail Page
Documents Tab
Preparing Selected Documents ${order_id}
Sleep 5
Scroll Element Into View ${Daikin_Logo}
Navigating To HomePage From Order Detail Page

Sleep 5
LogoutResource.Logout

```

open browser for order  
[Arguments] ${order\_id}  
Open Browser ${url} ${browser\_name}  
Maximize Browser Window  
Set Selenium Implicit Wait 5

now i have to run TC001 and TC002 parallely  
this is the command i have used  
pabot --processes 2 .\TestCases\01order\_pdf.robot

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [18 February 2025 12:13 UTC](https://forum.robotframework.org/t/is-there-any-possibility-to-run-two-test-cases-parallely-which-are-in-single-file/8481/2 "2025-02-18T12:13:49Z")

</div>

> **[Running tests in parallel | ROBOT FRAMEWORK](https://docs.robotframework.org/docs/parallel)**
>
> Pabot

> By default, Pabot will split execution on suite level. That means that each process will run a single suite. Test Cases from the suite will be executed sequentially. If you want to split execution on test level, you can use `--testlevelsplit` option. **This will split execution on test level, so that each process will run a single test case.**
