# Run FunTEST Externally

It is possible to run funTEST with command-line arguments to automatically i.e. login or start a project immediately after startup.

## Login at startup

```
funTEST.exe --startup-login <username>:<password>
```

Login to funTEST via command-line argument. Do not show the login dialog while funTEST is starting.

## Startup project

```
funTEST.exe --startup-project <project-name>
```

Auto-select the project when funTEST starts. When no start-up test file is selected, the test-file selection dialog of the specified project will appear.

## Startup Test File

```
funTEST.exe --startup-testfile <testfile-name>
```

Auto-select the test file when funTEST starts. Startup project is required to select the test file.

## Example

```
funTEST.exe --startup-login "fpc:secret" --startup-project "demo" --startup-testfile "test"
```

* Auto-login using "fpc" user with "secret" password.
* Set "test" test-file from project "demo" like a startup project.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://funtest-1.gitbook.io/funtest-documentation/other/run-funtest-externally.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
