Closed mochsuryono closed 2 years ago
Hi @yono-oy , Sorry for the delayed reply.
It looks like your test case is trying to load resources from the ../Resources/
path.
Unfortunately, as this is a mounted volume, it is equivalent to Robot Framework trying to look into /opt/robotframework/Resources/
, which doesn't exist.
I would suggest that you also mount this ../Resources/
on the command line.
Closing this ticket due to lack of activity.
Hi.
I just ran with the following code in CircleCi and I got the error
[ ERROR ] Suite 'Tests' contains no tests or tasks.
.docker run \ --volume=/home/circleci/project/landingpage/Personal/Results:/opt/robotframework/reports:Z \ --volume=/home/circleci/project/landingpage/Personal/TestCases:/opt/robotframework/tests:Z \ -e BROWSER=chrome \ ppodgorsek/robot-framework:latest
Actually, in my landingpage/Personal/TestCases there is a check-product-consumerapp.robot, this file is actually a test file. When I run
realpath check-product-consumerapp.robot
command in CircleCI, the result gives me the full path: /home/circleci/project/landingpage/Personal/TestCases.In my laptop directory: webautomation |_ landingpage |__ Personal |_____ Resources | Results | TestCases |____ check-product-consumerapp.robot
And in CircleCI it becomes: /home/circleci/project/landingpage/Personal/TestCases
My check-product-consumerapp.robot looks like this: Settings Documentation This test case check menu Product/Consumer App content body.
Library SeleniumLibrary Library OperatingSystem
Resource ../Resources/Keyword/default.robot Resource ../Resources/Keyword/product-consumerapp.robot Resource ../Resources/variables.robot
Test Setup Open Web Test Teardown Exit Browser
Test Cases Check Consumer App Content Go to Consumer App Page Check Consumer App Content Check Consumer App Downloads
Any idea of this? Thank you.