Appium 1.6 5 Download for Mac
Install appium on Mac for real device iOS automation (GUI & Command line tools)
Here I accept displayed the procedure for the complete installation of Appium in mac for real device iOS automation. I accept given the steps for Command line tool installation and GUI installation of appium in mac.
Command Line Tool Installation of Appium in MAC
Step 1 : Install java JDK:
Step 2 : Install Android Studio:
→ Download Link here: https://developer.android.com/studio/index.html
Scroll till last and observe the software as below:
android-studio-ide-173.4819257-mac.dmg
Step three : Install Dwelling house brew
→ In Final install brew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/primary/install )"
Step 4 : Install Node.js
→ install node.js:
download installer: https://nodejs.org/en/download/ and run
Footstep 5 : Install npm
→ In Terminal install npm:
brew update brew install node
npm install -k npm
Stride half dozen : To setup Surround
To open bash_profile in terminal, type the following command:
nano ~/.bash_profile or
open up -eastward .bash_profile
If bash contour not available, create a bash_profile by post-obit command
- Offset up Final
- Type "cd ~/" to get to your home folder
- Type "impact .bash_profile" to create your new file.
- Edit .bash_profile with your favorite editor (or you can just type "open -e .bash_profile" to open information technology in TextEdit.
paste post-obit:
export ANDROID_HOME=/Users/user/Library/Android/sdk
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
consign JAVA_HOME=$(/Library/Coffee/JavaVirtualMachines/jdk1.8.0_141.jdk)
export PATH=${JAVA_HOME}/Contents/Home/bin:$PATH
export PATH=/usr/local/bin:/usr/local/sbin:~/bin:$PATH
export PATH=$PATH:/opt/bin:$PATH
relieve (Ctrl+S) and leave
NOTE : Every bit default Android studio and Java takes the above path, if you lot take changed the path then do alter information technology here with correct version
Step seven. Install Appium
In Concluding install Appium control line:
npm install -chiliad appium@1.half-dozen.0-beta1
npm install wd
Step 8. Install Carthage
Now type the following control to get into WebDriverAgent and Install carthage:
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent brew install carthage
npm i -g webpack
Step ix. Run Appium in control line
From in a higher place steps exercise 'cd' to get out of all subfolders and so type 'appium'
- cd
- appium
If everything works correct y'all should become the following line
[Appium] Welcome to Appium v1.half dozen.0-beta1
[Appium] Appium Remainder http interface listener started on 0.0.0.0:4723
GUI Installation of Appium in MAC
Follow the Same steps from command line tools from Step 1 to Step 6
Stride seven : Download Appium Desktop
→ Download Link : https://github.com/appium/appium-desktop/releases
Download the available version for your convenient as 'dmg' file, as my proposition don't go with the contempo release version there might be an event or problems will exist. So I'd adopt to go with the previous version of latest release version.
Stride 8 : Installation Appium Desktop
In one case installed Get to 'Application' and correct click on 'Appium Desktop' (What you lot take Downloaded and installed) to show packet contents. And so follow the subfolders to arrive
- Contents -> Resources -> app -> node_modules -> appium -> node_modules-> appium-xcuitest-commuter -> WebDriverAgent
Footstep 9 : Setup Webdriver Agent Server
In terminal do 'cd' space and elevate the WebDriverAgent folder and make sure that yous are in WebdriverAgent binder and follow the below command
mkdir -p Resources/WebDriverAgent.parcel ./Scripts/bootstrap.sh -d
Step x : Two pieces of software are currently necessary to run iOS tests on real devices:
Type 'cd' in terminal to become out of sub folders and follow the below commands mash install libimobiledevice — Head
mash install ideviceinstaller
mash install carthage
npm install -m ios-deployjewel install xcpretty
Stride 11 : Open WebDriverAgent.xcodeproj in Xcode. At present Get to WebDriverAgent binder as mentioned above in terminal and Open WebDriverAgent.xcodeproj in Xcode. For both the WebDriverAgentLib and WebDriverAgentRunner targets, select "Automatically manage signing" in the "General" tab, and then select your Development Team. This should too auto select Signing Ceritificate By going into the "Build Settings" tab, and changing the "Product Package Identifier" from com.facebook.WebDriverAgentRunner to something that 'com.twitter.WebDriverAgentRunner' and enter and so that Xcode will take Going back to the "Full general" tab for the WebDriverAgentRunner target, you should now come across that it has created a provisioning profile and all is well Refer below link for more information https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.doc Step 11 : Run WebDriverAgent on your existent device from Xcode -- In Xcode - Click on Product - Practice Test - Now yous would see webdriver amanuensis running on your connected device When finished running In terminal - in same webdriver Agent folder - Do the following Command past replacing the udid as device udid where udid can be taken from itunes by connecting device xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=<udid>' test If this was successful, the output should end with something like: Exam Suite 'All tests' started at 2017-01-23 15:49:12.585 Test Suite 'WebDriverAgentRunner.xctest' started at 2017-01-23 xv:49:12.586 Examination Suite 'UITestingUITests' started at 2017-01-23 15:49:12.587 Test Case '-[UITestingUITests testRunner]' started. t = 0.00s Beginning Test at 2017-01-23 15:49:12.588 t = 0.00s Set
Step 12 : If above works fine, then you tin can utilize your application and run for automation in real device.
— Get Full projection code from bitbucket and open in your Xcode and make sure code signing works fine.
— Now run the build from your Xcode in your device and once you successfully generated the build from your Xcode
— In xcode — Click on File -> Workspace Setting → above avant-garde carte — click on path derived data (Right arrow)
— At present you volition go the window popup displayed with recent binder as Derived Data -> Select appname…-> Bulid -> Products -> Debug-iphoneos-> ringlet to find the app with recent date and fourth dimension
— Copy the app and paste in your comfortable folder similar /Users/user/Documents/yourapp.app
NOTE : For More than clarification see the below video link
https://www.youtube.com/sentry?v=2_xHmofGgUE
Step xiii : Open Appium app
Now, you can open the Appium app from 'Awarding' and start the Server.
You can add the desired Capabilities
"platformName": "iOS", "platformVersion": "xi.0", "deviceName": "iPhone 7", "automationName": "XCUITest", "app": "/path/to/my.app"
Installation of appium in Mac for real device configuration Now yous can start the session and you able to meet the app gets launched and installed in your device and UI will get displayed.
Post Author Written and Executed by Siddarth
Appium 1.6 5 Download for Mac
Posted by: hardinthood1968.blogspot.com