Skip to main content

Posts

Showing posts from June, 2016

Executing appium tests on iOS mobile web

Back to Appium Tutorial Index   To be able to work with ios simulator we would need - Appium app to launch appium server and analyze application elements xCode to launch various simulators to run tests on emulator / or real devices Let’s begin with Appium app installation on mac - Appium app provides ready to run version of appium server. Install appium client and start appium server as described in following steps - Install latest Appium client for ios from - http://appium.io/downloads.html (You may have issues downloading this file from chrome, FF seems to work without issues) Once download is over then Control-click appium.dmg > open with > DiskImageMounter.app DMG is a apple disk image. The disk image will be mounted. Then look for the mounted disk image in your finder (cmd + space), It will appear there. Right click and open. You should also drag it to Applications folder so that you can search it in finder (command + tab) in future

Executing appium tests on android mobile app

Back to Appium Tutorial Index Having learned how to execute appium tests on android mobile web now is the time to learn how appium tests can be executed on mobile app. Lets begin with installing app on emulator or device - Installing app on emulator/device: Following are the steps to install app on emulator or device on various operating systems - Windows: Execute the emulator (SDK Manager.exe->Tools->Manage AVDs...->New then Start) Start the console (Windows XP), Run -> type cmd, and move to the platform-tools folder of SDK directory. Paste the APK file in the 'android-sdk\tools' or 'platform-tools' folder. Then type the following command. adb install [.apk path] Example: adb install C:\Users\Name\MyProject\build\Jorgesys.apk Linux: Copy the apk file to platform-tools in android-sdk linux folder. Open Terminal and navigate to platform-tools folder in android-sdk. Then Execute this command - ./adb insta