m91
(D)
12 October 2023 08:27
1
Hi all,
I would like to run parallel tests using pabot and reusing the same node process but I don’t understand how to do it. I have a bash script where I run this command: pabot --processes $PROCESSES etc…
How can I use this experimental feature?
Thanks a lot.
rasjani
(not available)
13 October 2023 12:10
2
Question isnt too obvious what you are actually trying to do and what experimental feature you are talking about.
m91
(D)
13 October 2023 12:39
3
I read this: RPA.Browser.Playwright library | Robocorp documentation and I was thinking of running N robot tests in parallel that shared the browser rather than creating a new instance every time.
Is it possibile? Did I get it right?
Thanks.
Hi @m91
I guess that might be possible, I’ve never tried it, but here’s where’s I’d start
You will want to use Run Setup Only Once
(pabot execution )
In your setup call New Browser (not Open Browser )
In your test case call New Page (and New Context unless you want to share the context)
Then each test should be executing in a separate browser tab/window rather a completely different process.
I hope that helps,
Dave.
m91
(D)
14 October 2023 16:00
5
Hi @damies13 ,
It doesn’t work because each test runs the “Run setup only once” suite setup.
What do you think of the previous link RPA.Browser.Playwright library | Robocorp documentation ?
Thanks.
1 Like