LDTP  3.5.0
 All Pages
Window functions

About Window functions

Window based functions

Window python API's

activatewindow - Activate the given window name or all open windows

closewindow - Close the given window name or all open windows

deregisterevent - De-Register user defined window event

deregisterkbevent - De-Register user defined keyboard event

getapplist - Get list of accessibility enabled applications

getchild - Get child object of a window which matches label or role name or both

getobjectinfo - Get list of available property classes of an object

getobjectlist - Get list of objects in a window

getobjectproperty - Get a class(label, type) property of an object

getobjectnameatcoords - Get object name at the mouse coordinates

getobjectsize - Get size of the given object

getwindowlist - Get current list of window titles

getwindowsize - Get size of the given window title

guiexist - Checks whether a window exist

guitimeout - Modifies the global gui timeout period

objectexist - To check whether a component exist in a given window

objtimeout - Modifies the global object timeout period

onwindowcreate - Register callback function to be called when the specified window is created

registerevent - Register user defined window event

registerkbevent - Register user defined keyboard event

removecallback - Remove the registered callback function using onwindowcreate

waittillguiexist - Suspend the operation till the window exist

waittillguinotexist - Suspend the operation till the window quits

windowuptime - Uptime of any given window

Linux Desktop Testing Project