# Folders to organize the TableScripts and Run with command

**URL:** <https://forums.eggplantsoftware.com/t/folders-to-organize-the-tablescripts-and-run-with-command/8831>\
**Category:** Eggplant Functional\
**Tags:** script, sensetalk, eggplant-functional\
**Created:** [May 23, 2024, 2:13pm UTC](https://forums.eggplantsoftware.com/t/folders-to-organize-the-tablescripts-and-run-with-command/8831 "2024-05-23T14:13:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scsvel](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/scsvel/32/316_2.png) [@scsvel](https://forums.eggplantsoftware.com/u/scsvel)\
**Post date:** [May 23, 2024, 2:13pm UTC](https://forums.eggplantsoftware.com/t/folders-to-organize-the-tablescripts-and-run-with-command/8831/1 "2024-05-23T14:13:25Z")

</div>

2 Questions. Appreciate any help.

1. I am trying to understand if it’s possible to create folders to keep the TableScripts organized like we do under Scripts. I did try creating a folder, place a TableScript but didn’t even list under TableScripts pane in the tool.

2. Can we run the TableScript using RunWithNewResults or similar command? When I tried like below, getting the error - _**NSInvalidArgumentException: TableScript(instance) does not recognize executeScriptWithParameters:**_

```auto
Set tsFolder to parent folder of SuiteInfo().Path & "\MySuite.suite\TableScripts\"

set currentScript to "MySampleTableScript.table"
RunWithNewResults tsFolder & currentScript

```

---

<div class="post-metadata">

**Author:** ![Karsten](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/k/e47c2d/32.png) [@Karsten](https://forums.eggplantsoftware.com/u/Karsten)\
**Post date:** [May 28, 2024, 3:28pm UTC](https://forums.eggplantsoftware.com/t/folders-to-organize-the-tablescripts-and-run-with-command/8831/2 "2024-05-28T15:28:04Z")

</div>

Hey @scsvel,

1. Folders are not supported for tables.

2. You can run tables from command line. [Running from the Command Line | EPF Docs (eggplantsoftware.com)](https://docs.eggplantsoftware.com/studio/epf-running-from-command-line/#running-a-keyword-driven-test).  
I could not locate any sensetalk command similar to runfeature or run or runwithnewresults

📌 Tables are discontinued and will be removed from the product according to our release notes.

Whats the use case for you ? What do you gain from it? How do you use it? Might make sense to reach out to your Account manager or technical consultant to discuss the options and define the future solution.

Cheers,  
Karsten

---

<div class="post-metadata">

**Author:** ![scsvel](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/scsvel/32/316_2.png) [@scsvel](https://forums.eggplantsoftware.com/u/scsvel)\
**Post date:** [May 28, 2024, 4:34pm UTC](https://forums.eggplantsoftware.com/t/folders-to-organize-the-tablescripts-and-run-with-command/8831/3 "2024-05-28T16:34:00Z")

</div>

@Karsten Thanks for letting me know that tables will be discontinued.

My related question. So, How I can achieve something like keyword-driven script (similar to table)?  
For ex. I will be having an excel where I will be just listing the keywords (i.e. Handlers) in the order that I want to execute.

![image](https://forums.eggplantsoftware.com/uploads/default/original/1X/28dd65ea88356854c3f6f6f586d457d2aca8f795.png)

For this to happen, somehow, I need to keep all the handlers loaded/available in SUT environment scope, so I can try to execute these handlers in global scope. Is there any command or options available/supported as of now in the Eggplant to achieve this? (Like Execute, ExecuteGlobal for .vbs files)

---

<div class="post-metadata">

**Author:** ![SenseTalkDoug](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/sensetalkdoug/32/88_2.png) [@SenseTalkDoug](https://forums.eggplantsoftware.com/u/SenseTalkDoug)\
**Post date:** [August 5, 2024, 9:23pm UTC](https://forums.eggplantsoftware.com/t/folders-to-organize-the-tablescripts-and-run-with-command/8831/4 "2024-08-05T21:23:13Z")

</div>

The `run` command can be used to call another script whose name is in a variable:

```auto
set scriptToRun to "Login"
run scriptToRun -- this will run the Login script
```
