When I run a feature file in RubyMine it will randomly crash with this error. Sometimes it will run one scenario other times it will run a couple before giving this error but it always does. We thought it had something to do with the version of IE we were using but it seems to occur with all versions. Also this issue doesn't seem to affect everyone and we're unsure as to what causes it because the settings on each environment are the same... Any ideas?
相关问题
- How to specify memcache server to Rack::Session::M
- Why am I getting a “C compiler cannot create execu
- reference to a method?
- ruby 1.9 wrong file encoding on windows
- gem cleanup shows error: Unable to uninstall bundl
相关文章
- Ruby using wrong version of openssl
- Difference between Thread#run and Thread#wakeup?
- how to call a active record named scope with a str
- How do you run cucumber with Scala 2.11 and sbt 0.
- “No explicit conversion of Symbol into String” for
- Segmentation fault with ruby 2.0.0p247 leading to
- How to detect if an element exists in Watir
- uninitialized constant Mysql2::Client::SECURE_CONN
I don't think that this is the solution but so far it seems to have fixed my code... In my hooks file I have an after block that among other things has the line @browser.quit I've tracked the failure down to this line and when I comment this line out I don't get the error. Like I said I don't know if this is actually the cause of the problem but so far it seems to have resolved it... Just thought I'd share.
Edit: Ok I found out the real solution. Apparently somewhere in the command "quit" there's a bug that causes the -1073... error. Instead of using "quit" I switched it to ".close" and that seems to have resolved it. The close command will cleanly close out of the browser instance without any errors.
There shoudn't be any crashes in Ruby. If that's the case then there is a bug deep down in the Ruby Interpreter of your choice where there shouldn't be one. Try to get a debug report for this and report on Ruby Redmine or the equivalent issue tracker.