Forum Discussion

RaghavanG's avatar
RaghavanG
Occasional Contributor
6 months ago
Solved

Create Selenium Tests in ReadyAPI

How to Create Selenium Tests in ReadyAPI?. Getting error. Not sure where it went wrong. I followed the steps in below link. https://support.smartbear.com/readyapi/docs/integrations/selenium/integra...
  • TNeuschwanger's avatar
    6 months ago

    Hello RaghavanG 

     

    If you choose to deviate from the steps described in the instructions, you will need to be prepared for the ramifications...  🙂

     

    You have replaced some firefox values that were defined in the instructions with chrome values.  It looks like you need to change line:

       import org.openqa.selenium.firefox.FirefoxDriver;

    to:

       import org.openqa.selenium.chrome.ChromeDriver;

    in order to overcome your current condition.  After that is done, you may encounter further errors.  I have not debugged your code beyond what jumps out at me.  🙂

     

    Regards,

    Todd