# Package Manager en Package Repositories folders

**URL:** https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661
**Category:** Ecosystem
**Created:** [April 27, 2022, 12:01pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661 "2022-04-27T12:01:10Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![fostyn](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@fostyn](https://forum.opentap.io/u/fostyn)
#### Post date: [April 27, 2022, 12:01pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/1 "2022-04-27T12:01:10Z")

</div>

Can’t Test Steps be installed outside the OpenTAP installation folder?

We have the following setup:  
. OpenTAP is installed D:\OpenTAP  
. With tap.exe we installed the package “Developer’s System CE”  
. We have a folder D:\OpenTAP\Plugins, with some Test Steps underneath it.  
. We start the D:\OpenTAP\Editor.exe

The Test Steps from \Plugins are immediately recognized by the Editor.

Let’s move the plugins to D:\Plugins and  
update the Package Manager by adding the folder D:\Plugins,  
restart the Editor.exe but the plugins are not found anymore.

Is this sometimes not possible?

Using latest OpenTAP version.

---

<div class="post-metadata">

### Author: ![kaushik.santhanam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/kaushik.santhanam/32/208_2.png) [@kaushik.santhanam](https://forum.opentap.io/u/kaushik.santhanam)
#### Post date: [April 27, 2022, 2:02pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/2 "2022-04-27T14:02:45Z")

</div>

Hi Fostyn,

Welcome to the OpenTAP community!  
Just to clarify, when you move the plugins to D:\Plugins, did you move the .tappackage file or the dlls?

If you had moved the .tappackages to D:\Plugins, and added them as a source in Package Manager, it will show up in the Package Manager GUI.  
You would still need to hit install for the plugin test steps and other items to show up in the Editor.

The Editor will only load plugins present in the installation directory and subfolders.

Hope this answers your question. If not, please feel free to update with more details!

Thanks,  
Kaushik

---

<div class="post-metadata">

### Author: ![fostyn](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@fostyn](https://forum.opentap.io/u/fostyn)
#### Post date: [April 27, 2022, 5:32pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/3 "2022-04-27T17:32:15Z")

</div>

Hi Kaushik,

I just moved the full \Plugins folder.  
Just to be clear, I’m still in the development phase at the moment, so I haven’t created a package.  
So, in the \Plugins folder we only find dll’s, the output of a compiled VS project.

What do you mean by “you would still need to hit install for the plugin test steps…” ?

Thank you in advance!

---

<div class="post-metadata">

### Author: ![alexander.larsen](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@alexander.larsen](https://forum.opentap.io/u/alexander.larsen)
#### Post date: [April 28, 2022, 10:50am UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/4 "2022-04-28T10:50:59Z")

</div>

Hi Fostyn,

OpenTAP will only search for plugins inside of its own installation directory. Adding a directory to the Package Manager allows you to install plugins from that directory (as though it was a package repository), but it does not affect where OpenTAP looks for plugins.

OpenTAP does support adding additional directories to scan for plugins. This does not have GUI support because it is not exactly a common use case, so it requires using the C# API through a plugin, and it is not exactly recommended either:

When you save a testplan in the Editor, it determines the plugin dependencies of the test plan based on the source of the types you are using. For example, if you use a test step from your plugin, the test plan will depend on your plugin. But if you are using D:\Plugins as a plugin source, then OpenTAP will be unable to detect which package your plugin steps originate from because they are not properly installed through a package.

I’m not really sure what you wish to accomplish. Can you describe your use case?

---

<div class="post-metadata">

### Author: ![fostyn](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@fostyn](https://forum.opentap.io/u/fostyn)
#### Post date: [April 28, 2022, 12:41pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/5 "2022-04-28T12:41:48Z")

</div>

Hi Alexander,

We just wanted to install our Test Steps, with source code, in a different folder, separate from the OpenTAP installation folder. This has more to do with our internal policy about installing software on production systems…

From code I was just testing if we could do something with the PluginManager.DirectoriesToSearch, but your answer is clear.

Kind regards,

---

<div class="post-metadata">

### Author: ![witold.pietraszek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/witold.pietraszek/32/211_2.png) [@witold.pietraszek](https://forum.opentap.io/u/witold.pietraszek)
#### Post date: [April 28, 2022, 1:22pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/6 "2022-04-28T13:22:54Z")

</div>

Hi Fostyn,

If you start the Editor from command line you can specified the search folder for installed plugins. This is done this way:

```csharp
tap editor --search "C:\plugins\"

```

From the help about the `search` argument:

> Allows PluginManager to search the specified folder for installed plugins. Multiple paths can be searched

BR  
Witold

---

<div class="post-metadata">

### Author: ![fostyn](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@fostyn](https://forum.opentap.io/u/fostyn)
#### Post date: [April 28, 2022, 2:25pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/7 "2022-04-28T14:25:46Z")

</div>

Hi Witold,

does this work for you, not me.

KR

---

<div class="post-metadata">

### Author: ![witold.pietraszek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/witold.pietraszek/32/211_2.png) [@witold.pietraszek](https://forum.opentap.io/u/witold.pietraszek)
#### Post date: [April 28, 2022, 5:49pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/8 "2022-04-28T17:49:08Z")

</div>

Yes, I just verified it with Developer’s System v9.17.3.

I could see in the SessionLog that the plugins were loaded and I could execute the test steps in the Editor.

You should see this in the SessionLog:

```csharp
Running '"C:\Program Files\Keysight\Test Automation\Editor.exe" --search "C:\plugins" ' in 'C:\Program Files\Keysight\Test Automation'.

```

And later:

```csharp
Also searching in 'C:\Users\plugins'.

```

Last:

```csharp
Found version 9.0.5+3cab80c8 of OpenTap.Plugins.Demo.Battery.dll from C:\plugins\OpenTap.Plugins.Demo.Battery.dll

```

---

<div class="post-metadata">

### Author: ![fostyn](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@fostyn](https://forum.opentap.io/u/fostyn)
#### Post date: [April 28, 2022, 6:32pm UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/9 "2022-04-28T18:32:49Z")

</div>

Thank you for further viewing this.

Also checked with the ‘Demostration’ Package, found in D:\OpenTAP\Packages, and Editor started with:

D:\OpenTAP\tap editor

I find in the sessional log:  
Found Version 9.1.0-Alpha.1.3+C212B601.2-Publish-Test-Package or Opentap.plugins.demo.battery.dll

Moving now the full \Demostration folder to D:\Plugins, Editor started with:

D:\OpenTAP\tap editor -search “D:\Plugins”

In the Test Steps explorer, the \Demo\Battery Test Group is not visual anymore and  
nothing to be found in the log files.

---

<div class="post-metadata">

### Author: ![alexander.larsen](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@alexander.larsen](https://forum.opentap.io/u/alexander.larsen)
#### Post date: [May 2, 2022, 8:17am UTC](https://forum.opentap.io/t/package-manager-en-package-repositories-folders/661/10 "2022-05-02T08:17:23Z")

</div>

I can reproduce this issue. If I start the process like `Editor.exe --search 'C:\plugins'` it works, but if I start it like `tap.exe editor --search 'C:\plugins'` it doesn’t. This is a bug on our end. I will file a bug report. In the meantime you can launch `Editor.exe` directly.
