Using Win32::GuiTest

This is version 1.9

Copyright

Permission is granted to copy, distribute and/or modify this document under the terms of the Open Publication License, version 2.0.

$Date: 2006/06/03 12:00:00 $

Revision History
Revision 1.903 June 2006pkaluski
Corrected documentation for IsGrayedButton
Revision 1.827 January 2006pkaluski
Corrected documentation for IsWindowStyle
Revision 1.730 November 2005pkaluski
Updated documentation for GetListViewContents
Revision 1.62 October 2005pkaluski
Added description of GetPopupHandle
Revision 1.523 September 2005pkaluski
Reference part reshaped. I think it looks better now
Revision 1.415 September 2005pkaluski
Updated documentation for release 1.50.4. Started reshaping reference part
Revision 1.327 August 2005pkaluski
Ran spell checker. Added some corrections suggested by Gabor Szabo
Revision 1.214 August 2005pkaluski
Added more advanced part to tutorial
Revision 1.18 May 2005pkaluski
Tutorial on GUI Testing is now a chapter of this book
Revision 1.05 May 2005pkaluski
All exported functions are documented
Revision 0.31 May 2005pkaluski
More functions added. Around 50% of functions documented
Revision 0.227 April 2005pkaluski
More functions added. Still many remain to be documented
Revision 0.126 April 2005pkaluski
Initial revision

Table of Contents

1. Introduction
Downloading this documentation
Intended audience
Installing Win32::GuiTest
Some guidelines on using this documentation
Asking further questions
2. GUI testing - tutorial
Prerequisites
Let's start
Going further
More advanced topics
Summary
3. Win32::GuiTest functions overview
4. Windowing, identification and general purpose functions
Finding windows/windows handle
General windowing functions
Process related functions
5. Controls related functions
General controls related functions
Common controls
Buttons
List boxes
Combo boxes
Other controls
Microsoft's tab controls
Microsoft's List-View controls
Microsoft's Tree-View controls
6. Mouse and screen functions
7. Keyboard functions
8. Menu functions
9. Appendix - functions in alphabetical order
AllocateVirtualBuffer
CheckButton
ClientToScreen
EnableWindow
FindWindowLike
FreeVirtualBuffer
GetActiveWindow
GetCaretPos
GetChildDepth
GetChildWindows
GetClassName
GetComboContents
GetComboText
GetCursorPos
GetDesktopWindow
GetFocus
GetForegroundWindow
GetListContents
GetListText
GetListViewContents
GetMenu
GetMenuItemCount
GetMenuItemIndex
GetMenuItemInfo
GetParent
GetPopupHandle
GetScreenRes
GetSubMenu
GetSystemMenu
GetTabItems
GetTreeViewSelPath
GetWindow
GetWindowID
GetWindowLong
GetWindowRect
GetWindowText
IsCheckedButton
IsChild
IsGrayedButton
IsKeyPressed
IsListViewItemSel
IsTabItemSel
IsWindow
IsWindowEnabled
IsWindowStyle
IsWindowStyleEx
IsWindowVisible
MenuSelect
MouseClick
MouseMoveAbsPix
MouseMoveWheel
NormToScreen
PostMessage
PushButton
PushChildButton
PushChildById
ReadFromVirtualBuffer
ScreenToClient
ScreenToNorm
SelComboItem
SelComboItemText
SelComboString
SelectTabItem
SelListViewItem
SelListViewItemText
SelTabItem
SelTabItemText
SelTreeViewItemPath
SendKeys
SendLButtonDown
SendLButtonUp
SendMButtonDown
SendMButtonUp
SendMessage
SendMouse
SendMouseMoveRel
SendMouseMoveAbs
SendRawKey
SendRButtonDown
SendRButtonUp
SetActiveWindow
SetFocus
SetForegroundWindow
SetWindowPos
ShowWindow
TabCtrl_GetCurFocus
TabCtrl_GetItemCount
TabCtrl_SetCurFocus
TabCtrl_SetCurSel
WaitForReady
WaitWindow
WaitWindowLike
WindowFromPoint
WMGetText
WMSetText
WriteToVirtualBuffer
10. Recommended reading