https://github.com/znsio/getting-started-with-rp_ap
Sample tests to show how to use ReportPortalIntegration and ApplitoolsIntegration utilities
https://github.com/znsio/getting-started-with-rp_ap
Last synced: about 1 year ago
JSON representation
Sample tests to show how to use ReportPortalIntegration and ApplitoolsIntegration utilities
- Host: GitHub
- URL: https://github.com/znsio/getting-started-with-rp_ap
- Owner: znsio
- License: mit
- Created: 2023-09-08T05:44:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T05:45:17.000Z (over 1 year ago)
- Last Synced: 2024-10-17T20:48:48.595Z (over 1 year ago)
- Language: Java
- Size: 9.1 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# getting-started-with-rp_ap
Sample Web and App tests to show how to use [ReportPortalIntegration](https://github.com/znsio/ReportPortalIntegration)
and [ApplitoolsIntegration](https://github.com/znsio/ApplitoolsIntegration) utilities in a Java-TestNG automation
framework
## Tech stack used
* [JAVA JDK-11](https://cucumber.io)
* [TestNG 7.8.x](https://testng.org/doc/)
* [Appium 2.x](https://appium.io)
* https://javadoc.io/doc/io.appium/java-client/8.0.0-beta/deprecated-list.html
* [Selenium WebDriver 4.x](https://selenium.dev)
* https://www.selenium.dev/selenium/docs/api/java/deprecated-list.html
* [Reportportal](https://reportportal.io)
* [Applitools](https://applitools.com)
* Build tool: [Maven](https://maven.apache.org/)
## Configuring ReportPortal and Applitools
* [ReportPortalPortal](https://github.com/znsio/ReportPortalIntegration/blob/main/README.md#how-to-configure-reportportal-in-your-automation-framework)
* [ApplitoolsIntegration](https://github.com/znsio/ApplitoolsIntegration/blob/main/README.md#how-to-configure-applitools-visual-testing-in-your-automation-framework)
## Pre-requisites for executing App Tests
1. Install node-js and npm - https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
2. To install Appium and other dependency - Execute `npm install`
## Build
`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 sure `jitpack.io`
> is part of `nonProxyHosts` configuration. For instance
```xml
httpmyproxy
true
http
someHost
8080
UserName
Password
*.google.com|*jitpack.io
```
## Execute Tests
### WebTests
`mvn clean test -DsuiteXmlFile=TestNG/webTestng.xml -DCONFIG=src/test/resources/config/webConfig.properties`
### AppTests
#### Android
`mvn clean test -DsuiteXmlFile=TestNG/androidTestng.xml -DCONFIG=src/test/resources/config/androidConfig.properties`
## How the Dashboards look
### ReportPortal
#### Launch Page/Dashboard

#### Test Name Page

#### Test Execution/Logs Page

### Applitools (Visual Testing)
#### Test Execution/Dashboard

#### Batch Details