I have automated script in robot for chrome browser. I have to run my robot script which is my single test case parallelly on multiple instances of chrome.
I tried below command but its not launching multiple instances of chrome. Its just launching single instance
So Pabot by default splits up execution by suite level. So for example if you had a directory called “tests” that contained 4 robot files and you ran the command with that “tests” directory as the path then you would run two of those robot files at once.
What I think you need is to use the command --testlevelsplit that will run your tests within a suite in parallel.
–testlevelsplit
Split execution on test level instead of default suite level. If .pabotsuitenames contains both tests and suites then this will only affect new suites and split only them. Leaving this flag out when both suites and tests in .pabotsuitenames file will also only affect new suites and add them as suite files.
I have single automated long test case in my suite. I have tried below two commands to launch 3 separate instances but it is just launching single chrome instance.
Execution failed in Test Script {test1.txt} with 252 failing test(s)
Execution failed in Test Script {test2.txt} with 252 failing test(s)
I want to execute same test case with different input file parallelly. It should launch multiple instances of chrome and pass every single file to script
How to execute one test case multiple time in parallel in Robot framework?
I have single automated long test case in my suite. I want to execute same test case with different input file parallelly. It should launch multiple instances of chrome and pass every single file to the robot script. Its basically not suite level split .I have to launch only one test case on multiple instances of chrome.
I have tried multiple thing. e.g. pabot but did not worked
Launching just single chorme
pabot --processes 2 --listener robot-tc-listener --outputdir %PabotResu
lts_DIR% --output output.xml --report report.html --log log.html test.robot
2.Launching single test case sequncially 3 times
pabot --processes 8 -d results -o Output.xml -t “Test-Task” . . .
3. Launching just single chorme
pabot --processes 8 -d results -o Output.xml test.robot --include smoke
4.Launching just single chorme
robot -t “Test-Task” …
5.Launching just single chorme
pabot --processes 3 --testlevelsplit test.robot
My Script looks as below-
Test-Task
[Tags] smoke
Launch Application
Select link to register
Upload text file ${data_file_path}
I understood pabot split execution on test case level.
I tried below command which is not launching chrome instance. In my case, agumentfile is different text file which I have to upload during UI script navigation. My text file has content which I have to upload those and content inside text file are not linked anywhere