Created
July 15, 2022 17:13
-
-
Save SarahElson/94cd81ab97147490cfb404edb9279f10 to your computer and use it in GitHub Desktop.
Automated App Testing Using Appium With TestNG [Tutorial]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.lambdatest.appium.sample</groupId> | |
<artifactId>appium-lambdatest-sample</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<maven.compiler.source>11</maven.compiler.source> | |
<maven.compiler.target>11</maven.compiler.target> | |
<argLine>-Dfile.encoding=UTF-8 -Xdebug -Xnoagent</argLine> | |
</properties> | |
<dependencies> | |
<!-- https://mvnrepository.com/artifact/io.Appium/java-client --> | |
<dependency> | |
<groupId>io.appium</groupId> | |
<artifactId>java-client</artifactId> | |
<version>7.6.0</version> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/org.testng/testng --> | |
<dependency> | |
<groupId>org.testng</groupId> | |
<artifactId>testng</artifactId> | |
<version>7.6.0</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>3.0.0-M5</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>test</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<useSystemClassLoader>false</useSystemClassLoader> | |
<properties> | |
<property> | |
<name>usedefaultlisteners</name> | |
<value>false</value> | |
</property> | |
</properties> | |
<suiteXmlFiles> | |
<suiteXmlFile>testng.xml</suiteXmlFile> | |
</suiteXmlFiles> | |
<argLine>${argLine}</argLine> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment