Mobile Testing
Appium Desired Capabilities for Android Emulator [Example]
This tutorial will help you to understand APPIUM automation tool. It will cover desired...
Apache Maven is a Java-based project management tool. It can provide a multitasking framework for developers. It eases the complete build lifecycle. Maven is pre-defined and declared in XML format called as POM (Project Object Model) and referred to 'pom.xml.'
Using Maven framework, we can easily manage following tasks in any project-
Basic uses of Maven are-
Download Appium Maven Dependencies
Before start writing APPIUM test with Maven, we have to download the JAR file from Maven central repository website.
or directly add below mentioned POM.xml artifact:
<dependency> <groupId>io.appium</groupId> <artifactId>java-client</artifactId> <version>3.4.1</version> </dependency>
Please go through our Maven tutorial to learn how to configure Maven with Eclipse.
After configuring Maven plug-in Eclipse. It will be ready to test any android .apk application with Appium and Maven.
Step 1) In this step,
Step 2) Then in 'New Maven Project' window, enter 'Appium Test' in Group Id and Artifact Id column. In this step, you have to enter.
Clicking on Finish button. It will open a new class on the defined Group Id (AppiumTest) name.
Step 3) To start with Appium script. Right click on 'src/main/java' from left side explorer window. Then select New >> class. Write the Appium code inside the selected class.
Step 4) In the same project, click over pom.xml from left explorer menu. All dependencies will be visible by default in 'pom.xml' tab. Refer to the Image below-
If in the case of default pom.xml does not exist then just add all Maven Appium dependencies. (extracted from Maven central repository website}
http://search.maven.org/#search|gav|1|g%3A%22io.appium%22%20AND%20a%3A%22java-client%22
Step 5) Now, right click on 'pom.xml' from left explorer or over the xml code for 'AppiumTest' project. Then click 'Run As >> Maven Clean' option.
While running, the user could see all Maven related jar files and success message. Hence, this way the user can run APPIUM test with Maven configured environment.
Summary:
This tutorial will help you to understand APPIUM automation tool. It will cover desired...
What is the Robotium? Robotium is an android Testing framework to automate test cases for native...
{loadposition top-ads-automation-testing-tools} There is a plethora of Mobile App development...
What is iOS App Testing? iOS App Testing is a testing process in which an iOS application is...
Mobile testing is the procedure in which the mobile apps are tested for functionality, usability,...
What is UiAutomatorViewer? "UIautomatorviewer" is a GUI tool to scan and analyze the UI components of an...