Intellij Musing - Test Automation framework with Selenium Cucumber TestNG Maven Jenkins and GIT



  1. Pull the project from the scm repository in my case Git
  2. In IntelliJ File -> New -> Project from existing sources and navigate to the root directory
  3. Choose Import from external mode - Maven/Eclipse as need be 
  4. Update the pom.xml
  5. Maven clean run / Generate source and Update Folders

Options to run:
  • Right click and run the individual feature file
  • Right click and run the TestNG.xml file - To run tests in parallel
  • Right click and run the individual cucumber runner file - To run tagged tests



    Reports:
    1. Cucumber pretty format - Index.html
    2. Cucumber JSON report
    3. Customized html report

    Comments

    Popular posts from this blog

    Software Testing @ Microsoft

    Trim / Remove spaces in Xpath?