Appium with C# :Session1 : Appium Installation on Microsoft visual studio

Appium Introduction:



Now a days mobile is playing an important role to day to day life.  The concept of web page automation already old .Now time for mobile application automation.We can automate native apps , Hybrid apps & Web apps.
Appium is “cross-platform”: it allows you to write tests against multiple platforms (iOS, Android), using the same API. This enables code reuse between iOS and Android test suites.
You shouldn’t be locked into a specific language or framework to write and run your tests.
You shouldn’t have to recompile your app or modify it in any way in order to automate it.
  1. Rootium Android Testing Tool
  1. MonkeyRunner Android App Testing
  1.  Ranorex Android Application Testing Tool
  1. UI Automator for Android Test Automation
  1. Calabash
  1. Appium

You can write tests with your favorite dev tools using any WebDriver compatible language such as Java, Objective-C, JavaScript with Node.js PHP, Python, Ruby, C#, Clojure, or Perl with the Selenium WebDriver API and language-specific client libraries
In market different kinds of mobile  automation tool is available like




As we know Appium is an open source for mobile automation.We can use for  both Android and iOS mobile automation.
We can automate different kinds of mobile  application using appium like native apps, Hybrid apps, Web Apps.
It supports many programming languages, such as Java, C#, Ruby and other which are in the WebDriver library.

Appium Set up  with Microsoft visual studio:
Need to install:
1. Microsoft visual studio
2. Andriod SDK
3. Appium
Open Microsoft visual studio


Then Go to File => New=> Project



3. Select project as console Application and rename the project.

Then Go to solution explorer & right click on your project.Then click on "manage Nugate packages".



4. Go to search tab and search for Appium .Then Appium webdriver will dispaly . Install the appium 
webdriver. 
 Note: No need to install selenium separately.



After installing You can verify Appium dotnet driver under references.



Connect emulator or real device. then start appium session and verify the below details:

> Launching Appium server with command: C:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --platform-name Android --platform-version 23 --automation-name Appium --device-name "emulator-5554" --log-no-color
> info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
> info: Appium REST http interface listener started on 127.0.0.1:4723
> info: [debug] Non-default server args: {"address":"127.0.0.1","logNoColors":true,"deviceName":"emulator-5554","platformName":"Android","platformVersion":"23","automationName":"Appium"}
> info: Console LogLevel: debug






Copyright © 2017 qatoolsguide.blogspot.com || ALL RIGHTS RESERVED