Test object with id 'Object Repository/' does not exist

Hi,
I executed my gitlab-runner in docker, DinD. Test cases run smoothly in my machine and all test objects can be found as well. However gitlab-ci job failed due to missing Test Objects. It seems that the directory is somehow changed after the repo was cloned. How can I fix this? Thanks in advance.

Running with gitlab-runner 11.5.0 (3afdaba6)
  on katalon-test-locally d5d788d9
Using Docker executor with image wtfyucheng/katalon:1.3 ...
Pulling docker image wtfyucheng/katalon:1.3 ...
Using docker image sha256:9321d7ac6974168773e76ac4b295aefea3989152381e1d3625fddfc4d6db2935 for wtfyucheng/katalon:1.3 ...
Running on runner-d5d788d9-project-1096-concurrent-0 via e303d534a527...
Cloning repository for katalon-test with git depth set to 5...
Cloning into '/builds/ext_erichu/threat_service_test_cases'...
Checking out 8afff635 as katalon-test...
Skipping Git submodules setup
$ echo "Starting Katalon Studio"
Starting Katalon Studio
$ report_dir=/root/report
$ mkdir -p $report_dir
$ $KATALON_BASE_ROOT_DIR/scripts/xvfb.sh start
+ XVFB=/usr/bin/Xvfb
+ XVFBARGS=':99 -screen 0 1024x768x24 -fbdir /var/run -ac'
+ PIDFILE=/var/run/xvfb.pid
+ case "$1" in
+ echo -n 'Starting virtual X frame buffer :99 1024x768x24'
Starting virtual X frame buffer :99 1024x768x24+ start-stop-daemon --start --quiet --pidfile /var/run/xvfb.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1024x768x24 -fbdir /var/run -ac
+ echo .
.
+ exit 0
$ $KATALON_KATALON_INSTALL_DIR/katalon -runMode=console -reportFolder=$report_dir -projectPath="$CI_PROJECT_DIR/Katalon/Katalon.prj" -retry=0 -testSuitePath="Test Suites/simple test case" -executionProfile="staging" -browserType="Chrome"
Request sent successfully.
Starting Groovy-Eclipse compiler resolver.  Specified compiler level: unspecified
150 2.4.7.xx-201611170128-e46 = ACTIVE

--------------------------------------------------------------------------------
Test Suites/simple test case - Chrome - 20181211_061916..................0/1(0%)
--------------------------------------------------------------------------------

