# Executing using Katalon's docker for CircleCI - Folder Structure

**URL:** <https://forum.katalon.com/t/executing-using-katalons-docker-for-circleci-folder-structure/15465>\
**Category:** Miscellaneous\
**Created:** [December 14, 2018, 12:00am UTC](https://forum.katalon.com/t/executing-using-katalons-docker-for-circleci-folder-structure/15465 "2018-12-14T00:00:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jag](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@Jag](https://forum.katalon.com/u/Jag)\
**Post date:** [December 14, 2018, 12:00am UTC](https://forum.katalon.com/t/executing-using-katalons-docker-for-circleci-folder-structure/15465/1 "2018-12-14T00:00:01Z")

</div>

Hi,

I am using the Katalon docker image for executing tests in Circle CI cloud. My tests run fine if I have Katalon project at the repository root in Github, but if the project is in a folder, tests do not execute, it appears that docker container does not look for the project path at the correct location if I provide project path in the command projectPath is added twice and it gets confused. It is important that I can execute from a folder under the repo as we would like to have E2E tests under the project report. Any pointers are much appreciated

Error

- xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalon -browserType=Chrome -retry=0 -statusDelay=15 ‘-testSuitePath=Test Suites/xyz’ -executionProfile=xyz-dev -runMode=console -reportFolder=/root/project/report -projectPath=/tmp/katalon\_execute/project  
Request sent successfully.  
Opening project file: /tmp/katalon\_execute/project  
Invalid argument: Cannot find project ‘/tmp/katalon\_execute/project’.

**Folder Structure Which Works**  
— .circleci  
– config.yml  
– xyz.prj  
– Test Suites  
– abc.ts  
– abc.groovy

**Folder Structure Which does NOT Work**  
— .circleci  
– config.yml  
– **Katalon Project Folder**  
– xyz.prj  
– Test Suites  
– abc.ts  
– abc.groovy

---

<div class="post-metadata">

**Author:** ![devalex88](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/devalex88/32/336_2.png) [@devalex88](https://forum.katalon.com/u/devalex88)\
**Post date:** [December 14, 2018, 12:20am UTC](https://forum.katalon.com/t/executing-using-katalons-docker-for-circleci-folder-structure/15465/2 "2018-12-14T00:20:51Z")

</div>

Could you please try `cd` into the directory before executing Katalon Studio?

```auto
version: 2
jobs:
  build:
    docker:
      - image: katalonstudio/katalon
    steps:
      - checkout
      - run:
          name: Execute Katalon Studio
          command: cd "Katalon Project Folder" && katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TS_RegressionTest"

```

---

<div class="post-metadata">

**Author:** ![Jag](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@Jag](https://forum.katalon.com/u/Jag)\
**Post date:** [December 14, 2018, 12:44am UTC](https://forum.katalon.com/t/executing-using-katalons-docker-for-circleci-folder-structure/15465/3 "2018-12-14T00:44:45Z")

</div>

> [@devalex88](#):
>
> cd “Katalon Project Folder” &&

Thanks a lot! That worked, sorry I am new to using docker.
