Commit Graph

579 Commits

Author SHA1 Message Date
markm
caa3d7144b * Added a check to make sure that the menu handle used in HwndWrapper.Menu() is a valid handle. 2008-06-05 18:38:46 +00:00
markm
39997b4e47 * Added support for treeviews that have multiple roots. (added TreeView.Roots(), updated TreeView.GetItem() to support it,
* Fixed ToolBarWrapper.Pressbutton() to actually work :-)
 * Fixed the tests to support these improvements.
2008-06-05 18:37:46 +00:00
markm
2679199777 * fixed bug where even if there were no menu - I was trying to construct a Menu instance (which was crashing the application under test in very rare instances1) 2008-02-22 21:09:26 +00:00
markm
8458682cf7 * Handled the problem where tree views can have 0 items 2007-12-03 17:49:34 +00:00
markm
8ad1894f11 * Minor doc string update 2007-11-25 20:55:05 +00:00
markm
87352c0026 * tiny modifications to the test for the current environment 2007-11-15 22:36:36 +00:00
markm
8529947cf2 * Checked in a hack to make functionality work like it did before I updated the code to be able to retrieve text with WM_GETTEXT intead of using GetWindowText() 2007-11-15 22:36:00 +00:00
markm
adb28ff546 * Changed code from using GetWindowText and GetWindowTextLength to WM_GETTTEXT and WM_GETTTEXTLEN which work better for some controls. 2007-11-15 18:42:55 +00:00
markm
49f3dac44a * commented out a print statement 2007-10-29 21:08:58 +00:00
markm
170dad7272 * Added a FriendlyClassName method to MenuItem 2007-10-29 21:08:25 +00:00
markm
ed25200934 * Moved code to get default font in here from the truncation test (rather than just setting the system font like the WM_GETFONT doc's say) 2007-10-29 21:07:37 +00:00
markm
cad3e05c13 * Split up the functions for button truncation data
* Commented out code to get a new font if the font could not be recovered (as we would have at least set the System font when asking the control for the font, and move the code into the handleprops.font() function.
2007-10-29 21:05:57 +00:00
markm
79008526b5 * Fixed a bug where if there was a listview without a column control - then pywinauto would fail to capture the dialog. 2007-10-25 19:35:18 +00:00
markm
7272f826ce * Switched from Least significant nibble for figuring out the type of button to least significant bit. 2007-10-24 19:26:36 +00:00
markm
4cc045eae5 * Forced some returned strings to be Unicode 2007-10-24 19:25:56 +00:00
markm
9d5fb9bdcd * Added a function to get the string representation of the bug. (need to refactor print bugs at some point. 2007-10-12 14:42:58 +00:00
markm
a19bf59351 * Fixed a variable name (from fname -> font_name as fname was not set!) 2007-10-12 14:42:13 +00:00
markm
dd98d061ce * Changed Least Significant Byte to Leas Significant Nibble when finding the friendly class of a button control. 2007-08-14 08:34:05 +00:00
markm
9aab1b8549 * Fixed toolbar button pressing - This required for HwndWrapper.NotifyParent() to be updated (to accept a new ID parameter) 2007-06-13 18:26:00 +00:00
markm
a1ed80c1c5 * Added some more VB 'button' window classes 2007-06-13 18:25:10 +00:00
markm
2795fdc4c9 * Updated the path for all tests 2007-06-13 18:24:37 +00:00
markm
89076bc6b2 * Final doc changes for 0.3.7 release
* Removed a print statement from common_controls.py
0.3.7
2007-04-10 17:23:49 +00:00
markm
3301ff0593 * Some documentation updates
* Small changes to getting the active window (as it wasn't working correctly)
2007-04-10 17:08:39 +00:00
markm
9218f8235a * Merged in the 'waitbranch' branch 2007-04-10 15:35:49 +00:00
markm
d9de89c6b1 * Updated how I click on the Popup Menu 2007-04-09 15:29:52 +00:00
markm
945bf164dc * fixed Jira issue http://jira.openqa.org/browse/PWA-1 2007-03-23 16:41:17 +00:00
markm
0f4dffcdc4 * Added more functionality and fixed possible problems in clipboard.py 2007-03-13 22:56:31 +00:00
markm
baa95552ac * Added a new _toolbar_button.IsEnabled() method and this should really be called before Click() 2007-03-12 22:34:24 +00:00
markm
136d69be7c * Increased the version number to 3.7 to be ready for the next release
* Complete overhaul of toolbar button wrapping and actions - still not perfect but a lot more functional then it was
 * Allowed Rectangles to be passed to Click etc for Coords
 * Changed the default timing for button presses to .01 from .001 (seemed in my testing that clicks could happen too fast)
 * Added two consatants to win32defines.txt
 * Added newline to setup.py
2007-03-12 20:58:33 +00:00
markm
bb0f50d66d * Implemented setuptools reference (thanks to Dalius Dobravolskas
* Fixed the bug where setup.py could not be run from any other folder then the folder it was in
 * Added a check for ctypes and SendKeys after installation to be able to remind users that they need to have those modules installed (at the moment it can only warn of one - not both!
2007-03-08 19:02:30 +00:00
markm
9ea1e9a983 * Added functionality to allow working with list view items by specifying a string rather than having to always specify an index. (String is converted to an index - so working with indices would be more efficient. 2007-02-28 21:48:35 +00:00
markm
59f6e3bbf7 * Fixed a bug where process handle was not being released by _RemoteMemoryBlock on deletion.
* Refactored the code a little bit also (moved contents from __del__ method to CleanUp method)
 * fixed some minor formatting issues
2007-02-26 17:56:37 +00:00
markm
fb5b3f3bc1 * Added code to support only finding windows that are 'active' 2007-02-15 02:17:48 +00:00
markm
ab2ac3bdf0 * Added code to support only finding windows that are 'active' 2007-02-15 02:17:17 +00:00
markm
7d1324276f * Added support for selecting tree view items based on their path. 2007-02-15 02:16:22 +00:00
markm
8ce20670be Added Basic handling for the mouse wheel. 2007-01-30 20:36:40 +00:00
micklweiss
b4c9d15de2 added Pywinauto Recorder code (taken out of the ClamWin svn and updated a bit) 2006-12-05 08:40:31 +00:00
markm
af32879ee3 Adding some files I am working on. 2006-11-30 00:01:47 +00:00
markm
c6cefe31b6 Added GetCursorPos function and removed a commented out print line 2006-11-30 00:01:03 +00:00
markm
34ff442492 Needed to fix some recursive getattr/setattr problems - so accessing through the class rather then through the instance 2006-11-30 00:00:23 +00:00
markm
e1d67bbbd4 Added missing updates 0.3.6 2006-07-31 12:11:54 +00:00
markm
111356ac30 Update for change in documentation root 2006-07-31 11:53:37 +00:00
markm
fcc3851d3c Updated version 2006-07-28 20:04:22 +00:00
markm
04b7b7a30a Added latest release information 2006-07-28 20:02:46 +00:00
markm
54b5e89b62 Tiny modifications 2006-07-28 20:02:24 +00:00
markm
14542af0ca Removed superfluous print statement 2006-07-28 19:48:02 +00:00
markm
fd22e7d929 Fixed listcontrol select test 2006-07-28 19:47:42 +00:00
markm
4505764da2 tiny update to style test 2006-07-28 19:46:51 +00:00
markm
85dfbaeb4d Added Scroll() 2006-07-28 19:43:05 +00:00
markm
3e33040f15 Added parameter to _treeview_item.Rectangle() to have an option to get the Text rectangle of the item. And defaulted to this.
Added _treeview_item.Click() method to make it easy to click on tree view items.
Also fixed a bug in TreeView.GetItem() that was expanding items when it shouldn't.
2006-07-28 19:24:19 +00:00