Request sent successfully.
12-11-2018 06:19:18 AM - [START]  - Start Test Suite : Test Suites/simple test case
12-11-2018 06:19:19 AM - [RUN_DATA] - Logging run data 'hostName' with value 'root - runner-d5d788d9-project-1096-concurrent-0'
12-11-2018 06:19:19 AM - [RUN_DATA] - Logging run data 'os' with value 'Linux 64bit'
12-11-2018 06:19:19 AM - [RUN_DATA] - Logging run data 'hostAddress' with value '172.17.0.3'
12-11-2018 06:19:19 AM - [RUN_DATA] - Logging run data 'katalonVersion' with value '5.7.1.1'
12-11-2018 06:19:19 AM - [START]  - Start Test Case : Test Cases/Find test objects
12-11-2018 06:19:19 AM - [INFO]   - Evaluating variables for test case
12-11-2018 06:19:20 AM - [START]  - Start action : Statement - createCase = "Page_TIP/create case"
12-11-2018 06:19:20 AM - [END]    - End action : Statement - createCase = "Page_TIP/create case"
12-11-2018 06:19:20 AM - [START]  - Start action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((createCase + /btn_next))
12-11-2018 06:19:20 AM - [INFO]   - Finding Test Object with id 'Object Repository/Page_TIP/create case/btn_next'
12-11-2018 06:19:20 AM - [END]    - End action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((createCase + /btn_next))
12-11-2018 06:19:20 AM - [START]  - Start action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((createCase + /invalid URL))
12-11-2018 06:19:20 AM - [INFO]   - Finding Test Object with id 'Object Repository/Page_TIP/create case/invalid URL'
12-11-2018 06:19:20 AM - [WARNING] - Test object with id 'Object Repository/Page_TIP/create case/invalid URL' does not exist
12-11-2018 06:19:20 AM - [END]    - End action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((createCase + /invalid URL))
12-11-2018 06:19:20 AM - [START]  - Start action : Statement - home = "Page_TIP/Home"
12-11-2018 06:19:20 AM - [END]    - End action : Statement - home = "Page_TIP/Home"
12-11-2018 06:19:20 AM - [START]  - Start action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((home + /btn_create))
12-11-2018 06:19:20 AM - [INFO]   - Finding Test Object with id 'Object Repository/Page_TIP/Home/btn_create'
12-11-2018 06:19:20 AM - [WARNING] - Test object with id 'Object Repository/Page_TIP/Home/btn_create' does not exist
12-11-2018 06:19:20 AM - [END]    - End action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((home + /btn_create))
12-11-2018 06:19:20 AM - [START]  - Start action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((home + /btn_search))
12-11-2018 06:19:20 AM - [INFO]   - Finding Test Object with id 'Object Repository/Page_TIP/Home/btn_search'
12-11-2018 06:19:20 AM - [WARNING] - Test object with id 'Object Repository/Page_TIP/Home/btn_search' does not exist
12-11-2018 06:19:20 AM - [END]    - End action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((home + /btn_search))
12-11-2018 06:19:20 AM - [START]  - Start action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((home + /Home Page))
12-11-2018 06:19:20 AM - [INFO]   - Finding Test Object with id 'Object Repository/Page_TIP/Home/Home Page'
12-11-2018 06:19:20 AM - [WARNING] - Test object with id 'Object Repository/Page_TIP/Home/Home Page' does not exist
12-11-2018 06:19:20 AM - [END]    - End action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((home + /Home Page))
12-11-2018 06:19:20 AM - [START]  - Start action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((home + /href_pagination))
12-11-2018 06:19:20 AM - [INFO]   - Finding Test Object with id 'Object Repository/Page_TIP/Home/href_pagination'
12-11-2018 06:19:20 AM - [WARNING] - Test object with id 'Object Repository/Page_TIP/Home/href_pagination' does not exist
12-11-2018 06:19:20 AM - [END]    - End action : Statement - com.kms.katalon.core.testobject.ObjectRepository.findTestObject((home + /href_pagination))
12-11-2018 06:19:20 AM - [PASSED] - Test Cases/Find test objects
12-11-2018 06:19:20 AM - [END]    - End Test Case : Test Cases/Find test objects
12-11-2018 06:19:20 AM - [END]    - End Test Suite : Test Suites/simple test case
Copying report to folder /root/report...

--------------------------------------------------------------------------------
Test Suites/simple test case - Chrome - 20181211_061916................1/1(100%)
--------------------------------------------------------------------------------

EDIT: Add execution logs

Could you please elaborate on the issue?

@devalex88 I just added the execution logs. Thanks for your reply:)

Have all Test Objects been pushed to the Git repository? You can verify by cloning the repository into another place.

1 Like

@devalex88 Hi, I just fixed the issue by adding the following to .gitignore:

.classpath
/Reports
.project
/bin/
/Libs/Temp*

After I recommitted all files, the error disappeared. Yet I got another one saying “ERROR: Job failed: command terminated with exit code 1”. I’ll address the issue in a new post. Thanks a lot :slight_smile:

1 Like

I am also facing the issue.my project is working perfectly fine on katalon studio 9.7 but after migrating to katalon studio 10.1,I am getting “WARNING: Test object with id ‘Object Repository/’ does not exist” this error.I found someone posted same question and answer was “delete and recreate the object” - but i found this solution is not reliable at all,let say you have 500Objects in your project which is working fine on some specific katalon studio version,now when you migrate your project to another version, deleting all 500 objects and recapture them is almost like half of recreating the project(time consuming/not feasible at all!).


Add images

You wrote:

But I can not find the message in the screenshots you attached. So, your question does not make sense to me.

What could have happened is you had a Copy/Paste or Drag/Drop oopsy and caused the content of one of your object’s pathway to be replaced/changed. It may be only the one. Find out if it is only the one and move on.

I just have opened the working project(katalon 9.7) on katalon 10.1.no script change.no new object capture.nothing.


I have attached the screenshot for reference.

Hi @jigararvindbhai.makw,

If the above solution does not work for you, I have found another similar discussion on this: Test object with id 'Object Repository/' does not exist. - #16 by Brandon_Hein. Please try! Thank you

@jigararvindbhai.makw

Possibly you need to understand the “Git Dubious Ownership” issue. Please read the following article.

I suppose you need to change something in the way how you and your team use Git. For example, the above articles tells:

Fixing Dubious Ownership Issues

Changing File Ownership

On a UNIX-based system, you can change file ownership using the chown command, which can help rectify dubious ownership issues at the file system level.

Katalon products can’t help you much to solve the “Git Dubious Ownership” issue.