AnsweredAssumed Answered

Test run failed while  selenium integration step is executed

Question asked by user_Hari on Jun 4, 2014
Latest reply on Jan 14, 2016 by MarcyNunns

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

Attachments

Outcomes