O'Reilly logo

Mastering Selenium WebDriver 3.0 by Mark Collin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an Appium framework

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>    <name>Mastering Selenium ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required