Appium : Architecture and Installation Steps - Windows
Appium is a open source tool to automate Mobile applications
Can automate Native,Web and Hybrid mobile applications
----------------------
Native application--calulate,calender or camera app(native to device)
Mobile application-- Ipay cash point(mobile browser- chrome )
Hybrid applications-- combination of both
Supports Andriod, IOS and window desktop platforms
Open sourse platform
---------------
History
Appium was originally developed by Dan Cuellar in 2011 under the name of "IOSAuto", written in the c# Programming Language
The program was open source in Aug 2012 using the Apache 2 licence
-----------------
Design:
-Appium use webdriver Script libary (we write our scripts using webdriver libary -scripts)
-Json Wire protocal our scripts will converted into HTTP rest based request which
can be understand by HTTP server(node.js)
- Http server runs this request in Mobile apps
-----------
Framework'; vendor specific drivers
IOS 9.3 and above : Apple's XCUITest driver
IOS 9.3 and lower : Apple's UIAutomation driver
Andriod 4.2+ - google's UIautomator/UIAutomator2 driver
Andriod 2.3 through 4.2- --> selendriod driver
windows:winappDriver
-----------
Appium client Libraries-
Ruby,Python,Java,JavaScript,PHP,C#,RobotFramework
-----------
How Appium works?
-Appium works in a client -server architecture
-Appium is an HTTP server written using- node.js platform
Desired Capabilities:
Desired capabilities are a set of keys and values sent to the
Appium Server to tell the server what kind of automation
session we're interested in starting up
PlatformName
PlatformVersion
DeviceName
App
automationName
------------------------------------------------------
1. How to install appium with node.js 2. How to install appium with with Appium Desktop Client 3. How to check installation & dependencies (appium-doctor) 4. How to uninstall appium http://appium.io/ Step 1 : Check if node is installed on your system node -v Step 2 : Install node.js https://nodejs.org/en/download/ https://brew.sh/ brew install node Step 3 : Check if node is installed node -v npm -v Step 4 : Install appium npm install -g appium Step 5 : Check appium is installed appium -v Step 6 : Start appium appium Installing appium with appium desktop client Step 1 : Download appium desktop client - http://appium.io/ https://github.com/appium/appium-desktop Step 2 : Double click on the .dmg file to install appium desktop client Step 3 : Start appium desktop client Appium-Doctor https://www.npmjs.com/package/appium-... https://github.com/appium/appium-doctor npm install appium-doctor -g How to uninstall appium If installed through node.js npm uninstall -g appium If installed Appium Desktop Client Delete the app
15 steps Installation Guide download
15 Step by Step Instructions to Configure and run Mobile Automation Testcases using Appium
- Download Java and set Java_Home in environmental variables
- Download Android STUDIO from below link
- https://developer.android.com/studio/index.html
- Check Android installation path in Machine
- Set Android_Home Environmental variables path to SDK location and include bin folder paths in PATH variable
- Open Android Studio and configure Virtual device/Emulator
- Open Emulator and check if it is working.
- Download Node.js
- https://nodejs.org/en/download/
- Set Node_Home Environmental variables path
- Set npm Environmental variables path
- Download Appium Server from Node
- Download Appium and Selenium Java client library
- Install Eclipse – Create a Project in Eclipse - configure Appium libraries
- Start Appium Server-
//Client - Appium java client
//Server - Appium Server
ALL SET GOOOOO
//You can download any node module only using npm
1.1
npm install – g appium – Latest Stable release version 1.6.9 – Android 7 version
npm uninstall -g appium
//npm install -g appium@beta --no-shrinkwrap
Appium – starts the server
- -2.1 – Android 11
appium
Hi,
ReplyDeleteI have been trading in stocks using Flattrade and I am really happy with the experience. They charge a flat free of ₹10 for trading and Zero brokerage on all equity delivery. More importantly, Flattrade gives you a stable trading experience on its advanced Mobile, web and windows platforms. Use the below link to open FREE demat account.https://flattrade.in/ and investing in IPO is totally free https://flattrade.in/kosh/upcoming-ipos-2021