3782
3802
/** \page doesrowexist doesrowexist
3783
3803
* \section Syntax
3785
* doesrowexist ('\<window name\>', '\<table name\>', '\<string to be matched\>', no of matches)
3805
* doesrowexist ('\<window name\>', '\<table name\>', '\<string to be
3806
* matched\>'[, \<partial match = False\>])
3787
3808
* \section Description
3789
* Checks whether the table contains any row with any of its cell containing the given string as its value.Please note that it checks for an exact match.
3810
* Checks whether the table contains any row with any of its cell
3811
* containing the given string as its value.Please note that it checks
3812
* for an exact match, if partial match is set to False.
3791
3814
* \section ImplementationDetails
3801
3824
* With respect to the message list table in Evolution Mailer, the following call will return 1 if there is atleast one mail in the list with the given string in the subject field or sender field or in any other field for that matter.
3803
3826
* doesrowexist ('dlgContactListMembers', 'tblContacts', 'Sample subject')
3828
* doesrowexist ('dlgContactListMembers', 'tblContacts', 'Sample', True)
3805
3830
* \author Manu <manunature@rediffmail.com>
5226
5260
/** \page imagecapture imagecapture
5227
5261
* \section Syntax
5229
* imagecapture ([\<window name\>, [\<output file\>, (opt)\<resolution-x\>, (opt)\<resolution-y\>, (opt)startx, (opt)starty]])
5263
* imagecapture ([\<window name\>, [\<output file\>, (opt)\<width-x\>, (opt)\<height-y\>, (opt)x, (opt)y]])
5231
5265
* \section Description
5748
/** \page windowuptime windowuptime
5751
* windowuptime(['\<window name\>'])
5753
* \section Description
5755
* Give the window up time
5757
* \retval startime, endtime (python datetime object)
5759
* Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py
5763
* windowuptime('dlgChatWindow')
5765
* \author Nagappan Alagappan <nagappan@gmail.com>
5769
/** \page activatewindow activatewindow
5772
* activatewindow(['\<window name\>'])
5774
* \section Description
5776
* Activate window based on the given name, default None. If None,
5777
* will activate all window one by one
5781
* Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py
5785
* activatewindow('Mozilla Firefox')
5787
* \section Dependency
5789
* wnck, pygtk python library
5791
* \author Nagappan Alagappan <nagappan@gmail.com>
5792
* \author Arvind Patil <apatil@vmware.com>
5796
/** \page maximizewindow maximizewindow
5799
* maximizewindow(['\<window name\>'])
5801
* \section Description
5803
* Maximize window based on the given name, default None. If None,
5804
* will maximize all window one by one
5808
* Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py
5812
* maximizewindow('Mozilla Firefox')
5814
* \section Dependency
5816
* wnck, pygtk python library
5818
* \author Nagappan Alagappan <nagappan@gmail.com>
5819
* \author Arvind Patil <apatil@vmware.com>
5823
/** \page minimizewindow minimizewindow
5826
* minimizewindow(['\<window name\>'])
5828
* \section Description
5830
* Minimize window based on the given name, default None. If None,
5831
* will minimize all window one by one
5835
* Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py
5839
* minimizewindow('Mozilla Firefox')
5841
* \section Dependency
5843
* wnck, pygtk python library
5845
* \author Nagappan Alagappan <nagappan@gmail.com>
5846
* \author Arvind Patil <apatil@vmware.com>
5850
/** \page closewindow closewindow
5853
* closewindow(['\<window name\>'])
5855
* \section Description
5857
* Close window based on the given name, default None. If None,
5858
* will close all window one by one
5862
* Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py
5866
* closewindow('Mozilla Firefox')
5868
* \section Dependency
5870
* wnck, pygtk python library
5872
* \author Nagappan Alagappan <nagappan@gmail.com>
5873
* \author Arvind Patil <apatil@vmware.com>
5714
5877
/** \page getpanelchildcount getpanelchildcount
5715
5878
* \section Syntax
6277
6446
* hasstate ('*-gedit', 'txt0', state.FOCUSABLE)
6279
* hasstate ('*-gedit', 'txt0', state.FOCUSABLE + state.VISIBLE)
6448
* hasstate ('*-gedit', 'txt0', state.FOCUSABLE, state.VISIBLE)
6281
6450
* \author Nagappan Alagappan <nagappan@gmail.com>