Parallel Robot Framework runner: Pabot v 0.2 Released

909 views
Skip to first unread message

Mikko Korpela

unread,
Jan 21, 2014, 1:37:40 AM1/21/14
to robotframework-users
Hello all!

I've released a new version of pabot tool.
The enhancement in this version is that now the intermediate results from all the executions are stored to a specific location (normally in a directory pabot_results and if --outputdir is defined then to a pabot_results folder under it).
This allows user to better debug and see what the situation is during test execution and in cases where the real test execution needs to be terminated for some reason.

Pabot can be installed from PyPi with "pip install -U robotframework-pabot".

All comments and feedback is very welcome!

Pabot tool homepage is currently in github: https://github.com/mkorpela/pabot
The issue tracker of the tool is also located there.

--
Mikko Korpela

Abhishek Mishra

unread,
Oct 20, 2014, 9:38:45 AM10/20/14
to robotframe...@googlegroups.com
HI Mikko,

It would be really helpful and useful if you can provide some support to run it using Maven or other build tool just like we have robot-framework maven plugin.

Olz let me know whenever you have something like that.

Really great work.Highly appreciable.

Thanks
Abhishek Mishra

Katerina Romanchuk

unread,
Feb 19, 2016, 7:03:06 AM2/19/16
to robotframework-users
Hi!
I have some problem to run test with pybot.

I have Python 3.3
Pabot 0.22

Looks like I have wrong PATH, because I try different python version..(

How can I run script with full path to file?
 I just want to run example from https://github.com/mkorpela/pabot

CMD:

C
:\Python33\python.exe C:\Python33\Lib\site-packages\pabot\pabot.py D:\Example\test.robot
 
File "C:\Python33\Lib\site-packages\pabot\pabot.py", line 152
   
print "get_suite_names: output_file='%s' does not exist" % output_file
                                                           
^
SyntaxError: invalid syntax

Pekka Klärck

unread,
Feb 19, 2016, 7:11:56 AM2/19/16
to romanchuk...@gmail.com, robotframework-users

Pabot doesn't seem to be Python 3 compatible. Please submit an issue about it to Pabot's tracker if there isn't one already. Mikko would probably appreciate pull requests too.

Before Pabot supports Python 3, you need to use Python 2.7.

Sent from my mobile.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Hélio Guilherme

unread,
Feb 19, 2016, 7:13:21 AM2/19/16
to robotframework-users
We can see that even if you installed pabot in Python3, it does  not work because of different syntax from Python 2.7.

You could try to fix your own install by replacing all "print" statements by "print()" functions.

In your error example it could be:
print("get_suite_names: output_file='{0}' does not exist".format(output_file))



--

Katerina Romanchuk

unread,
Feb 19, 2016, 7:34:16 AM2/19/16
to robotframework-users
I have asked Mikko about Python 3. He said Pabot works ok with it.

Hélio Guilherme

unread,
Feb 19, 2016, 7:57:05 AM2/19/16
to robotframework-users
I have just installed pabot in Python 3.4 and fails:
[helio@localhost pabot]$ pabot --help
Traceback (most recent call last):
  File "/usr/bin/pabot", line 3, in <module>
    from pabot.pabot import main
  File "/usr/lib/python3.4/site-packages/pabot/pabot.py", line 152

    print "get_suite_names: output_file='%s' does not exist" % output_file
                                                           ^
SyntaxError: Missing parentheses in call to 'print'


My installation is:
[helio@localhost pabot]$ pip3 list
(...)
requests (2.9.1)
robotframework (3.0)
robotframework-pabot (0.22)
robotframework-selenium2library (1.7.4)
robotremoteserver (1.0.1)
(...)

robin paul

unread,
Aug 29, 2016, 3:48:38 AM8/29/16
to robotframework-users
Hi Mikko 
I am extensively using python34 , robot framework for my project
Can see pabot is not working with python34 , i changed the print basic statement
Now throwing error with robotremoteserver

any idea please?

thanks

robin paul

unread,
Sep 2, 2016, 4:21:05 AM9/2/16
to robotframework-users
Hi 
I am able to run testsuites in parallel using pabot with python27
Is there any option to execute test cases in parallel
For eg if a suite or a robot file has 10 test cases , can we execute these 10 cases parallelly


On Tuesday, January 21, 2014 at 7:37:40 AM UTC+1, Mikko Korpela wrote:
Reply all
Reply to author
Forward
0 new messages