Sample Web and App tests to show how to use ReportPortalIntegration and ApplitoolsIntegration utilities in a Java-TestNG automation framework
- JAVA JDK-11
- TestNG 7.8.x
- Appium 2.x
- Selenium WebDriver 4.x
- Reportportal
- Applitools
- Build tool: Maven
-
Install node-js and npm - https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
-
To install Appium and other dependency - Execute
npm install
mvn clean install -DskipTests
If facing issues with dependencies not being resolved from https://jitpack.io, then check the
settings.xml
file you're using for building your maven projects. If you've proxies configured in the same, then make surejitpack.io
is part ofnonProxyHosts
configuration. For instance
<proxy>
<id>httpmyproxy</id>
<active>true</active>
<protocol>http</protocol>
<host>someHost</host>
<port>8080</port>
<username>UserName</username>
<password>Password</password>
<nonProxyHosts>*.google.com|*jitpack.io</nonProxyHosts>
</proxy>
mvn clean test -DsuiteXmlFile=TestNG/webTestng.xml -DCONFIG=src/test/resources/config/webConfig.properties
mvn clean test -DsuiteXmlFile=TestNG/androidTestng.xml -DCONFIG=src/test/resources/config/androidConfig.properties