Skip to content

garixx/reachOutAppium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReachOutAppium

Example appium test suite for ReachOut social network android app
Maven + Appium java client + TestNG + Allure reporting

Samples

  • uiautomator2 branch for examples using native android code with UiAutomator2
    Watch DriverManager.java and BasePage.java classes
  • xpath branch for examples using xpath
    Watch actions package classes

How to run

Before runnung you should have:

  • Java 8 JDK installed
  • JAVA_HOME variable set
  • ANDROID SDK installed
  • ANDROID_HOME variable set
  • android emulator launched or a real device connected with enabled USB_DEBUGGING
  • cmd> adb devices returned not empty connected devices list. set your device or emulator config at DriverManager.java
  • nodejs installed
  • npm install -g appium executed (appium installed)
  • cmd>appium executed (appium up and listening)

Locators hunting With Appium Desktop

  • Download and install Appium Desktop from official site

  • Ensure cmd>adb devices returned not empty connected devices list

  • Run Appium Desktop

  • Start Appium server
    alt text

  • Run new session
    alt text

  • Connect to your device or emulator using capabilities:
    alt text

  • Select elements at device and watch locators info

Locators hunting With Android UiAutomatorViewer

  • you should have Android SDK installed
  • At /android-sdk-path/tools/ file uiautomatorviewer.bat (for Windows) or uiautomatorviewer is situaited
  • Ensure cmd>adb devices returned not empty connected devices list
  • Run it
  • Wait for UiAutomatorViewer window appeared
  • Press 'Make snapshot' button
  • Select elements at device and watch locators info

Releases

No releases published

Packages

No packages published

Languages