View RSS Feed


Need clarifications in Selenium RC

Rate this Entry
by , 02-28-2013 at 08:54 PM (3666 Views)
Quote Originally Posted by testerboy1 View Post
Hi All,
Could any please help me out in clarifying below issues in Selenium RC.

1). How to count the no. check boxes in Table 2

2) what is RemoteControlConfiguration in Selenium RC

3. How to write Javascript in Selenium RC, need sample program and configuration (am using junit frame work)

4) While running test it is always taking old url (eg : selenium.open(/abc-def-5.16.0-c1/my-web/), but current is open((/abc-def-5.17.0-c1/my-web//)
(Though I had saved it properly in the test)

5) While running some tests in Junit displaying below exception

Class not found testcases.extusr
java.lang.ClassNotFoundException: testcases.extusr
at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.loadClass(RemoteTestRunner.java:693)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.loadClasses(RemoteTestRunner.java:429)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:452)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:683)

Tags: None Add / Edit Tags


  1. vinodfg's Avatar
    • |
    • permalink
    check the answers

    1A) so getXpathCount()...what is the input i need to give in ()....which name i need to give

    2A) Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP

    website using any mainstream JavaScript-enabled browser.
    Selenium RC comes in two parts.

    A server which automatically launches and kills browsers, and acts as a HTTP proxy for web requests from them.
    Client libraries for your favorite computer language.


    package sample;

    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.firefox.FirefoxDriver;

    public class googletest {
    // Initializing webdriver
    WebDriver driver;

    //Opening the browsers, application
    public void setup(){

    // Specify path to chromedriver
    System.setProperty(“webdriver.chrome.driver”, “/path-to/chromedriver”);
    driver = new ChromeDriver();

    // test condition to be verified
    public void testcase(){

    // Closing the application
    public void end(){

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:07 AM.

Copyright BetaSoft Inc.