@@ -31,7 +31,6 @@ Keyword documentation
3131__ http://robotframework.org/Selenium2Library/Selenium2Library.html
3232__ http://robotframework.org/Selenium2Library/Selenium2Library-1.8.0.html
3333
34-
3534Installation
3635------------
3736
@@ -46,10 +45,48 @@ Install the legacy Selenium2Library 1.8.0 version::
4645
4746 pip install robotframework-selenium2library==1.8.0
4847
48+ Migrating to SeleniumLibrary
49+ ----------------------------
50+
51+ Existing Selenium2Library users should start migrating to the
52+ SeleniumLibrary _. For most users this should be a simple procedure:
53+
54+ 1. Install the latest Selenium2Library as explained above. This installs
55+ both SeleniumLibrary and Selenium2Library, and in fact Selenium2Library
56+ is nowadays just a thin wrapper for SeleniumLibrary.
57+
58+ 2. Execute tests normally to see are there problems.
59+
60+ 3. If problems are encountered, try on investigate why they occur. Possible
61+ problems can be divided into two categories:
62+
63+ - If a keyword provided by the library itself has changed, take a look at
64+ `SeleniumLibrary 3.0 release notes `_ to see is it a known backwards
65+ incompatible change. If it isn't, you may have encountered a regression
66+ that ought to be reported to `SeleniumLibrary issue tracker `_.
67+
68+ - If a library using Selenium2Library does not work anymore, it is likely
69+ due to the large internal changes in SeleniumLibrary 3.0. Report the
70+ problem to the maintainers of the broken library or fix the problem
71+ yourself if you are the maintainer.
72+
73+ Regardless the problem, you can always ask help on various `support
74+ channels `_.
75+
76+ 4. If no problems occur or after problems have been resolved, you can start
77+ changing library imports to use ``SeleniumLibrary `` instead of
78+ ``Selenium2Library ``. Also all keyword usages in form like
79+ ``Selenium2Library.Title Should Be `` need to be updated.
80+
81+ 5. After test data has been updated, Selenium2Library installation can
82+ be removed altogether.
4983
5084.. _Robot Framework : http://robotframework.org
5185.. _Selenium : http://seleniumhq.org
5286.. _PyPI : https://pypi.python.org/pypi/robotframework-selenium2library
5387.. _GitHub : https://github.com/robotframework/Selenium2Library
5488.. _SeleniumLibrary : https://github.com/robotframework/SeleniumLibrary
5589.. _pip : http://pip-installer.org
90+ .. _SeleniumLibrary 3.0 release notes : https://github.com/robotframework/SeleniumLibrary/blob/master/docs/SeleniumLibrary-3.0.0.rst
91+ .. _SeleniumLibrary issue tracker : https://github.com/robotframework/SeleniumLibrary/issues
92+ .. _support channels : http://robotframework.org/#support
0 commit comments