diff options
author | Nagappan Alagappan <nagappan@gmail.com> | 2013-08-16 16:58:11 -0700 |
---|---|---|
committer | Nagappan Alagappan <nagappan@gmail.com> | 2013-08-16 16:58:11 -0700 |
commit | 4937e8664e16c976287972f8efc1327f06c4e2e1 (patch) | |
tree | e464c028f734463d81c6df1292df7b7a8c41fe2d | |
parent | 653cdfea8075ee8f8eb15896a10b6248883e30d9 (diff) |
moin2mdwn: convert page waittillguiexist
-rw-r--r-- | waittillguiexist.mdwn | 24 | ||||
-rw-r--r-- | waittillguiexist.moin | 19 |
2 files changed, 24 insertions, 19 deletions
diff --git a/waittillguiexist.mdwn b/waittillguiexist.mdwn new file mode 100644 index 0000000..8c1f898 --- /dev/null +++ b/waittillguiexist.mdwn @@ -0,0 +1,24 @@ + + +## Syntax + +waittillguiexist ('<window name>') + + +## Description + +If the given window name exist, this function returns 1. If window doesnot exist, then this function returns 0. Difference between [[guiexist|guiexist]] and waitguiexist is, waitguiexist waits for maximum 30 seconds. Still the window doesn't appear, then 0 is returned. We can set the environment variable 'GUI_TIMEOUT' to change the default waiting time. + +Ref: [[ldtp.c|http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/ldtp.c]] + + +## Implementation + +returns 1 on success and 0 on no existing window + + +## Example + +waittillguiexist ('dlgOpen') + +This function will be useful, when some event is fired and after that if a new window is expected, we can use this function to wait for window to appear. diff --git a/waittillguiexist.moin b/waittillguiexist.moin deleted file mode 100644 index d1ea6d2..0000000 --- a/waittillguiexist.moin +++ /dev/null @@ -1,19 +0,0 @@ -== Syntax ==
-
-waittillguiexist ('<window name>')
-
-== Description ==
-
-If the given window name exist, this function returns 1. If window doesnot exist, then this function returns 0. Difference between [[guiexist]] and waitguiexist is, waitguiexist waits for maximum 30 seconds. Still the window doesn't appear, then 0 is returned. We can set the environment variable 'GUI_TIMEOUT' to change the default waiting time.
-
-Ref: [[http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/ldtp.c|ldtp.c]]
-
-== Implementation ==
-
-returns 1 on success and 0 on no existing window
-
-== Example ==
-
-waittillguiexist ('dlgOpen')
-
-This function will be useful, when some event is fired and after that if a new window is expected, we can use this function to wait for window to appear.
|