General discussion

Locked

Selenium RC - Compilation Error

By kamakshi ·
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

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Windows Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums