TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What do you think about testing using Selenium?

4 pointsby wsierociover 9 years ago
Hi,<p>Do you think that state of functional testing by tools like Selenium is sufficient? How could we improve it?<p>Best, Wiktor

3 comments

guncontrol123over 9 years ago
It&#x27;s a great tool for front end testing. However, it&#x27;s limited with some newer stuff - shadow DOM objects are meant to be supported since January but in reality it&#x27;s...difficult. However, the way it interfaces with browsers IMHO is preferable to say, CodedUI, which takes control of the mouse and keyboard to execute tests.<p>Saying that, in Java&#x2F;C#, Selenium is still easily my preferred tool, and the demand from companies&#x2F;recruiters (I&#x27;m switching contracts at present) seems to indicate it&#x27;s still very much <i>the</i> tool.
nederdirkover 9 years ago
We use selenium tests as a last line of defense. Using it as your only integration test, however, seems a bad idea to me. There are more specific and faster possibilities for testing.<p>The thing that would make selenium a lot better, would be if browser vendors could agree on a standard for instrumentation. This is of course a perfect-world line of thinking.
arisAlexisover 9 years ago
Selenium is used to test that stuff is not totally broken. Its good for startups that dont want&#x2F;need to spend all this time on 100% unit testing