Skip to content

austinfinnql/appium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automated Regression tests for Qantas Money

+-- src
|   +-- test
|       +-- java
|           +-- config                  # the driver creation, declaring the DesiredCapabilities are done here                      
|               +-- locators            # the platform specific locators are placed in this folder.  
|           +-- pageobjects             # view/activity based hierarcy should be followed while declaring the pageObjects
|           +-- steps                   # step definitions should roughly follow the feature file. All steps regarding the scenario need not be in the sample file
|           +-- suite                   # declarition of the testrunner
|           +-- utils                   # Contains json parser and other non-test related files
|       +-- resource                    # the feature files are to be placed in this folder

A word about usage:

  1. Let PageObjects do the heavy lifting.
  2. PageObject should provide services and not return MobileElement objects.
  3. Decouple locator methods (any findElement* call) from pageobjects. findElement() are driver level call and should be handled independently
  4. Step implementations should always and only call PageObject. Step definitions should have only the minimal logic present.

Running your tests locally

To start appium server from terminal:

  • iOS: appium --pre-launch --platform-name ios --platform-version xxx --udid xxxx --device-name xxx --app ~/xxx.app

  • example appium --pre-launch --platform-name ios --platform-version 11.3 -U C3BB859C-EBAA-4245-B432-FEAD9C81FB17 --device-name "iPhone 8 Plus" --app ~/AvroIOS.app

  • Android: appium --pre-launch --platform-name android --platform-version xxx --device-name xxx --app ~/xxx.apk

  • Details of server arguments can be found at https://appium.io/slate/en/master/#appium-server-arguments.

To executed the tests (client): mvn clean install


Current State:

  1. The change passcode test have been completed for Android.
  2. On IOS there are Accessibility id's missing for
    • In toolbar/navbar, the elements, "Home", "Pay a bill", and "More"
    • In "Activate your card": the field to enter “CVC” does not have an ID. XPath can be used in this case, but it did not provide the stability we look for in automated testcase.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published