Virtual DevDay2020 QA Project Setup

QA PROJECT SETUP 1. Install Java JDK (This (JDK) allows you to code and run Java programs.), find more details on next link https://www.guru99.com/install-java.html

2. Install IntelliJ IDEA CE : IntelliJ IDEA Community Edition is the open source version of IntelliJ IDEA, a premier IDE (Integrated Development Environment) for Java, Groovy and other programming languages such as Scala or Clojure.(https://www.jetbrains.com/idea/download)

What community edition include: • An Intelligent code editor that has all the smarts for understanding Java, XML and Groovy code • Refactoring, code inspections and intentions, super-fast navigation and search • Testing frameworks integration: JUnit and TestNG • Build tools support: Ant and Maven • Popular version control systems integration: CVS, Subversion and Git • Swing UI designer

3. To write and run test cases we will use Selenium WebDriver, TestNG testing framework and Maven build tool. Find More about TestNG and Maven in next link : https://www.guru99.com/all-about-testng-and- selenium.html

Download Maven on your computer and add environment variables to your system. See https://www.youtube.com/watch? v=6AVC3X88z6E.

1/2 Virtual DevDay2020 QA Project Setup

You will need to use Page Object Model design pattern to create Object Repository for web UI elements, so read more about POM (https://www.guru99.com/page-object-model-pom-page- factory-in-selenium-ultimate-guide.html).

4. To run test cases use cmd, and type in terminal :cd pathToProject test_cases_folder/example : cd / Users/alma/Desktop/project_folder/test_cases_folder

run test cases: mvn clean test -DsuiteXmlFile={suiteName} (example: mvn clean test -DsuiteXmlFile=smoke.xml)

2/2