Appium Framework Design: Setup with Maven & Folder Structure | Appium Testing Tutorial| Part V
In this Part 5 of the Appium Testing tutorial series, Siddharth Shukla (@sidharthshukla4), founder and author of Automaters: Full Stack QA_SDET, gives a step-by-step walkthrough for downloading and installing IntelliJ IDEA, including the process of creating a Maven project with Appium dependencies. By the end of this video, you will learn the Appium project structure and the framework design creation for mobile app testing.
00:00 Introduction
01:38 Install IntelliJ
03:59 Create Maven project with Appium
12:47 Folder structure in Test Automation framework
30:40 Recap
Introduction to Appium Framework:
Overview of the prerequisites covered in previous sessions, including emulator setup and APK installation.
Focus of the session: designing the automation framework for mobile applications using Appium.
Setting Up IntelliJ IDE:
Steps for installing IntelliJ IDEA (Community Edition) on both Windows and Mac.
Creating a Maven project in IntelliJ for managing dependencies.
Maven Project Setup:
Explanation of Maven as a dependency management tool and how it simplifies the process of adding libraries (like Appium and TestNG).
Detailed guide on adding dependencies for Appium and TestNG in the pom.xml file.
Folder Structure in Test Automation Framework:
Importance of defining a clear folder structure before starting automation framework design.
Creation of key folders:
src/main for main source code.
src/test for test scripts.
resources for test data and configuration files.
reports for storing test execution reports.
Understanding Folder and Package Hierarchy:
Explanation of different folders such as utils (for common utility functions), pages (for storing locators in Page Object Model), and core (for base test scripts and driver setup).
How to create classes within these packages for organizing code.
Configuration and Library Management:
Discussion on the configuration folder for managing environment-specific settings (e.g., config.properties).
Importance of a lib folder for integrating third-party libraries (if needed).
Test Data Management:
Storing test data (e.g., JSON or Excel files) in the resources/testdata folder.
How the test data folder fits into the framework for easy access and management during test execution.
Test Suite Setup:
Creation of a testsuite.xml file (TestNG XML) for managing test execution and running test scripts in batches.
Tips for Framework Design and Interview Preparation:
Emphasis on the importance of understanding the framework’s folder structure for both practical use and interview preparation.
Encouragement to practice creating the folder structure locally and to follow the series in sequence for better understanding.
Conclusion and Next Steps:
Encouragement to try building the framework on a local machine.
Information about upcoming sessions focusing on writing test scripts and further framework design.
Appium Testing Tutorial For Mobile Applications
Complete Tutorial On Appium Parallel Testing [With Examples]
Sidharth Shukla
Sidharth Shukla is a skilled Software Development Engineer in Test (SDET) currently contributing to Amazon in Canada. With a robust background in API, UI, and Mobile Automation, Sidharth is a key player in the realm of DevOps. Beyond his technical prowess, Sidharth is a prolific writer and video creator.