# Call keyword as template with parameters

**URL:** <https://forum.robotframework.org/t/call-keyword-as-template-with-parameters/8275>\
**Category:** Robot Framework\
**Created:** [13 January 2025 09:41 UTC](https://forum.robotframework.org/t/call-keyword-as-template-with-parameters/8275 "2025-01-13T09:41:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syman](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@Syman](https://forum.robotframework.org/u/Syman)\
**Post date:** [13 January 2025 09:41 UTC](https://forum.robotframework.org/t/call-keyword-as-template-with-parameters/8275/1 "2025-01-13T09:41:08Z")

</div>

Hello community, is is possible to call a keyword with arguments and specify the input arguments.

Example:

\*\*\* Test Cases \*\*\*  
Special Test 1  
[Template] My Awesome Keyword  
special\_argument=expert use\_network=yes

In my case I did not get it to work 😕

---

<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:** [13 January 2025 09:57 UTC](https://forum.robotframework.org/t/call-keyword-as-template-with-parameters/8275/2 "2025-01-13T09:57:32Z")

</div>

Your example uses “named arguments”. I dont know if thats supposed to work but you can pass positional arguments. For example, copy paste from one of my suites looks like this:

```robotframework
***Test Cases***
Full Purchase Flow on DEV
  [Tags] store dev noci
  [Template] Full Purchase Test Template
  ${STORE_BASEURL} testi-kauppa tietokoneet kauppa __dev__ storedState 25,5 ${False}

```

and Full Purchase Test Template looks like this:

```robotframework
Full Purchase Test Template
  [Arguments] ${baseurl} ${url_fragment} ${category} ${storage_key} ${vat}=25.5 ${skip_payment}=True
  No Operation # just to highlight..

```
