full-stack-automation

A Full Stack Automation for Web, Mobile and Rest APIs

License

License

Categories

Categories

Auto Application Layer Libs Code Generators
GroupId

GroupId

com.sdeting.utils
ArtifactId

ArtifactId

full-stack-automation
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

pom
Description

Description

full-stack-automation
A Full Stack Automation for Web, Mobile and Rest APIs
Project URL

Project URL

https://github.com/eajazali87/test-utils
Source Code Management

Source Code Management

https://github.com/eajazali87/test-utils

Download full-stack-automation

How to add to project

<!-- https://jarcasting.com/artifacts/com.sdeting.utils/full-stack-automation/ -->
<dependency>
    <groupId>com.sdeting.utils</groupId>
    <artifactId>full-stack-automation</artifactId>
    <version>1.0.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.sdeting.utils/full-stack-automation/
implementation 'com.sdeting.utils:full-stack-automation:1.0.1'
// https://jarcasting.com/artifacts/com.sdeting.utils/full-stack-automation/
implementation ("com.sdeting.utils:full-stack-automation:1.0.1")
'com.sdeting.utils:full-stack-automation:pom:1.0.1'
<dependency org="com.sdeting.utils" name="full-stack-automation" rev="1.0.1">
  <artifact name="full-stack-automation" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.sdeting.utils', module='full-stack-automation', version='1.0.1')
)
libraryDependencies += "com.sdeting.utils" % "full-stack-automation" % "1.0.1"
[com.sdeting.utils/full-stack-automation "1.0.1"]

Dependencies

compile (7)

Group / Artifact Type Version
org.testng : testng jar 6.14.3
org.seleniumhq.selenium : selenium-java jar 3.141.59
org.seleniumhq.selenium : htmlunit-driver jar 2.33.3
io.appium : java-client jar 6.1.0
io.qameta.allure : allure-testng jar 2.8.1
ru.yandex.qatools.allure : allure-commandline jar 1.5.4
org.apache.commons : commons-email jar 1.5

Project Modules

  • web
  • mobile
  • apis

Useful Test-Utils

This repo has some useful utilities that will help engineers especially SDETs to fulfil few operations.

Utilities:

removeConfigNodesFromTestNgResultsXML:

There are n number of config nodes like @BeforeMethod, @AfterMethod etc in a testng-results.xml file. A real time usefulness of this utility is, ALM treats every config node as a test case, so it is better to remove these config nodes before you upload the testng-results.xml to ALM. This will give accurate result of how many test cases failed and passed.

Usage:

TestUtils.removeConfigNodesFromTestNgResultsXML("path_to_your_input_testng-results.xml_file");

downloadZip:

This method will help to download a zip file from a remote location.

Usage:

TestUtils.downloadZip("remoteZipLocation","location_to_download/file.zip",1024);

unZipFolder:

This method will help to unzip a folder and extract all its contents

Usage:

TestUtils.unZipFolder("path to the zip folder");

My site:

https://sdeting.com/

Versions

Version
1.0.1
1.0.0