diff options
author | Nagappan Alagappan <nagappan@gmail.com> | 2013-08-16 16:58:17 -0700 |
---|---|---|
committer | Nagappan Alagappan <nagappan@gmail.com> | 2013-08-16 16:58:17 -0700 |
commit | c9c09463cd06392f204809ee32b820e71ed9f628 (patch) | |
tree | 490a573d7da5fa64186779abaa1f31ae98bfaf44 | |
parent | 4937e8664e16c976287972f8efc1327f06c4e2e1 (diff) | |
parent | 2dc8f1eec1b754f9c1f5c857088de3a5fc9bf720 (diff) |
moin2iki: Importing Moin history for page waittillguinotexist
-rw-r--r-- | waittillguinotexist.moin | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/waittillguinotexist.moin b/waittillguinotexist.moin new file mode 100644 index 0000000..56b6c9d --- /dev/null +++ b/waittillguinotexist.moin @@ -0,0 +1,19 @@ +== Syntax ==
+
+waittillguinotexist ('<window name>')
+
+== Description ==
+
+If the given window name does not exist, this function returns 1. If window exist, then this function returns 0. Difference between [[guiexist]] and waitguinotexist is, waitguinotexist waits for maximum 30 seconds. Still the window does not disappear, 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 ==
+
+waittillguinotexist ('dlgOpen')
+
+This function will be useful, when some event is fired and after that if an existing window should close, we can use this function to wait till the window closes.
|