From e272f57c2cc698081746e2748d11d805950350ff Mon Sep 17 00:00:00 2001 From: Dipjyoti Metia Date: Tue, 28 Dec 2021 00:57:53 +1100 Subject: [PATCH] updated dependencies and fix readme --- README.md | 4 +- build.gradle | 68 +++++++++++------------ docs/{ => img}/FrameworkArchitecture.png | Bin docs/{appium => img}/appium1.png | Bin docs/{appium => img}/appium2.png | Bin docs/{appium => img}/appium3.png | Bin docs/{appium => img}/appium4.png | Bin docs/{appium => img}/uiautomator.png | Bin docs/index.md | 7 +-- 9 files changed, 38 insertions(+), 41 deletions(-) rename docs/{ => img}/FrameworkArchitecture.png (100%) rename docs/{appium => img}/appium1.png (100%) rename docs/{appium => img}/appium2.png (100%) rename docs/{appium => img}/appium3.png (100%) rename docs/{appium => img}/appium4.png (100%) rename docs/{appium => img}/uiautomator.png (100%) diff --git a/README.md b/README.md index 32894321..11852cb0 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Testing Powered By SauceLabs](https://opensource.saucelabs.com/images/opensauce/powered-by-saucelabs-badge-white.png?sanitize=true "Testing Powered By SauceLabs")](https://saucelabs.com) ### Full-fledged Mobile, API and Database framework using appium and rest-assured - + ### Supported Platforms @@ -38,7 +38,7 @@ below for specific information about how that driver works and how to set it up: * [Install InteliJ Community Edition](https://www.jetbrains.com/idea/download/) * [Java JDK_11](https://adoptopenjdk.net/) install jdk_11 version * [Gradle](https://gradle.org/next-steps/?version=6.7.1&format=bin) -* [Allure](https://github.com/allure-framework/allure2/archive/2.14.0.zip) +* [Allure](https://github.com/allure-framework/allure2/archive/2.17.2.zip) * Set the below environment variables ```shell diff --git a/build.gradle b/build.gradle index 9f7e2d01..f3cc4959 100644 --- a/build.gradle +++ b/build.gradle @@ -50,51 +50,49 @@ buildscript { } allure { - version = '2.15.0' + version = '2.17.2' useTestNG { - version = '2.15.0' + version = '2.17.2' } - downloadLink = 'https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.15.0/allure-commandline-2.15.0.zip' + downloadLink = 'https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.17.2/allure-commandline-2.17.2.zip' } dependencies { - implementation group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.81' - implementation group: 'io.appium', name: 'java-client', version: '7.6.0' - implementation group: 'net.reini', name: 'slf4-cdi', version: '1.0' - implementation group: 'org.assertj', name: 'assertj-core', version: '3.21.0' - implementation group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3' - implementation group: 'org.testng', name: 'testng', version: '7.4.0' - implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' + implementation 'com.amazonaws:aws-java-sdk-s3:1.12.130' + implementation 'io.appium:java-client:7.6.0' + implementation 'org.assertj:assertj-core:3.21.0' + implementation 'org.hamcrest:hamcrest-all:1.3' + implementation 'org.testng:testng:7.4.0' + implementation 'com.googlecode.json-simple:json-simple:1.1.1' implementation group: 'com.relevantcodes', name: 'extentreports', version: '2.41.2' - implementation group: 'commons-io', name: 'commons-io', version: '20030203.000550' + implementation 'commons-io:commons-io:20030203.000550' implementation group: 'net.sourceforge.javacsv', name: 'javacsv', version: '2.0' - implementation group: 'org.apache.poi', name: 'poi-ooxml', version: '5.0.0' - implementation group: 'org.apache.poi', name: 'poi-ooxml-schemas', version: '4.1.2' - implementation group: 'org.apache.poi', name: 'poi-excelant', version: '5.0.0' - implementation group: 'org.apache.poi', name: 'poi-examples', version: '5.0.0' - implementation group: 'org.apache.poi', name: 'poi-scratchpad', version: '5.0.0' - implementation group: 'org.apache.poi', name: 'poi', version: '5.0.0' - implementation group: 'org.apache.xmlbeans', name: 'xmlbeans', version: '5.0.1' - implementation group: 'com.microsoft.sqlserver', name: 'mssql-jdbc', version: '9.4.0.jre11' - implementation group: 'io.qameta.allure', name: 'allure-gradle', version: '2.8.1' - implementation group: 'io.qameta.allure', name: 'allure-testng', version: '2.15.0' - implementation group: 'io.qameta.allure', name: 'allure-rest-assured', version: '2.15.0' - implementation group: 'io.qameta.allure', name: 'allure-attachments', version: '2.15.0' - implementation group: 'com.github.javafaker', name: 'javafaker', version: '1.0.2' + implementation 'org.apache.poi:poi-ooxml:5.1.0' + implementation 'org.apache.poi:poi-ooxml-schemas:4.1.2' + implementation 'org.apache.poi:poi-excelant:5.1.0' + implementation 'org.apache.poi:poi-scratchpad:5.1.0' + implementation 'org.apache.poi:poi:5.1.0' + implementation 'org.apache.xmlbeans:xmlbeans:5.0.2' + implementation 'com.microsoft.sqlserver:mssql-jdbc:9.4.1.jre11' + implementation 'io.qameta.allure:allure-gradle:2.8.1' + implementation 'io.qameta.allure:allure-testng:2.17.2' + implementation 'io.qameta.allure:allure-rest-assured:2.17.2' + implementation 'io.qameta.allure:allure-attachments:2.17.2' + implementation 'com.github.javafaker:javafaker:1.0.2' implementation 'io.rest-assured:rest-assured:4.4.0' implementation 'io.rest-assured:json-schema-validator:4.4.0' implementation 'io.rest-assured:json-path:4.4.0' - implementation group: 'org.json', name: 'json', version: '20210307' - implementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.32' - implementation group: 'com.konghq', name: 'unirest-java', version: '3.13.0' - implementation group: 'com.github.tomakehurst', name: 'wiremock', version: '2.27.2' - implementation group: 'net.lightbody.bmp', name: 'browsermob-core', version: '2.1.5' - implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.36.0.3' - implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre' - implementation group: 'com.typesafe', name: 'config', version: '1.4.1' - implementation "org.testcontainers:testcontainers:1.16.0" - implementation 'org.projectlombok:lombok:1.18.20' - annotationProcessor 'org.projectlombok:lombok:1.18.20' + implementation 'org.json:json:20210307' + implementation 'org.slf4j:slf4j-simple:1.7.32' + implementation 'com.konghq:unirest-java:3.13.4' + implementation 'com.github.tomakehurst:wiremock:2.27.2' + implementation 'net.lightbody.bmp:browsermob-core:2.1.5' + implementation 'org.xerial:sqlite-jdbc:3.36.0.3' + implementation 'com.google.guava:guava:31.0.1-jre' + implementation 'com.typesafe:config:1.4.1' + implementation 'org.testcontainers:testcontainers:1.16.2' + implementation 'org.projectlombok:lombok:1.18.22' + annotationProcessor 'org.projectlombok:lombok:1.18.22' } task E2E(type: Test) { diff --git a/docs/FrameworkArchitecture.png b/docs/img/FrameworkArchitecture.png similarity index 100% rename from docs/FrameworkArchitecture.png rename to docs/img/FrameworkArchitecture.png diff --git a/docs/appium/appium1.png b/docs/img/appium1.png similarity index 100% rename from docs/appium/appium1.png rename to docs/img/appium1.png diff --git a/docs/appium/appium2.png b/docs/img/appium2.png similarity index 100% rename from docs/appium/appium2.png rename to docs/img/appium2.png diff --git a/docs/appium/appium3.png b/docs/img/appium3.png similarity index 100% rename from docs/appium/appium3.png rename to docs/img/appium3.png diff --git a/docs/appium/appium4.png b/docs/img/appium4.png similarity index 100% rename from docs/appium/appium4.png rename to docs/img/appium4.png diff --git a/docs/appium/uiautomator.png b/docs/img/uiautomator.png similarity index 100% rename from docs/appium/uiautomator.png rename to docs/img/uiautomator.png diff --git a/docs/index.md b/docs/index.md index 81ce990a..03180257 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,8 +1,7 @@ ## Mobile Test Framework ### Architecture - - +![Appium](img/FrameworkArchitecture.png) ### Supported Platforms Appium supports app automation across a variety of platforms, like iOS,Android, from any platform. Each @@ -78,8 +77,8 @@ Create new class and name as the TC00*_E2E_TEST-*** - Use CatchBlock in try/catch section #### Android Execution -![browserstack](https://github.com/dipjyotimetia/MobileTestFramework/blob/master/docs/gif/gif_android.gif) +![browserstack](gif/gif_android.gif) #### iOS Execution -![browserstack](https://github.com/dipjyotimetia/MobileTestFramework/blob/master/docs/gif/gif_ios.gif) +![browserstack](gif/gif_ios.gif)