Skip to content

babusekaran/KarateDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For API tests:

mvn clean test -Dtest=HttpBinTest

For Mobile Automation:

Appium: Install appium from npm

npm install -g appium
npm install -g appium-doctor (check dependency for appium )

Android: (would need approx 2GiB of network data)

Download and Install Android Studio for mac : https://developer.android.com/studio#downloads
Setup ANDROID_HOME in environment variables you should be able to run CLI commands like sdkmanager, emulator, avdmanager

sdkmanager --update
sdkmanager --list (can use any x86_64 image from this for download)
sdkmanager "system-images;android-27;default;x86_64" (this downloads emulator for android Oreo)
avdmanager create avd -n <AVD_NAME> -k "system-images;android-27;default;x86_64" -g "default"
emulator -list-avds
appium-doctor
emulator -avd <AVD_NAME>(to launch avd in emulator)
emulator -avd <AVD_NAME> -no-snapshot-load(to launch avd in emulator with cold boot)

iOS: (would need approx 6GiB of network data)

Download and install xcode 9 or above from https://developer.apple.com/download/
need a apple developer id you can use your apple id for this.

xcrun simctl list device
appium-doctor

mvn clean test -Dtest=CalcUiRunner