Skip to content

problem with Parallelization Options #353

@awasall

Description

@awasall

Hello,
I'm having trouble with the docker command for the parallelize option.
I configured the browser, the platform and a specific version in ac. by launching the command I passed it -e PABOT_OPTIONS = "- argumentfile chrome_config.txt"

*here is the command to run
docker run --rm -u root --shm-size=1g -v ${PWD}/reports:/opt/robotframework/reports:Z -v ${PWD}:/opt/robotframework/tests:Z -e PABOT_OPTIONS="--argumentfile chrome_config.txt" sonatel_rbfwk:latest

here is the file resource.robot
`
** Settings ***
Library SeleniumLibrary
@{_tmp}
... browserName: ${browserName},
... platform: ${platform},
... version: ${version},
... name: ${SUITE_NAME},
... build: Python-Robot-Selenium-VDC

${browser} ${browserName}
${capabilities} ${EMPTY.join(${_tmp})}
${remote_url} https://saucelab

*** Keywords ***

Open login page
Open browser https://www.saucedemo.com/v1/ browser=${browser}
... remote_url=${remote_url}
... desired_capabilities=${capabilities}

Open inventory page
Open browser https://www.saucedemo.com/v1/inventory.html browser=${browserName}
... remote_url=${remote_url}
... desired_capabilities=${capabilities}

Login As Standard User

Input text  id:user-name  standard_user
Input text  id:password  secret_sauce
Click button  class:btn_action

Login As Invalid User

Input text  id:user-name  invalid
Input text  id:password  invalid
Click button  class:btn_action

Add Item To Cart

Click button  class:btn_primary

Remove Item From Cart

Click button  class:btn_secondary

Has Items In Cart

Page should contain element  class:shopping_cart_badge

End Session
Run Keyword If '${TEST_STATUS}'== 'PASS' Execute Javascript sauce:job-result=passed
... ELSE Execute Javascript sauce:job-result=failed
Close Browser`

*Here is the file txt
--variable browserName:chrome --variable platform:windows 10 --variable version:latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions