Skip to content

Basic example for automation testing in react native using appium

Notifications You must be signed in to change notification settings

gandarain/Appium_React_Native

Repository files navigation

Basic Example for Automation Testing

This is an example for Automation Testing in React Native using Appium.
React Native Version : 0.62
Appium Version : 1.17.1

How To Run

  1. clone this repo
  2. make sure you already have an appium dekstop app or you can install it from this link appium
  3. npm install
  4. npm install appium-doctor -g
  5. open your emulator
  6. change your emulator name in Test File
  7. react-native start
  8. react-native run-android, you need to run this command to generate your Debug APK
  9. make sure the app-debug.apk has been generated in Debug APK
  10. open Test File and change your debug apk path, it should be in your_project_path/android/app/build/outputs/apk/debug/app-debug.apk
  11. make sure you add this export JAVA_HOME=$(/usr/libexec/java_home) in your ~/.bashrc or ~/.bash_profile
  12. open your appium and click start server
  13. npm test

Pluggin Installed

Source

About

Basic example for automation testing in react native using appium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published