Core consists of:
-
TestNG
-
Allure reports
-
Slack IM integration (just a stub for now)
-
Selenium
-
Selenium WebDriver manager.
This manager automatically updates and uses most recent versions of: Chrome, Firefox, Opera, PhantomJS, Microsoft Edge, and Internet Explorer
sh mac-bootstrap.sh
This script installs the following if something is absent:
- Installs Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Installs Caskroom
brew tap caskroom/cask
- If you dont have the Java Development Kit (JDK) runs this command
brew cask install java
- Installs Maven
brew install maven
- Runs
./mac_install_browsers.sh
The script also runs the tests.
Safari requires the following manual steps for tests execution:
- Open Safari Preferences
- Go to the Advanced Tab
- Check the box at the bottom "Show Develop menu in menu bar"
- Click on the Develop menu
- Click on "Allow Remote Execution"
At the time of execution there may also be a pop up message - press option to agree with auto test session
mvn test -Dsurefire.suiteXmlFiles=mac-only.xml
mvn allure:serve
`sh kickstart_with_reports_on_mac.sh`
-
Right-Click on
windows_install.bat
and selectRun as Administrator
-
Test the installation by executing the following
mvn test -Dsurefire.suiteXmlFiles=windows-only.xml
This is needed if Selenium WebDriver Manager does not work for any reason.
- The
windows_install.bat
script should install Chocolatey the Windows package manager. - Install latest versions of a. Firefox b. Chrome c. PhantomJS
- Selenium drivers for the above and the Edgedriver
mvn test -Dsurefire.suiteXmlFiles=windows-only.xml
Mac OS X only - I do not have Windows machine right now
Currently is work in progress
kickstart_with_reports.sh
Best Regards,
Evgenii Zakiev
+1(512)8176082