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:



still 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



test suite directory inside container



Any pathing tips or tricks to try for Bash/Powershell will be greatly appreciated










share|improve this question




















  • 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















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:



still 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



test suite directory inside container



Any pathing tips or tricks to try for Bash/Powershell will be greatly appreciated










share|improve this question




















  • 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













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:



still 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



test suite directory inside container



Any pathing tips or tricks to try for Bash/Powershell will be greatly appreciated










share|improve this question















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:



still 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



test suite directory inside container



Any pathing tips or tricks to try for Bash/Powershell will be greatly appreciated







powershell docker katalon-studio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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














  • 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












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 :)






share|improve this answer

















  • 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













Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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

























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 :)






share|improve this answer

















  • 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

















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 :)






share|improve this answer

















  • 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















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 :)






share|improve this answer












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 :)







share|improve this answer












share|improve this answer



share|improve this answer










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
















  • 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




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()