Skip to content

Commit

Permalink
Merge pull request #7 from TestautoDev/feature/fluentInterface
Browse files Browse the repository at this point in the history
Feature/fluent interface
  • Loading branch information
dipjyotimetia authored May 11, 2019
2 parents 68e3da0 + 78ca4c8 commit 19749a8
Show file tree
Hide file tree
Showing 37 changed files with 281 additions and 224 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.gradle
.idea
allure-results
build
out
logs
Reports
ScreensDoc
Screenshots
Binary file removed CIStrategy.png
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Introduction:
The main purpose of this framework to add automation capability to mobile applications

<img src="https://github.com/TestautoDev/MobileTestFramework/blob/master/screens/architecture.png" width="600">
<img src="https://github.com/TestautoDev/Tricks-And-Tips/blob/master/architecture.png" width="600">

### Supported Platforms

Expand Down
8 changes: 0 additions & 8 deletions Server/AppServer4723.bat

This file was deleted.

8 changes: 0 additions & 8 deletions Server/AppServer4724.bat

This file was deleted.

8 changes: 0 additions & 8 deletions Server/DeviceConnect.bat

This file was deleted.

1 change: 0 additions & 1 deletion Server/StartAppiumServer.bat

This file was deleted.

1 change: 0 additions & 1 deletion Server/StartEmulator.bat

This file was deleted.

9 changes: 0 additions & 9 deletions Server/wirelessConnectS8.bat

This file was deleted.

38 changes: 19 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ compileTestKotlin {
allure {
autoconfigure = true
aspectjweaver = true
version = '2.7.0'
version = '2.11.0'
useTestNG {
version = '2.7.0'
version = '2.11.0'
}
downloadLink = 'https://github.com/allure-framework/allure2/releases/download/2.7.0/allure-2.7.0.zip'
downloadLink = 'https://dl.bintray.com/qameta/maven/io/qameta/allure/allure-commandline/2.11.0/allure-commandline-2.11.0.zip'
}

//loadConfig()
Expand Down Expand Up @@ -120,7 +120,7 @@ sourceSets {
}

dependencies {
compile group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.11.402'
compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.550'
compile group: 'io.appium', name: 'java-client', version: '7.0.0'
compile group: 'net.reini', name: 'slf4-cdi', version: '1.0'
compile group: 'org.assertj', name: 'assertj-core', version: '3.11.0'
Expand All @@ -130,27 +130,27 @@ dependencies {
compile group: 'com.relevantcodes', name: 'extentreports', version: '2.41.2'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'net.sourceforge.javacsv', name: 'javacsv', version: '2.0'
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '4.0.1'
compile group: 'org.apache.poi', name: 'poi-ooxml-schemas', version: '4.0.1'
compile group: 'org.apache.poi', name: 'poi-excelant', version: '4.0.1'
compile group: 'org.apache.poi', name: 'poi-examples', version: '4.0.1'
compile group: 'org.apache.poi', name: 'poi-scratchpad', version: '4.0.1'
compile group: 'org.apache.poi', name: 'poi', version: '4.0.1'
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '4.1.0'
compile group: 'org.apache.poi', name: 'poi-ooxml-schemas', version: '4.1.0'
compile group: 'org.apache.poi', name: 'poi-excelant', version: '4.1.0'
compile group: 'org.apache.poi', name: 'poi-examples', version: '4.1.0'
compile group: 'org.apache.poi', name: 'poi-scratchpad', version: '4.1.0'
compile group: 'org.apache.poi', name: 'poi', version: '4.1.0'
compile group: 'org.apache.xmlbeans', name: 'xmlbeans', version: '3.1.0'
compile group: 'com.microsoft.sqlserver', name: 'mssql-jdbc', version: '7.2.1.jre8'
compile group: 'io.qameta.allure', name: 'allure-gradle', version: '2.4'
compile group: 'io.qameta.allure', name: 'allure-testng', version: '2.7.0'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
compile group: 'io.qameta.allure', name: 'allure-gradle', version: '2.5'
compile group: 'io.qameta.allure', name: 'allure-testng', version: '2.11.0'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.26'
compile group: 'com.github.javafaker', name: 'javafaker', version: '0.17.2'
compile group: 'io.rest-assured', name: 'rest-assured', version: '3.3.0'
compile 'io.rest-assured:json-path:3.3.0'
compile 'io.rest-assured:json-schema-validator:3.3.0'
compile group: 'io.rest-assured', name: 'rest-assured', version: '4.0.0'
compile 'io.rest-assured:json-path:4.0.0'
compile 'io.rest-assured:json-schema-validator:4.0.0'
compile group: 'org.json', name: 'json', version: '20180130'
compile group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.2'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.2'
compile group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9'
compile group: 'com.github.tomakehurst', name: 'wiremock', version: '2.22.0'
compile group: 'com.github.tomakehurst', name: 'wiremock', version: '2.23.0'
compile group: 'net.lightbody.bmp', name: 'browsermob-core', version: '2.1.5'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
Expand Down
Binary file added input/Driver/chromedriver.exe
Binary file not shown.
Binary file removed screens/architecture.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/java/com/Constants/Arg.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public enum Arg implements ServerArgument {

private final String arg;

Arg(String arg){
Arg(String arg) {
this.arg = arg;
}

Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/Exception/AppiumException.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public class AppiumException extends Exception {

/**
* Appium server exception
*
* @param message exception message
*/
public AppiumException(String message) {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/Exception/DeviceException.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
public class DeviceException extends Exception {
/**
* Device exception
*
* @param message exception message
*/
public DeviceException(String message) {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/Exception/ElementException.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
public class ElementException extends ElementNotVisibleException {
/**
* Element exception
*
* @param message exception message
*/
public ElementException(String message) {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/Exception/MobileAppException.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
public class MobileAppException extends Exception {
/**
* App exception
*
* @param message exception message
*/
public MobileAppException(String message) {
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/com/Utils/FileSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
Expand Down Expand Up @@ -61,7 +60,7 @@ public static String readFile(String filePath) throws IOException {
* @throws IOException When fail to write in file.
*/
public static void appendFile(String filePath, String text) throws IOException {
FileUtils.writeStringToFile(new File(filePath), text, "UTF-8",true);
FileUtils.writeStringToFile(new File(filePath), text, "UTF-8", true);
}

/**
Expand All @@ -72,7 +71,7 @@ public static void appendFile(String filePath, String text) throws IOException {
* @throws IOException When fail to write in file.
*/
public static void writeFile(String filePath, String text) throws IOException {
FileUtils.writeStringToFile(new File(filePath), text,"UTF-8");
FileUtils.writeStringToFile(new File(filePath), text, "UTF-8");
}

/**
Expand Down
Loading

0 comments on commit 19749a8

Please sign in to comment.