SeleneseTestBase commands not working with "selenium-server-standalone-2.44.0.jar" for Selenium RC

14 views
Skip to first unread message

lalit kumar

unread,
Jan 14, 2015, 6:06:17 AM1/14/15
to seleniu...@googlegroups.com
SeleneseTestBase commands like selenium.start(), selenium.open() is not working with "selenium-server-standalone-2.44.0.jar" for Selenium RC??
Any solutions??

Code Snippet :

public class TC_Activity extends SeleneseTestBase {


@BeforeTest
public void setUp()throws Exception{


SeleniumServer selserver = new SeleniumServer();
selserver.start();
selenium = new DefaultSelenium("localhost", 4444, "*googlechrome C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",                      "https://registrationcert.deere.com/");
//selenium = new DefaultSelenium("localhost", 4444, "*iexplore", "https://registrationcert.deere.com/");
selenium.start();
selenium.open("/SignInServlet?EM_REG=N&EM_FORGOT=N&TYPE=33554433&REALMOID=06-96e9f805-e625-1050-8197-851568140038&GUID=&SMAUTHREASON=0&METHOD=GET&SMAGENTNAME=$SM$Posp%2bRFStehUdUcTFTLvSKlc%2fFTloIlpECVilwIsr%2f40zoJ6CBmk3zEgl2lyTo3szBigqBOP4SI3oKCoshwKHrHZPjfvZrEs&TARGET=$SM$http%3a%2f%2fserviceadvisorcert%2edeere%2ecom%2fSAWeb%2fweb%2findex%2ejsp");
selenium.setSpeed("800");
selenium.windowMaximize();
selenium.getEval("selenium.browserbot.setShouldHighlightElement(true)");

}
Reply all
Reply to author
Forward
0 new messages