Skip to main content
Bumped by Community user
Bumped by Community user

*** Settings *** Library SeleniumLibrary

*** Variables *** ${url} https://www.youtube.com/ ${browser} chrome

*** Test Cases *** Search [Template] Open Browser ${url} ${browser} Maximize Browser Window

*** Settings ***
Library           SeleniumLibrary

*** Variables ***
${url}            https://www.youtube.com/
${browser}        chrome

*** Test Cases ***
Search
    [Template]
    Open Browser    ${url}    ${browser}
    Maximize Browser Window

NOTE : If we want to run the above test case at the same time on different browsers. How can we handle it in robot framework (Is it possible to integrate with sauce labs / browser stack). Currently, I am passing the variable browser from command line. eg : robot --variable BROWSER:Chrome Youtube.robotrobot --variable BROWSER:Chrome Youtube.robot

But I want to run it on different browsers at once.

*** Settings *** Library SeleniumLibrary

*** Variables *** ${url} https://www.youtube.com/ ${browser} chrome

*** Test Cases *** Search [Template] Open Browser ${url} ${browser} Maximize Browser Window

NOTE : If we want to run the above test case at the same time on different browsers. How can we handle it in robot framework (Is it possible to integrate with sauce labs / browser stack). Currently, I am passing the variable browser from command line. eg : robot --variable BROWSER:Chrome Youtube.robot

But I want to run it on different browsers at once.

*** Settings ***
Library           SeleniumLibrary

*** Variables ***
${url}            https://www.youtube.com/
${browser}        chrome

*** Test Cases ***
Search
    [Template]
    Open Browser    ${url}    ${browser}
    Maximize Browser Window

NOTE : If we want to run the above test case at the same time on different browsers. How can we handle it in robot framework (Is it possible to integrate with sauce labs / browser stack). Currently, I am passing the variable browser from command line. eg : robot --variable BROWSER:Chrome Youtube.robot

But I want to run it on different browsers at once.

Source Link

Is there any way to run test cases on different browser at once in robotframework using Ride

*** Settings *** Library SeleniumLibrary

*** Variables *** ${url} https://www.youtube.com/ ${browser} chrome

*** Test Cases *** Search [Template] Open Browser ${url} ${browser} Maximize Browser Window

NOTE : If we want to run the above test case at the same time on different browsers. How can we handle it in robot framework (Is it possible to integrate with sauce labs / browser stack). Currently, I am passing the variable browser from command line. eg : robot --variable BROWSER:Chrome Youtube.robot

But I want to run it on different browsers at once.