How to avoid the trial case hanging in the middle if I execute my every work fine. But all together if I run the test cases then it stops in the middle. If someone is using JUnit4, you can use the Rule: If a test method takes "too long" then it will fail, but allow other tests to run. You have to be careful with it in WebDriver because In addition to this, avoid calling, which is very long term, instead, make fewer time-limits with a small number of retries. timeout
timeout Rules have been implemented with threads, and
drivers not applicable are thread-protected.
Comments
Post a Comment