How do you write a reusable script that uses to run tests on chrome and firefox

solution needed. please help

Train Asked on April 12, 2017 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)

    This question can have many explanations, but i would suggest the following:

    1. Use a framework: Segregate the pages (One package), configurations (one package), your test scripts which would make the entire project generic.
    2. You can use run it on any platform .

    If you are simply looking to run a script on chrome and chrome: FF doesn’t need any extra configuration, For chrome you just have to download the exe file and add the setproperty method.

    Hope that helps out ­čÖé

    Supporter Answered on April 13, 2017.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.