saunter 2.0 for parallel execution

21 views
Skip to first unread message

thirumal rao

unread,
May 20, 2014, 12:36:19 PM5/20/14
to sau...@googlegroups.com
Hi,

Has anyone tried using saunter 2.0 for parallel execution (it uses xdist) with single browser (Example: saunter -n 2 -s -m all)?

I thought it is supposed to work straight away, but am getting the below error which looks trivial but has caught me for a while now....

[gw0] darwin -- Python 2.7.5 /Users/Thirumal/Documents/pythonVirtualEnv/venv/bin/python

Traceback (most recent call last):

  File "/Users/197410/Documents/pythonVirtualEnv/venv/lib/python2.7/site-packages/saunter-2.0.0a1-py2.7.egg/saunter/testcase/webdriver.py", line 92, in setup_method

    browser = self.cf["browsers"][self.cf["saunter"]["default_browser"]]

  File "/Users/Thirumal/Documents/pythonVirtualEnv/venv/lib/python2.7/site-packages/saunter-2.0.0a1-py2.7.egg/saunter/ConfigWrapper.py", line 40, in __getitem__

    return self._data[key]

KeyError: 'browsers'


Appreciate any help..

Thirumal

Dakota Smith

unread,
May 20, 2014, 5:15:10 PM5/20/14
to sau...@googlegroups.com
In your saunter.ini, have you tried changing browser: in the [Selenium] section to browsers: ?

I am just guessing, though. 


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

thirumal rao

unread,
May 20, 2014, 11:17:54 PM5/20/14
to sau...@googlegroups.com

Hi Dakota, Thanks for responding. In saunter 2.0, configs are YAMLised.
I am not very sure how to configure using these yamls.
When i use the '-n' comnand option, it is trying to create multiple threads but throws an error as in below mail.

I wonder if anyone has tried using saunter 2 with this command option.

Thirumal

Dakota Smith

unread,
May 21, 2014, 11:35:24 AM5/21/14
to sau...@googlegroups.com
Huh. 

I would have guessed there is still a Selenium section with a browser or browsers subsection, but that's just an assumption. Oh, I haven't transitioned to 2.0 yet. 

Please let us know what you find! 
Reply all
Reply to author
Forward
0 new messages