Requirements:
Selenium IDE Chrome Extension -> https://chrome.google.com/webstore/detail/selenium-ide/mooikfkahbdckldjjndioackbalphokd
NodeJS Installation is required for selenium-side-runner -> https://www.selenium.dev/selenium-ide/docs/en/introduction/command-line-runner
Java JDK8 Installation -> https://www.oracle.com/tr/java/technologies/javase-downloads.html
Jetbrains IntelliJ IDEA CE Installation -> https://www.jetbrains.com/idea/
Allure Reporting Installation -> https://docs.qameta.io/allure/#_installing_a_commandline
Driver Installations
npm install -g chromedriver
npm install -g edgedriver
npm install -g geckodriver
npm install -g iedriver
Selenium IDE Usage
selenium-side-runner gloriajeans.side
selenium-side-runner gloriajeans.side -c "browserName=firefox"
selenium-side-runner gloriajeans.side -c "browserName=chrome goog:chromeOptions.args=[disable-infobars, headless]"
Selenium Grid Usage
Standalone mode:
java -jar selenium-server-4.1.1.jar standalone
Hub-Node mode:
java -jar selenium-server-4.1.1.jar hub
java -jar selenium-server-4.1.1.jar node --detect-drivers true --max-sessions 20 --override-max-sessions true
Container mode:
docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-firefox:4.1.1-20211217
Allure Reporting Usage
mvn clean test -Dsurefire.suiteXmlFiles=src/test/java/suites/SingleClassesSuite.xml
allure serve allure-results
Resources
https://www.selenium.dev/selenium-ide/
https://www.selenium.dev/selenium-ide/docs/en/introduction/getting-started
https://www.selenium.dev/documentation/webdriver/
https://www.selenium.dev/selenium/docs/api/java/deprecated-list.html
https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
https://www.selenium.dev/documentation/grid/
https://github.com/SeleniumHQ/docker-selenium
https://docs.qameta.io/allure/#_testng
Repository owner
https://www.linkedin.com/in/ozgurkayaist/
GitHub Project:
https://github.com/software-testing-bootcamp/S2E1-selenium4-java-testng-allure