-
-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing commands : waitFor... #157
Comments
I think #102 will be the answer to your question. |
sorry i reddit my issue it all waitfor commands |
Its exactly the kind of things we want to avoid,
To introduce a failure, you would need to have an async task, that doesn't send any ajax requests, and lasts for more than 30 seconds. |
Hello Corevo, I develop embedded Web MMI with WebSocket, some systems are very slow to answer for several reasons:
In summary, we don't use AJAX but websocket, we are event-driven, a 'pause' command is not a reliable wait system because we are on embedded system. I know it's a specific case but embedded Web MMI are more and more used in industry and we need to do several tests to qualify our system (customer request). I didn't check yet all differences between v2.9.1 and this one but if you are interesting to develop new functionality which can answer to embedded specificities, I will be happy to share with you our feedback but if it is not in your scope I understand. Regards, Ygles |
What waiting mechanism do you use now? |
Used by myself: By our test team: Other command: |
I vote for adding waits as soon as possible. Yes, implicit waits made obsolete waitForPageToLoad and waitForElementPresent commands. But not the other ones. To click an element you often have to wait until it's visibility, not presence. To fill an input you often have to wait until it becomes editable, not present. To wait for a result of an action you have to wait for changes in element properties -- elements can become visible/invisible, they can change text or style. We need all sorts of waits to deal with moders single page applications that never reload pages. Implicit waits are ineffective for such applications. |
I talked about it yesterday with @tourdedave on the phone. |
waitForVisible is one I use all the time. Not that should sway your prioritizing decision. :) |
… to the GUI and the runner (re: #157).
…ds to the GUI and the runner (re: #157).
I believe these are delivered with latest version 3.4.0 (available Oct 5), for these commands (copied from another ticket, provided by @corevo): wait for element editable, wait for element not editable, wait for element present, wait for element not present, wait for element visible, wait for element not visible The "visible" waits are very useful! 👍 So I think this issue can probably be closed. |
Closing this issue since no additional waitFor command request have been made. |
hi, thank for your work .
With the old ide there was a command waitFor... , it would be nice to see it back, because 'pause' command cannot manage correctly asynchronous event.
Thank you
The text was updated successfully, but these errors were encountered: