Katalon in Docker Test Suite Pathing
up vote
3
down vote
favorite
I have a powershell script which executes the following but struggling to find the Test Suite pathing
docker run -t -v ${pwd}:/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" --privileged -retry=0 -statusDelay=15 -testSuiteCollectionPath='/katalon/katalon/source/Test Suites/'
I have also tried to reference the Test Suite explicitly (like the official docs)
docker run -t -v $(pwd):/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details"
Gives this error:
If I go into the container and cd to the Test Suite directory I can see the files(as seen below) but the arguments are failing when being passed in via the powershell script
Test suite directory inside container
Any pathing tips or tricks to try for Bash/Powershell will be greatly appreciated
powershell docker katalon-studio
add a comment |
up vote
3
down vote
favorite
I have a powershell script which executes the following but struggling to find the Test Suite pathing
docker run -t -v ${pwd}:/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" --privileged -retry=0 -statusDelay=15 -testSuiteCollectionPath='/katalon/katalon/source/Test Suites/'
I have also tried to reference the Test Suite explicitly (like the official docs)
docker run -t -v $(pwd):/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details"
Gives this error:
If I go into the container and cd to the Test Suite directory I can see the files(as seen below) but the arguments are failing when being passed in via the powershell script
Test suite directory inside container
Any pathing tips or tricks to try for Bash/Powershell will be greatly appreciated
powershell docker katalon-studio
1
Which KS version are you using? It might not work in 5.8.2.
– Mate Mrše
Nov 7 at 15:09
Thanks - the latest on docker hub is 5.8.5, so I believe that part should be ok
– Ryan McCartney
Nov 8 at 6:55
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have a powershell script which executes the following but struggling to find the Test Suite pathing
docker run -t -v ${pwd}:/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" --privileged -retry=0 -statusDelay=15 -testSuiteCollectionPath='/katalon/katalon/source/Test Suites/'
I have also tried to reference the Test Suite explicitly (like the official docs)
docker run -t -v $(pwd):/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details"
Gives this error:
If I go into the container and cd to the Test Suite directory I can see the files(as seen below) but the arguments are failing when being passed in via the powershell script
Test suite directory inside container
Any pathing tips or tricks to try for Bash/Powershell will be greatly appreciated
powershell docker katalon-studio
I have a powershell script which executes the following but struggling to find the Test Suite pathing
docker run -t -v ${pwd}:/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" --privileged -retry=0 -statusDelay=15 -testSuiteCollectionPath='/katalon/katalon/source/Test Suites/'
I have also tried to reference the Test Suite explicitly (like the official docs)
docker run -t -v $(pwd):/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details"
Gives this error:
If I go into the container and cd to the Test Suite directory I can see the files(as seen below) but the arguments are failing when being passed in via the powershell script
Test suite directory inside container
Any pathing tips or tricks to try for Bash/Powershell will be greatly appreciated
powershell docker katalon-studio
powershell docker katalon-studio
edited Nov 7 at 14:45
kenlukas
1,2261217
1,2261217
asked Nov 7 at 14:38
Ryan McCartney
464
464
1
Which KS version are you using? It might not work in 5.8.2.
– Mate Mrše
Nov 7 at 15:09
Thanks - the latest on docker hub is 5.8.5, so I believe that part should be ok
– Ryan McCartney
Nov 8 at 6:55
add a comment |
1
Which KS version are you using? It might not work in 5.8.2.
– Mate Mrše
Nov 7 at 15:09
Thanks - the latest on docker hub is 5.8.5, so I believe that part should be ok
– Ryan McCartney
Nov 8 at 6:55
1
1
Which KS version are you using? It might not work in 5.8.2.
– Mate Mrše
Nov 7 at 15:09
Which KS version are you using? It might not work in 5.8.2.
– Mate Mrše
Nov 7 at 15:09
Thanks - the latest on docker hub is 5.8.5, so I believe that part should be ok
– Ryan McCartney
Nov 8 at 6:55
Thanks - the latest on docker hub is 5.8.5, so I believe that part should be ok
– Ryan McCartney
Nov 8 at 6:55
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
After much frustration - turns out the shell scripts and bat files were using the wrong Project file in the bin folder. Once I deleted the bin folder it used the correct project in the root Katalon folder and Test Suite pathings were found :)
1
The working bat file:@echo on docker run -t --rm -v "%cd%:/tmp/source" -w /tmp/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details" pause
– Ryan McCartney
Nov 8 at 13:01
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
After much frustration - turns out the shell scripts and bat files were using the wrong Project file in the bin folder. Once I deleted the bin folder it used the correct project in the root Katalon folder and Test Suite pathings were found :)
1
The working bat file:@echo on docker run -t --rm -v "%cd%:/tmp/source" -w /tmp/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details" pause
– Ryan McCartney
Nov 8 at 13:01
add a comment |
up vote
3
down vote
After much frustration - turns out the shell scripts and bat files were using the wrong Project file in the bin folder. Once I deleted the bin folder it used the correct project in the root Katalon folder and Test Suite pathings were found :)
1
The working bat file:@echo on docker run -t --rm -v "%cd%:/tmp/source" -w /tmp/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details" pause
– Ryan McCartney
Nov 8 at 13:01
add a comment |
up vote
3
down vote
up vote
3
down vote
After much frustration - turns out the shell scripts and bat files were using the wrong Project file in the bin folder. Once I deleted the bin folder it used the correct project in the root Katalon folder and Test Suite pathings were found :)
After much frustration - turns out the shell scripts and bat files were using the wrong Project file in the bin folder. Once I deleted the bin folder it used the correct project in the root Katalon folder and Test Suite pathings were found :)
answered Nov 8 at 12:57
Ryan McCartney
464
464
1
The working bat file:@echo on docker run -t --rm -v "%cd%:/tmp/source" -w /tmp/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details" pause
– Ryan McCartney
Nov 8 at 13:01
add a comment |
1
The working bat file:@echo on docker run -t --rm -v "%cd%:/tmp/source" -w /tmp/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details" pause
– Ryan McCartney
Nov 8 at 13:01
1
1
The working bat file:
@echo on docker run -t --rm -v "%cd%:/tmp/source" -w /tmp/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details" pause
– Ryan McCartney
Nov 8 at 13:01
The working bat file:
@echo on docker run -t --rm -v "%cd%:/tmp/source" -w /tmp/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Fund Fact Details" pause
– Ryan McCartney
Nov 8 at 13:01
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53191648%2fkatalon-in-docker-test-suite-pathing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Which KS version are you using? It might not work in 5.8.2.
– Mate Mrše
Nov 7 at 15:09
Thanks - the latest on docker hub is 5.8.5, so I believe that part should be ok
– Ryan McCartney
Nov 8 at 6:55