[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[QF-Test] Is it possible to wait for two components simultaneously?
Hello, I have a button. When I press the button, a new mask should open, but optionally, a modal dialog might occur befor opening. Now I have implemented a 'WaitForComponent(modal dialog, 5s). When the button does not occur, I am waiting always the timeout of 5s. To save time I am searching for a more flexible wait. E.g. If I can wait for two components simultaneously, I will never wait for the timeout. Either the modal dialog or the new mask finish the wait. Is this possible? Do you have other suggestions form my little problem? Thanks & BR Bernhard Schmitt