Discussion Locked

Selenium RC - Compilation Error

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have recorded the tests using selenium IDE and tried to execute the test with selenium RC and i got the following error message.

[Kamakshi@localhost selenium-server-0.9.2]$ java -jar selenium-server.jar
16:04:50.246 INFO - Java: Sun Microsystems Inc. 1.5.0_06-b05
16:04:50.259 INFO - OS: Linux 2.6.18-1.2798.fc6 i386
16:04:50

The java file i executed is

package com.example.tests;

import com.thoughtworks.selenium.*;
import java.util.regex.Pattern;

public class myseleniumtest extends SeleneseTestCase {

public void setUp() throws Exception {
setUp("http://change-this-to-the-site-you-are-testing/", "*chrome");
}
public void testNew() throws Exception {
selenium.open("/");
selenium.type("q", "birds");
selenium.click("btnG");
selenium.waitForPageToLoad("30000");
}
}

Can u please provide me the solution to overcome those compilation error

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.