Skip to content
adamgoucher edited this page Mar 14, 2012 · 61 revisions

0.39

This is a big release.

changes

  • WebDriver Page Objects now get their browser information as a constructor (dependency injection) rather than from a singleton
  • The SaunterWebDriver inherits in a more OO manner rather than having static methods on it. This allows the resulting code to be more in line with 'typical' Se code
  • Fixed Sauce Labs integration when downloading artifacts from Se-RC

upgrade notes

0.38

changes

  • added a --version flag to quickly figure out what version you have
  • updated things to use selenium 2.19.0
  • updated to use py.test 2.2.3
  • added wait_for_element_present and wait_for_element_visibility_change to the rc's base Page class

0.37

changes

  • instead of the initial se window always grabbing / from the server, it uses whatever the base_url is in saunter.ini

0.36

changes

  • py.test's xfail should now work
  • upgraded the versions of se py.test that are expected

upgrade notes

  • remove the pytest_runtest_makereport method and AdvancedReport class from conftest.py

0.35

changes

  • added a new Number element base class that will int() the returned value from Se
  • can disable autofocus

0.34

changes

  • exposed --durations argument, though it doesn't really do anything all that useful

0.33

ummm, ya. got confused with my commits and this didn't really happen

0.32

a small experimental release for disabling autofocus in a specific place; fully implemented in 0.35

0.31

changes

  • the full stack of a failing line (like a timeout) is displayed by default so you can see where things in your code is failing, just just where in saunter it was dying

0.30

changes

  • can now control the rc timeout value from saunter.ini

upgrade notes

  • add 'timeout' to the Selenium section of saunter.ini in order to get more control over the timeout. this config option takes the number seconds to wait (not ms which i think is just annoying). if you do not add this in, then the default of 30 seconds is used

0.29

changes

  • implicit waits when switching to a popup window in remote control now work
  • which was as a direct result of not swallowing the error the server returned when the window wasn't found
  • the parsing of the message (error) from the server when an element or window isn't found is done as unicode rather than as a string
  • wait_for_element_present(locator) is now available on rc based pages

0.28

apparently i did a double version bump.

changes

  • implicit waits now work for webdriver
  • setting text in a field that inherits from saunter.po.webdriver.text now works
  • increased the se version to 2.14 which pulls in a firefox-to-the-foreground fix
  • --collectonly is now exposed

0.26

changes

  • exposed the py.test --pdb flag
  • exposed the --maxfail flag for early exit of runs
  • upgrading the required py.test version to 2.2.0
  • removed the marksfiltration plugin since collection is now fixed in 2.2.x
  • google chrome support for webdriver

upgrade notes

  • the way to collect script has now changed as a result of using py.test's collection system. first, the flag is -m (marker) now rather than -f (filter).
shallow do nothing, this is the default
single -m ebay
or -m "shirts or meta"
and -m "shirts and ebay"
filter -m "ebay and not meta"
filter -m "not meta"
* if you are using google chrome with webdriver, you need to tell py.saunter where to find the external chromedriver binary. it looks for this information in saunter.ini in the Selenium section as the chromedriver_path key. For instance:

chromedriver_path: /Users/adam/Downloads/chromedriver

0.25

changes

  • the config file is now read using SafeConfigParser instead of RawConfigParser which is apparently a good thing (and a feature request)
  • new flag -p to control additional py.test plugins. your milage with them of course will vary
  • new flag --traceconfig to let you see which plugins are enabled or disabled
  • the built-in 'mark' plugin is disabled as it was conflicting with the markfiltration one which does better collection. this conflict broke a filtration of things like '-f foo -f bar' and '-f foo -bar'

0.24

changes

  • fixing an import when using WebDriver

0.23

changes

  • For RC, a screen capture is taken right before the browser is closed and put in logs//final.png
  • For both RC and WebDriver, if an exception happens in setUp() the browser should still get closed and not be orphaned

upgrade notes

  • the non-orphan trigger is in conftest.py which is created when you run with the --new argument. since this file does not get stomped on with subsequent runs it needs to be manually copied. The new conftest.py is at /site-packages/py.saunter-0.23-py2.7.egg/saunter/_defaults/conftest.py.

0.22

changes

  • buildbot will now correctly report passed or failed

0.21

changes

  • new flag --tb to control the output you want from failed scripts (same as the py.test one)

0.18, 0.19, 0.20

changes

  • fix a type-o around implicit waits. and then type-o in the fix. and that fix.

0.17

changes

  • implicit waits should now work with webdriver
  • added find_elements_by_locator to SaunterWebDriver
  • added wait_for_available to saunter.po.webdriver.page
  • fixed the missing imports from saunter.providers.django_provider

0.16

changes

  • fixed the se server 'hanging' when saunter was controlling it in the background

0.15

changes

  • even if the server version was bumped it wouldn't be downloaded

0.14

changes

  • fixed the logfile name which didnt have the hour in it
  • the 'focus' command doesn't throw and exception if the locator it is locating on doesnt exist

0.13

changes

  • bumped the server jar from 2.5.0 to 2.7.0

0.12

changes

  • fixed a problem with setting focus with 'select' commands

0.11

changes

  • ummm. wouldn't run due to a type-o. well, not really a type-o, but a lesson learned that you cannot use 0.10.1 as a version

0.10.1

changes

  • requires selenium 2.6.0 bindings
  • repo change from personal account to the organization one

0.10

changes

  • screenshots of command results are now available which are stored in logs/ as a numerical sequence

upgrade notes

  • add 'take_screenshots' to the 'Saunter' section as a true/false value

0.9

changes

  • elements now are 'focus'ed before interacted with

0.8

changes

  • added a mechanism for modifying the Selenium RC API

upgrade notes

  • there is a new module that is needed for this upgrade to work. running 'pysaunter --new' will create it for you.

0.7

changes

  • fixed updating of Se-RC jobs run in Sauce OnDemand
  • replaced urllib2 with requests
  • the selenium server detection was hardcoded to look at localhost:4444. now reads from the config file

upgrade notes

  • the bulk of the changes were done in the conftest.py which is created when you run with the --new argument. since this file does not get stomped on with subsequent runs it needs to be manually copied. The new conftest.py is at /site-packages/py.saunter-0.7-py2.7.egg/saunter/_defaults/conftest.py.

0.6

changes

  • reworked how the selenium server is controlled
  • added webdriver (always through remote) support
  • refactored a bit of the Sauce integration

upgrade notes

  • saunter.ini changes
  • new manage_server key in [Saunter] that is either true or false. when false the assumption is that you are controlling the server some other way (such as with puppet)
  • server key in [Saunter] is now server_path and points to selenium server jar you want to use. it it is not found py.saunter will download one for you
  • SaunterTestCase has been moved to either saunter.testcase.remotecontrol or saunter.testcase.webdriver. Adjust your imports accordingly

0.5

  • fixed argument parsing; the default really is 'shallow' as a tag when there is no tag provided.
  • added implicit wait support. the control, modify the following values in your saunter.ini
  • use_implicit_wait: true
  • implicit_wait: 30
  • when a locator is not found, it throws a useful exception instead of just a stack trace
  • Element css=.countr was not found. It is used in the ShirtPage page object in the pages.shirts module.

0.4

  • moved the starting of the server outside of initialization of a new project
  • added new [Saunter] section to saunter.ini (people upgrading will have to manually add this blank section)
  • examples now available in github
  • generators now work
  • providers now work

0.3

  • first public release
Clone this wiki locally