Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is difference between Selenium and Appium?

I can not see the exact difference between Selenium and Appium. Both of these server and framework is it right?

But I see lots of codes in github, when use appium, but the sample code contains of only selenium webdriver elements. Please somebody inform me about two tools. So we use appium and selenium together?

Thank you,

like image 776
ktom Avatar asked Feb 07 '16 12:02

ktom


Video Answer


2 Answers

Basic difference between selenium and appium

Appium :

  1. It is used in mobile application(android & ios).
  2. Having specific driver eg : AndroidDriver and IOSDriver

If you want to run automation below 17 api in android you have to use selendroid for it.

Selenium :

  1. It is used for mobile web application.
  2. It is having web driver which runs on web application.

Common Things :

  1. Both are opensource.
  2. Both can be customize.
  3. Both use Json-Wire protocol.

for details refer https://www.quora.com/Which-one-is-better-Selenium-or-Appium-for-app-testing

like image 54
Jitesh Mohite Avatar answered Oct 01 '22 05:10

Jitesh Mohite


Appium is a casing for Selenium to test native apps (IOS and Android). From Appium introduction

...wrapping the vendor-provided frameworks in one API, the WebDriver API. WebDriver (aka "Selenium WebDriver") specifies a client-server protocol (known as the JSON Wire Protocol). ...In other words, Appium & WebDriver clients are not technically "test frameworks" -- they are "automation libraries".

...WebDriver has become the de facto standard for automating web browsers, and is a W3C Working Draft. Why do something totally different for mobile? Instead we have extended the protocol with extra API methods useful for mobile automation.

like image 38
Guy Avatar answered Oct 01 '22 07:10

Guy