Forum Discussion

RaghavanG's avatar
RaghavanG
Occasional Contributor
2 years ago

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
    2 years 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