» Home » wait » Page 1
Making linux “Wait” command wait for ALL child processes
Category : Network & Servers

Wait is not waiting for all child processes to stop. This is my script:

titlename=`echo "$@"|sed 's/..{3}$//'`
screen -X title "$titlename"
/usr/lib/process.bash -verbose $@
bash -c "mail.bash $@"
screen -X title "$titlename.Done"

I don't have access to /usr/lib/process.bash, but it is a script that changes frequ

View Replies

Selenium webdriver using facebook php library - implicit wait or wait for element present?
Category : PHP

I am trying to test a file upload using the facebook php library for webdriver, and it appears that the upload is working because the source code shows the 'loading' notification, but I can't seem to get the test to wait for the file to upload before proceeding to the next step. I can't find any reference to either an implicit wait (not ideal, but would probably do the trick) or a wait for ele

View Replies

Selenium WebDriver: Fluent wait works as expected, but implicit wait does not
Category : Web Design

I am new to Selenium WebDriver and am trying to understand the correct way to 'wait' for elements to be present.

I am testing a page with a bunch of questions that have radio button answers. As you select answers, Javascript may enable/disable some of the questions on the page.

The problem seems to be that Selenium is 'clicking too fast' and not waiting for the Javascri

View Replies

Nodejs , wait until current request completes, then proceed (or) wait until firstfunction executes before going to second function
Category : Development Tools & Services

i am using nodejs .

var ret = firstfunction(); //this calls database and gets some return value
var output = secondfunction(ret); // in this function we used ret as parameter

Here whats happening is, before firstfunction completes , that is, before it gets the value "ret", the second function is executing with parameter "undefine

View Replies

Problems with explicit wait and implicit wait in selenium 2 webdriver
Category : Programming Languages

I have to work with some really slow proxies and got stuck every now and then. Therefore I'm trying to find a solution/workaround for this, here's my problem:

from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
browser = webdriver.Firefox()
element = browser.find_element_by_id("element"

View Replies

How do I launch a function and wait/don't wait on it depending on whether it's a GUI application?
Category : Programming Languages

I'm looking for a Python function which behaves just like the Windows command interpreter cmd.exe when it comes to waiting for newly launched processes to finish. Right now I'm using os.system() but this function always blocks, even when launching GUI applications (which, in case they were written in C/C++, have a WinMain function and were linked with

View Replies

selenium web driver - explicit wait vs implicit wait
Category : Web Design

I am using

driver.manage().timeouts().implicitlyWait(180, TimeUnit.SECONDS);

But it still fails continuously for the below element


I have added wait code

for (int second = 0;; second++) {

View Replies

execv, wait, Unix programming, How to wait for a child
Category : Programming Languages

Hi I'm working on a unix shell and I'm running into two problems. I was wondering if any of you could help me out. My first problem is that the shell is not waiting for the child process to terminate. I can actually go type more commands while the child process is running. My second problems is in the following two lines. I'm not getting any display on the shell.


View Replies

how to wait on multiple wait conditions/event
Category : Operating Systems

I wanted to have something similar to windows win32 api WaitForMultipleObjects call in qt. So that my calling thread can wait on mulitple events at a same time. We have QWaitCondition which can only wait for single event.

Please guide how we can wait on multiple events

View Replies

Fork and wait - how to wait for all grandchildren to finish
Category : Programming Languages

I am working on an assignment to build a simple shell, and I'm trying to add a few features that aren't required yet, but I'm running into an issue with pipes.

Once my command is parsed, I fork a process to execute them. This process is a subroutine that will execute the command, if there is only one left, otherwise it will fork. The parent will execute the first command, the child

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .