Failed to run scheduled test in local test environment:-
Created a local test environment by downloading the agent. Agent is shown as online but when I run the test, status is always incomplete. Not a single test case was executed.
Downloading Git didn’t solve the issue.
Got following error on cmd:
[2023-06-01T10:37:24.952Z] [INFO]: Agent user: chinnudileep94@gmail.com
[2023-06-01T16:07:24.952] [INFO] katalon - Downloading test project...
[2023-06-01T10:37:24.960Z] [INFO]: Cloning from https://github.com/athiradileep3/automation-kat.git (refs/heads/main) into D:\Agent\tmp\2023.06.01-16.7--2748-Rmo6aiGv0Eg5-1373601\automation-kat.git. It may take a few minutes.
[2023-06-01T16:07:24.999] [ERROR] katalon - executeJob: { Error: Error: spawn git ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at GitExecutorChain.onFatalException (D:\snapshot\katalon-agent\node_modules\simple-git\src\lib\runners\git-executor-chain.js:61:87)
at GitExecutorChain.<anonymous> (D:\snapshot\katalon-agent\node_modules\simple-git\src\lib\runners\git-executor-chain.js:52:28)
at Generator.throw (<anonymous>)
at rejected (D:\snapshot\katalon-agent\node_modules\simple-git\src\lib\runners\git-executor-chain.js:6:65)