Thomas Sundberg

October 29, 2012

Selenium WebDriver – the simplest possible start?

Filed under: Automation, Java, Maven, Selenium, Test Automation — Tags: , , , — Thomas Sundberg @ 13:27

This post is available at http://www.thinkcode.se/blog/2012/10/29/selenium-webdriver-the-simplest-possible-start

4 Comments »

  1. Thank you. It was brief, simple and to the point.

    Comment by Anonymous — May 23, 2013 @ 00:15

    • I am glad you liked it.

      Thomas

      Comment by Thomas Sundberg — May 26, 2013 @ 22:01

      • I am getting a problem though. Once I rename any folders in “src/test/java/AskTest.java”, test doesn’t get run. I mean, if I name “src/tests/java/AskTest.java”, it won’t run. Then I rename “src/test/asdf/AskTest.java”, it won’t run either.
        So is it critical to have exact wording for “test” and “java” folder? How come?

        Comment by Rod — May 28, 2013 @ 23:28

      • Hi!

        The folder structure is critical. The reason is that I use Maven to build and execute the project.
        Maven is about convention over configuration. The convention is that all source code should live in the directory src. The production code should live in main and test code should live in test. Any Java code should live in java. If you organize you Java code in packages, then will the Java directory be the package root and you need to add the proper directories in the Java directory to reflect your packages.

        HTH
        Thomas

        Comment by Thomas Sundberg — May 29, 2013 @ 06:43


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: