This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Testing and the fly likes selenium integration with junit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "selenium integration with junit" Watch "selenium integration with junit" New topic

selenium integration with junit

Eshwin Sukhdeve
Ranch Hand

Joined: Mar 15, 2012
Posts: 80
can some one tell me when selenium and Junit integration is required.can you
explain with some example.

Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30068

You can run Selenium in the browser without JUnit at all. Or you can use JUnit style tests. They can even be exported/generated. See this article. If you are generating tests, watch out for duplication. You don't want to have to change 200 files if your URL changes

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: selenium integration with junit
Similar Threads
test case for servlets
Junit4+Eclipse+Selenium RC- Test class should have exactly one public zero-argument constructor
Selenium Maven combo - too fast to find components on UI
Testing techniques and tools
How to do integration testing.