# Robot Framework to Test Cli App

**URL:** <https://forum.robotframework.org/t/robot-framework-to-test-cli-app/4761>\
**Category:** Robot Framework\
**Created:** [29 September 2022 11:24 UTC](https://forum.robotframework.org/t/robot-framework-to-test-cli-app/4761 "2022-09-29T11:24:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yebubu](https://avatars.discourse-cdn.com/v4/letter/y/e79b87/32.png) [@yebubu](https://forum.robotframework.org/u/yebubu)\
**Post date:** [29 September 2022 11:24 UTC](https://forum.robotframework.org/t/robot-framework-to-test-cli-app/4761/1 "2022-09-29T11:24:55Z")

</div>

Hi, I have an a cli app and there is this exe that is used to run the app, but the problem is that the exe is in a different folder from where I am writing my robot code. I will like to be able to go the exe from my current directory and write robot code to test how the exe file will execute.

Thank you

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [30 September 2022 08:40 UTC](https://forum.robotframework.org/t/robot-framework-to-test-cli-app/4761/2 "2022-09-30T08:40:44Z")

</div>

Hi @yebubu,

There should be no issue having your application exe in a different path to your test cases, you can use both full fixed paths or relative paths to refernce the location to your exe file. Robot Framework even has [a few useful builtin variables](http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-285) to help you with this.

Dave.
