/MasterAppiumFramework

Automation Testing | Mobile | android | iOS | Java | OOPS | Appium | TestNG | Maven | ExtentReport | Java mail API | Logging (Log4J2) | Design Patterns (Page Object Model, Singleton) | Page Factories | Jenkins | Data-Driven Testing using JSON file | Expected Data using XML file

Primary LanguageHTML

MasterAppiumFramework

With further updates - This project is designed and developed with the help of -

  1. Udemy course (OmPrakash Chavan - Appium Mobile Automation - Android & iOS + Frameworks + CICD)
  2. YouTube playlist (Testing Mini Bytes)

image image image

Updations and Implementations done:

  1. Parallel testing (Multiple devices - Android and iOS) (Real devices and Emulator/Simulator)
  2. Application used: https://github.com/saucelabs/sample-app-mobile/releases (V2.7.1)
  3. ExtentReports V5.0.9
  4. User has options for customization
  5. Email to User(s) using Java mail API
  6. Retry failed test cases
  7. Custom Enums, Exceptions, Annotations
  8. Zip the ExtentReports directory into Project path (you can send this Zip file as well as an Attachment in Email)
  9. Automatically open the report after tests execution.
  10. Start and Stop Appium Server programmatically
  11. Videos for Failed test cases
  12. Pass Test Data from JSON file
  13. Pass Expected Data from XML file
  14. Send EMail using Java mail API to User(s) with attachment(s).
  15. Jenkins job setup
  16. Send EMail using Jenkins to User(s) with attachment(s).

ExtentReports V5.0.9

  1. User can apply the Filters -
  • DeviceType - Pixel 3, Pixel 3A, Pixel 4
  • Author - Rajat, Nishant, Gautam, Pankaj
  • TestType - Smoke, Sanity, Regression, BVT
  1. Screenshots are attached in the ExtentReport as Base64 format. image image

User has options for customization image

Email to User(s) using Java mail API image

Send EMail using Java mail API to User(s) with attachment(s)


How to run the Project from Local machine

  1. Pull the code into your machine and import in IDE (Eclipse/intelliJ).
  2. Go to testng.xml -> Run this file as TestNG suite (you should have done the setup for Appium) It should start the execution -> Parallel Testing.

**NOTE: **

  1. Make sure devices (Either Emulator/Simulator or Real-Device) are ready image

Screenshot 2022-01-10 at 10 37 12 AM

692/138760107-8fb49a24-7b81-4236-82a8-9eabbed8203b.png)

Screenshot 2022-01-10 at 10 34 55 AM


How to run the Project from Jenkins __Final-OC_Appium-Github.pdf image

Email to User(s) using Jenkins: image