Created
May 8, 2024 06:54
-
-
Save SarahElson/936744455d045bf08ca5712930b5350b to your computer and use it in GitHub Desktop.
Handling Alerts and Popups in Appium
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="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
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>io.github.mfaisalkhatri</groupId> | |
<artifactId>react-native-app-mobile-testing</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<appium-java-client-version>9.2.2</appium-java-client-version> | |
<testng-version>7.9.0</testng-version> | |
<lombok-version>1.18.32</lombok-version> | |
<maven.compiler.version>3.13.0</maven.compiler.version> | |
<surefire-version>3.2.5</surefire-version> | |
<commons-io.version>2.16.0</commons-io.version> | |
<java.release.version>17</java.release.version> | |
<maven.source.encoding>UTF-8</maven.source.encoding> | |
<suite-xml>testng.xml</suite-xml> | |
<argLine>-Dfile.encoding=UTF-8 -Xdebug -Xnoagent</argLine> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<dependencies> | |
<!-- https://mvnrepository.com/artifact/org.testng/testng --> | |
<dependency> | |
<groupId>org.testng</groupId> | |
<artifactId>testng</artifactId> | |
<version>${testng-version}</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/io.appium/java-client --> | |
<dependency> | |
<groupId>io.appium</groupId> | |
<artifactId>java-client</artifactId> | |
<version>${appium-java-client-version}</version> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> | |
<dependency> | |
<groupId>org.projectlombok</groupId> | |
<artifactId>lombok</artifactId> | |
<version>${lombok-version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/commons-io/commons-io --> | |
<dependency> | |
<groupId>commons-io</groupId> | |
<artifactId>commons-io</artifactId> | |
<version>${commons-io.version}</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>${maven.compiler.version}</version> | |
<configuration> | |
<release>${java.release.version}</release> | |
<encoding>${maven.source.encoding}</encoding> | |
<forceJavacCompilerUse>true</forceJavacCompilerUse> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>${surefire-version}</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>${suite-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