diff --git a/Readme.txt b/Readme.txt index 2d378eb3d..d86a24ada 100644 --- a/Readme.txt +++ b/Readme.txt @@ -1,6 +1,6 @@ pywinauto -(c) Mark Mc Mahon 2006-2015 -Released under the LGPL v2.1 or later +(c) Mark Mc Mahon 2006-2010, Intel Corporation 2015-2016, Open Source community 2016-2019 +Released under BSD 3-clause license What is it @@ -14,14 +14,15 @@ Manual Installation ------------ Install the following Python packages (Required) pyWin32 http://sourceforge.net/projects/pywin32/files/pywin32/ +(Required) comtypes https://github.com/enthought/comtypes (Optional) PIL http://www.pythonware.com/products/pil/index.htm Unzip the pywinauto zip file to a folder. Run "python setup.py install" To check you have it installed correctly run in Python REPL: ->>> from pywinauto.application import Application ->>> app = Application.start("notepad.exe") +>>> from pywinauto import Application +>>> app = Application(backend="uia").start("notepad.exe") >>> app.UntitledNotepad.type_keys("%FX") Installation in silent mode (Python 2.7, 3.3+) @@ -37,7 +38,7 @@ It explains the core concept, how to choose appropriate backend, spy tools and m We also have several examples installed along with the pywinauto demonstrating the work with Notepad, MSPaint, WireShark, explorer.exe and etc. https://github.com/pywinauto/pywinauto/tree/master/examples -Notice though these examples designed to work only on a system with English localization. +All the examples designed to work only on a system with English as OS interface language. How does it work @@ -82,25 +83,20 @@ wait for the transition to a new state like so :: Several similar tools for comparison ---------------------------------- -* Python tools - - - PyAutoGui - - AXUI - - winGuiAuto - -* Other scripting language tools - - - Perl Win32::GuiTest - - Ruby Win32-Autogui +------------------------------------ +See rating of competitors in the open source field (updated every month): +https://github.com/pywinauto/pywinauto/wiki/UI-Automation-tools-ratings * Other free tools - - AutoIt - See a collection at: https://github.com/atinfo/awesome-test-automation * Commercial tools + - TestComplete + - Squish + - HP UFT (former QTP) + - LeanFT - WinRunner - SilkTest - Many Others diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt index 7cb32d45c..72ce99ac8 100644 --- a/docs/HISTORY.txt +++ b/docs/HISTORY.txt @@ -2,6 +2,41 @@ Change Log ========== +0.6.6 Better WinForms/Qt5 Support, Bug Fixes +-------------------------------------------------------------------- +03-March-2019 + +Enhancements: + * Improve support for WinForms and Qt5: ComboBox, ListBox, DataGrid/Table. + * Add an ability to use MFC toolbar buttons by text. Thanks Nebyt_! + * Make method ``kill()`` hard (and fast) by default (can be used with param + ``soft=True`` optionally). + * Make ``visible_only=False`` a default option for method ``connect()`` + (useful for minimized apps). + * Add an ability to hold or release a key with params ``down`` and ``up`` + for ``.type_keys()`` method. See `the improved docs for keyboard module`_ + for more details. Thanks badari412_! + * Add method ``windows()`` to class ``Desktop``. + * Add `Remote Execution Guide`_ with all known RDP/VNC/psexec/etc tricks. + +Bug Fixes: + * Fix ``UnicodeDecodeError/UnicodeEncodeError`` in several cases + while printing wrapper object representation. + * Add static text to a list of best match names for ``backend="uia"``. + * Fix ``COMError`` for ``runtime_id`` property. + * Fix method ``click()`` for some radio buttons. + * Improve error message when screen is locked. + * Use ``utf-8`` encoding while writing ``dump_tree()`` output to file. + * Remove few incorrect warnings for ``backend="win32"``. + * Fix crash in ``GetWindowRect`` call. + * Fix black screenshot issue with second monitor. Thanks Nebyt_! + + .. _badari412: https://github.com/badari412 + .. _Nebyt: https://github.com/Nebyt + .. _`Remote Execution Guide`: remote_execution.html + .. _`the improved docs for keyboard module`: code/pywinauto.keyboard.html + + 0.6.5 Handling Privileges, AutomationID for Win32 etc. -------------------------------------------------------------------- 30-July-2018 diff --git a/pywinauto/keyboard.py b/pywinauto/keyboard.py index e7363dc28..965dfd827 100644 --- a/pywinauto/keyboard.py +++ b/pywinauto/keyboard.py @@ -95,6 +95,7 @@ send_keys('{^}a{^}c{%}') # type string "^a^c%" (Ctrl will not be pressed) send_keys('{{}ENTER{}}') # type string "{ENTER}" without pressing Enter key + """ from __future__ import unicode_literals