-
Notifications
You must be signed in to change notification settings - Fork 83
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
Need Automatic Wait Command Line Option #278
Comments
Hi, Sorry I'm late. I released 3.19.0, but I have not written the test code, so please try it. |
Hi, I've downloaded 3.19 and it seems the click command from a SIDE script is timing out after 3 seconds. I do have a "--timeout 60000" setting on the command line. So currently, I think its not working because the click command is not respecting the command line's timeout setting. |
Hmmm, Can you provide a test case? |
Hi, thank you for your time on this item. Script for Selenese Runner Project.zip When you run the attached "Script for Selenese Runner Project.side" script using the Selenium IDE it succeeds. However, when using the runner, it fails at "click" "css=p.mt-thank-you" with element not found error after a 3 second timeout. So the issue right now is probably the timeout needs to be longer. Currently I am not having any luck with controlling the timeout to make it wait longer; even when using the "--timeout" command line argument. |
Hi, I re-fixed this problem and released 3.19.2. |
Hi, I have confirmed this issue is fixed. Thank you very much for your time on resolving this issue. Sorry for being so late at re-testing. Been a bit busy myself. |
Re-ran the test case and confirmed the issue is resolved. |
Selenium IDE add wait for commands after 3.4.0. https://github.com/SeleniumHQ/selenium-ide/releases/tag/v3.4.0
@vmi Do selenese runner plan to support those command? If I record .side with 3.4.0 IDE, Selenese throw exception now. |
Improve SIDE support. * Add flow control conmands of SIDE format: (PR #288) * `do` ... `repeatIf` * `if` ... `elseIf` ... `else` ... `end` * `times` ... `end` * `while` ... `end` * Add new commands of SIDE format: (the comment by @xiaospider in #278, PR #288) * `assert` * `verify` * `waitForElementEditable` * `waitForElementNotEditable` * `waitForElementVisible` * `waitForElementNotVisible` * `executeScript`
Hi, @xiaospider
I added these commands in 3.20.0. |
Regarding ".side" formatted selenese scripts, and the "click" command for example (especially when AJAX is in play), I am experiencing differences in how Selenese Runner behaves versus how the new Selenium IDE behaves.
It appears the new Selenium IDE automatically "waits" for an element to be present before clicking an element. However, when the Selenese Runner runs the same script, it appears an automatic wait is not being performed.
The end result is a given script will succeed when run from the IDE but fail when run from the Runner.
I am wondering if a command line option is needed, which when set, would instruct the runner to match the new Selenium IDE's "automatic wait behavior".
The text was updated successfully, but these errors were encountered: