Caio Moloni
This repository contains automated tests for a mobile app using Robot Framework and AppiumLibrary.
pip install robotframework
)pip install robotframework-appiumlibrary
)pip install robotframework-jsonlibrary
)📂 Project Structure The project follows a structured folder and file hierarchy suitable for mobile app test automation:
ENV/ # Contains .json file with Appium capabilities for different environments Resources/ # Keywords, locators, and project configuration global/ # Project-wide configuration and mobile session setup for Android and iOS Locator/ # Defines locators for each page Pages/ # Defines page objects along with keywords Paths/ # Defines paths to locators as variables for Android and iOS Tests/authentication/ # Test cases for authentication pages
🏃 Running Tests
To run the tests, execute the following command in the terminal:
robot Tests/authentication/
⚙️ Configuration
Define your Appium capabilities in the .json file within the ENV/ directory. Update the project-wide configuration in Resources/global/.
📝 Page Objects
Page objects are defined in the Resources/Pages/ directory along with keywords specific to each page.
🧪 Test Cases
Test cases are defined in the Tests/authentication/ directory. Each test case imports necessary page objects and keywords.
👨 Authority
This code was made by Caio Moloni (https://www.linkedin.com/in/caio-henrique-de-paula-moloni-06999a143/)