GithubHelp home page GithubHelp logo

ashishjublsdet / appium-pageobject-mobile-automation Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 6.0 11.09 MB

Appium-PageObject-Java-Mobile-Automation-Framework

HTML 51.69% Java 48.31%
appium appium-android appium-framework appium-automation appium-java mobile-automation

appium-pageobject-mobile-automation's Introduction

Appium-PageObject-Mobile-Automation

Appium-PageObject-Java-Mobile-Automation-Framework

1. Clone the application

git clone 

2. Import project in any Editor(Eclispe/Intellij)

3. Run appium desktop on default port

4. Run testCase.xml

Project Structure

Package & Classes Details

actionHelper : In this package common Android functions is present
AndroidHelperMethods : All the common Android functions is present in this class like click(),Scroll(),Enter() etc.
DriverManager : In this package We are handling drivers initialization.
DriverManagerType : We have create an enum for Driver types and its definations
DriverManager : In this class we are creating driver object on the Basis of DriverType  like DriverManagerType.Android,DriverManagerType.IOS
listners : In this package we are using TestNg ITestlistner for creating report on the basis of Test result
TestListner :In order to listen to test events such as passed, failed, skipped, etc. we have TestListener class which implements ITestListener.
**onFinish:** This method is invoked after all tests methods gets executed.

**onTestStart:** This method is invoked before any test methods are invoked. This can be used to indicate that the particular test method has been started.

**onTestSkipped:** This method is invoked when each test method is skipped. This can be used to indicate that the particular test method has been skipped.

**onTestSuccess:** This method is invoked when any test method succeeds. This can be used to indicate that the particular test method has successfully finished its execution.

**onTestFailure:** This method is invoked when any test method fails. This can be used to indicate that the particular test method has failed. You can create an event for taking a screenshot which will show where the test has been failed.
reportManager : In this package we are using Extent report for reporting testCases
ExtentManager :In this class we are using Extent api and  initialization of Extent object 
Pages : In this package all the pages of application is present.
BasePageClass :In this class we have initialize all the page classes using PagePafctory conecepts(PageFactory.initElements)
HomePage,Login Page :In this class we have all the locators and associated methods.
TestCases : In this package all the TestCases is present.
BaseTest :In this class we have initialize drivers and all the pages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.