# Using command line parameters in DUnitX action

**URL:** https://www.finalbuilder.com/forums/t/using-command-line-parameters-in-dunitx-action/6989
**Category:** Discussion
**Tags:** actions, implemented-next-ver
**Created:** [February 17, 2021, 8:24pm UTC](https://www.finalbuilder.com/forums/t/using-command-line-parameters-in-dunitx-action/6989 "2021-02-17T20:24:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![petunin](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@petunin](https://www.finalbuilder.com/forums/u/petunin)
#### Post date: [February 17, 2021, 8:24pm UTC](https://www.finalbuilder.com/forums/t/using-command-line-parameters-in-dunitx-action/6989/1 "2021-02-17T20:24:26Z")

</div>

Hello, guys  
I have a DUnitX project. Before start tests I must connect to the database using alias, login and pass. I send this parameters to project using command line. But when I create action DUnitX in Continua I can not using command line properties. How can I send this parameters to my project on start?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [February 17, 2021, 10:59pm UTC](https://www.finalbuilder.com/forums/t/using-command-line-parameters-in-dunitx-action/6989/2 "2021-02-17T22:59:50Z")

</div>

We will need to update the DUnitX action to allow adding extra command line arguments. Also, in your DUnitX project, since DUnitX uses an old version of [this command line library](https://github.com/VSoftTechnologies/VSoft.CommandLineParser) I would think that unless you have registered the command line args in the application that it would complain about unknown command line args?

One work around that you could use today is to pass the values as environment variables to the DUnitX application - you would need to modify your app to read the environment variable (sysutils GetEnvironmentVariable ).

---

<div class="post-metadata">

### Author: ![petunin](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@petunin](https://www.finalbuilder.com/forums/u/petunin)
#### Post date: [February 18, 2021, 7:40am UTC](https://www.finalbuilder.com/forums/t/using-command-line-parameters-in-dunitx-action/6989/3 "2021-02-18T07:40:22Z")

</div>

If you update DUnitX action to adding extra command line arguments in the feature it will be super!  
I try to use extra command line arguments like on the screenshot. But I get only error than exe file not found.

 ![DUnitX Action](https://www.finalbuilder.com/forums/uploads/default/original/2X/4/42b78f3028a65639ab18bf148b8417becc4af035.png)  
Using environment variables … maybe … so so solution)  
But if there is no other solution yet, I can try this too.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [February 19, 2021, 5:20am UTC](https://www.finalbuilder.com/forums/t/using-command-line-parameters-in-dunitx-action/6989/4 "2021-02-19T05:20:04Z")

</div>

Hi Sergey,

An `Additional Arguments` field has been added to the DUnitX action for the next release version.

---

<div class="post-metadata">

### Author: ![petunin](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@petunin](https://www.finalbuilder.com/forums/u/petunin)
#### Post date: [February 19, 2021, 9:49am UTC](https://www.finalbuilder.com/forums/t/using-command-line-parameters-in-dunitx-action/6989/5 "2021-02-19T09:49:47Z")

</div>

Thanks! We will wait for it!
