Web Project

A Full Stack Automation for Web, Mobile and Rest APIs

License

License

GroupId

GroupId

com.sdeting.utils
ArtifactId

ArtifactId

web
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

Web Project
A Full Stack Automation for Web, Mobile and Rest APIs

Download web

How to add to project

<!-- https://jarcasting.com/artifacts/com.sdeting.utils/web/ -->
<dependency>
    <groupId>com.sdeting.utils</groupId>
    <artifactId>web</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.sdeting.utils/web/
implementation 'com.sdeting.utils:web:1.0.1'
// https://jarcasting.com/artifacts/com.sdeting.utils/web/
implementation ("com.sdeting.utils:web:1.0.1")
'com.sdeting.utils:web:jar:1.0.1'
<dependency org="com.sdeting.utils" name="web" rev="1.0.1">
  <artifact name="web" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.sdeting.utils', module='web', version='1.0.1')
)
libraryDependencies += "com.sdeting.utils" % "web" % "1.0.1"
[com.sdeting.utils/web "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

There are no modules declared in this project.

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