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
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Selenium RC - Compilation Error
[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