We are going to structure our Appium framework in a very similar way to our Selenium framework. We will have a base method that our tests can inherit from, some familiar looking configuration classes and a very similar POM.xml to hold our dependencies. Â Let's start off with our POM file:
<?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">
<groupId>com.masteringselenium.demo</groupId>
<artifactId>mastering-selenium-appium</artifactId>
<version>DEV-SNAPSHOT</version>
<modelVersion>4.0.0</modelVersion>
<...