Service Virtualization

  • 1.  Unable to Stage selenium test in firefox browser

    Posted Aug 31, 2016 02:39 AM

    Hi All,

     

    I want to test selenium script in different browser,i am able to run the same in IE and Chrome but not in firefox as i am unable to get firefox webdriver and it is not mentioned in the CA site also

     

    Run a Selenium Integration Test Case - DevTest Solutions - 9.5 - CA Technologies Documentation 

     

    http://www.seleniumhq.org/download/.

    Can anyone tell me from where i can get the frefox webdriver ,i used geckodriver mentioned in the above site but it is not working.



  • 2.  Re: Unable to Stage selenium test in firefox browser
    Best Answer

    Broadcom Employee
    Posted Aug 31, 2016 09:33 AM

    By default your test will go to Firefox if IE and Chrome are not specified.

     

    Set this Key in your project.config file:

     

    Key

    selenium.browser.type 

     

    Value

    Firefox

     

    Go to Mozilla website for Firefox browser and drivers:

    Download Firefox — Free Web Browser — Mozilla 



  • 3.  Re: Unable to Stage selenium test in firefox browser

    Posted Aug 31, 2016 07:42 PM

    Hi Marcy,

     

    Tried this,i have created a new config file and have provided the below values :

    Key=selenium.browser.type
    Value=Firefox

     

    But it is opening IE windows instead of firefox.



  • 4.  Re: Unable to Stage selenium test in firefox browser

    Posted Aug 31, 2016 08:26 PM

    I tried even  this value in Project config but its failing saying "Test run failed: unable to create driver."

     

    Key=selenium.browser.type
    Value=Firefox



  • 5.  Re: Unable to Stage selenium test in firefox browser

    Broadcom Employee
    Posted Sep 01, 2016 07:36 AM

    It is probably the version of Firefox you are using.

     

    Below is a list of DevTest Versions and the Version of Firefox to use based on the Selenium jars we deliver with each version.  Hope this helps.

     

    DevTest      Firefox      Selenium
    Version       Version     we deliver
    9.5.1           43, 46        2.53
    9.1.0           41              2.48
    9.0.0           41              2.46
    8.5.0           41              2.46
    8.4.0           41              2.46
    8.3.0           41              2.46
    8.2.0           41              2.45
    8.1.0           41              2.45
    8.0.2           41              2.45
    8.0.1           35              2.44
    8.0.0           35              2.44


    Selenium Builder 3.0.9 is not compatible with FF 35.