Selenium: fail to run my HelloWorld class

Posted on 2011-05-09
Last Modified: 2013-11-24

I am new to Selenium, i try to run my HelloWorld.class, but i got the following error, why?
import com.thoughtworks.selenium.*;
import java.util.regex.Pattern;

public class HelloWorld extends SeleneseTestCase
      public void setUp() throws Exception
            setUp("", "*chrome");

      public void testHelloworldtest() throws Exception {
            selenium.type("sf", "tommy");
  "link=TOMMY HILFIGER Online Store - USA");

      public static void main(String args[]) throws Exception {
Question by:hongclub
    1 Comment
    LVL 92

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
    Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
    The viewer will learn how to implement Singleton Design Pattern in Java.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now