Service Virtualization

 View Only

Test run failed while  selenium integration step is executed

  • 1.  Test run failed while  selenium integration step is executed

    Posted Jun 04, 2014 01:23 AM
      |   view attached

    Hi,

    I created JSON script and imported to selenium integration step while running script using ITR, its launching Firefox browser then step fails with below error .

    ============================================================================
    | Error executing Selenium Step :
    {
        "negated": false,
        "type": "get",
        "url": "http://172.26.95.26:8080/lisabank/home.do"
    }
    ============================================================================
    | Step:        Get
    ----------------------------------------------------------------------------
    | Message:     Test run failed: unable to create driver.
    ----------------------------------------------------------------------------
    | Trapped Exception: Test run failed: unable to create driver.
    | Trapped Message:   java.lang.RuntimeException: Test run failed: unable to create driver.

    please refer Error.txt

    Followed below step to created remote selenium driver.

    selenium driver using jar : selenium-server-standalone-2.39.0.jar

     Executed below command to create remote connection

    java -jar selenium-server-standalone-2.39.0.jar -role hub -port 4445

    java -jar selenium-server-standalone-2.39.0.jar -role node -hub http:// ipaddress:4445/grid/register

    In project.config file updated below details

    selenium.broswer.type : Firefox

    selenium.remote.url : http://ipaddress:4445/wd/hub

    Please provide inputs to resolve the issues.

     

    Regards,

    Hari

    Attachment(s)

    txt
    Error.txt   3 KB 1 version