pywinauto/Branches/OriginalPydlgChecks
markm 0210e5352c Initial import 2006-01-04 19:40:23 +00:00
..
Setup Initial import 2006-01-04 19:40:23 +00:00
controls Initial import 2006-01-04 19:40:23 +00:00
examples Initial import 2006-01-04 19:40:23 +00:00
tests Initial import 2006-01-04 19:40:23 +00:00
DemiTest.py Initial import 2006-01-04 19:40:23 +00:00
DrawDialogFromXML.py Initial import 2006-01-04 19:40:23 +00:00
FindDialog.py Initial import 2006-01-04 19:40:23 +00:00
InfoManager.py Initial import 2006-01-04 19:40:23 +00:00
MakeBackup.bat Initial import 2006-01-04 19:40:23 +00:00
Readme.txt Initial import 2006-01-04 19:40:23 +00:00
XMLHelpers.py Initial import 2006-01-04 19:40:23 +00:00
_DrawDialog_Wx.py Initial import 2006-01-04 19:40:23 +00:00
_DrawDialog_win32_1.py Initial import 2006-01-04 19:40:23 +00:00
__DeadCodeRepository__.py Initial import 2006-01-04 19:40:23 +00:00
_find_control_distance.py Initial import 2006-01-04 19:40:23 +00:00
application.py Initial import 2006-01-04 19:40:23 +00:00
controlactions.py Initial import 2006-01-04 19:40:23 +00:00
controlproperties.py Initial import 2006-01-04 19:40:23 +00:00
dev_notes.txt Initial import 2006-01-04 19:40:23 +00:00
findbestmatch.py Initial import 2006-01-04 19:40:23 +00:00
playing_RepeatedHotkeyFixing.py Initial import 2006-01-04 19:40:23 +00:00
untitled - Paint.xml Initial import 2006-01-04 19:40:23 +00:00
win32defines.py Initial import 2006-01-04 19:40:23 +00:00
win32functions.py Initial import 2006-01-04 19:40:23 +00:00
win32structures.py Initial import 2006-01-04 19:40:23 +00:00

Readme.txt

Unzip the Zip file

Copy (though you could move also) Python24.dll, dlgchecks2.dll and move PythonConfig.py to the folder that contains your executable (Silktest directory).
Modify PythonConfig.py to point to where you have unzipped the other files (this folder should contain all the *.py files and the Python24.zip file.

If your machine does not have the appropriate Visual Studio 7 DLLs you will also need these in the executable directory. (Included in the Zip in RequiredDLLs).




There is also a little sample FindDialog.exe application (it does not use the DLL - but the underlying Python libraries). What it does is perform most of the tests (it doesn't do AllControls or AsianHotkeyTests) and highlights controls with errors with a red rectangle.

Mostly you need to run this dialog with a regular expresion as the dialog title e.g.
  FindDialog "^Explorer" (the ^ is to make sure you don't match the Command prompt window you are in!)
  
But you could use other regular expressions also e.g. - the first windows with 'Document' in the title,
".*[D]ocument.*"  (again the [ and ] are to make sure that the current command prompt window is not found!)

Note that this file needs Python24.dll - so if you have moved it out - this program will not work!.