Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.62 KB

README.md

File metadata and controls

49 lines (42 loc) · 1.62 KB

📥 Resultados - TSE 2020

Mobile Automation project based on Java + Appium + Cucumber.

☑️ Requirements

  • Java 1.8
  • Appium
  • Cucumber
  • Android Emulator

For more information about how to set up the environment to use Appium for functional test automation on mobile devices, plus how to emulate an Android device using Android Studio, please check this awesome documentation https://github.com/clarabez/appium-en from my friend 👩‍🏫 @clarabez.

📐 Project Structure

📦 src
 ┣ 📂 main
 ┃ ┣ 📂 java
 ┃ ┗ 📂 resources
 ┃ ┃ ┣ 📂 apk
 ┃ ┃ ┃ ┗ 📜 Resultados.apk
 ┃ ┃ ┗ 📂 features
 ┃ ┃ ┃ ┗ 📜 Resultados.feature
 ┗ 📂 test
 ┃ ┣ 📂 java
 ┃ ┃ ┣ 📂 manager
 ┃ ┃ ┃ ┗ 📜 AppiumDriverManager.java
 ┃ ┃ ┣ 📂 pages
 ┃ ┃ ┃ ┣ 📜 InitialSetupPage.java
 ┃ ┃ ┃ ┣ 📜 MainPage.java
 ┃ ┃ ┃ ┗ 📜 SearchPage.java
 ┃ ┃ ┣ 📂 runner
 ┃ ┃ ┃ ┗ 📜 CucumberTestRunner.java
 ┃ ┃ ┗ 📂 stepDefinition
 ┃ ┃ ┃ ┣ 📜 Hooks.java
 ┃ ┃ ┃ ┣ 📜 InitialSetupSteps.java
 ┃ ┃ ┃ ┗ 📜 MainSteps.java
 ┃ ┗ 📂 resources
 ┃ ┃ ┗ 📜 cucumber.properties

🚀 How to run the project?

  1. Launch the Android Emulator;
  2. Launch the Appium Server;

Then execute the tests according to your preference:

  • via CLI: ./gradlew runFeatures
  • via IDE: right click on CucumberTestRunner.java class > and select the option Run 'CucumberTestRunner'