{"id":69498,"date":"2019-12-30T16:27:29","date_gmt":"2019-12-30T10:57:29","guid":{"rendered":"https:\/\/www.vskills.in\/certification\/tutorial\/?p=69498"},"modified":"2024-04-12T14:21:50","modified_gmt":"2024-04-12T08:51:50","slug":"learning-appium-concepts","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/","title":{"rendered":"Learning Appium Concepts"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.vskills.in\/certification\/tutorial\/mobile-testing-appium-tutorials\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go back to tutorial<\/a><\/p>\n\n\n<h1><strong>Learning Appium Concepts<\/strong><\/h1>\n<p>We begin by learning the basic appium concepts to get a hands holds experience. Lets get started.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png\" alt=\"Image result for appium concepts\"><\/p>\n<p><strong>Client\/Server Architecture<\/strong><\/p>\n<p>Appium is at its heart a webserver that exposes a REST API. It receives connections from a client, listens for commands, executes those commands on a mobile device. Further responds with an HTTP response representing the result of the command execution. Benefits offered by client\/server architecture includes &#8211;<\/p>\n<ul>\n<li>Firstly, we can write our test code in any language that has a http client API<\/li>\n<li>Secondly, we can put the server on a different machine than our tests are running on.<\/li>\n<li>Also, we can write test code and rely on a cloud service like Sauce Labs to receive and interpret the commands.<\/li>\n<\/ul>\n<p><strong>Session<\/strong><\/p>\n<p>Remember, automation is always performed in the context of a session. In which case, the clients initiates a session with a server in ways specific to each library. However, they all end up sending a POST \/session request to the server, with a JSON object called the &#8216;desired capabilities&#8217; object. Now, at this point the server will start up the automation session and respond with a session ID used for sending further commands.<\/p>\n<p><strong>Desired Capabilities<\/strong><\/p>\n<p>Desired capabilities are a set of keys and values (i.e., a map or hash) sent to the Appium server. The primary objective is to tell the server the kind of automation session you may be interested in starting up. Moreover, there are various capabilities which can modify the behavior of the server during automation.<\/p>\n<p><strong>Appium Server<\/strong><\/p>\n<p>Appium is a server written in Node.js. In general, you can build and install from source or installed directly from NPM:<\/p>\n<p>$ npm install -g appium<\/p>\n<p>$ appium<\/p>\n<p>The beta of Appium is available via NPM with npm install -g appium@beta. Correspondingly, it is the development version so it might have breaking changes. Remember to uninstall appium@beta (npm uninstall -g appium@beta) before installing new versions in order to have a clean set of dependencies.<\/p>\n<p><strong>Appium Clients<\/strong><\/p>\n<p>You may come across client libraries (in Java, Ruby, Python, PHP, JavaScript, and C#) that supports Appium extensions to the WebDriver protocol. Therefore, it is suggested to use these client libraries instead of your regular WebDriver client, while using Appium.<\/p>\n<p><strong>Appium Desktop<\/strong><\/p>\n<p>We can download the Appium server for any platform, with a GUI wrapper around it. Further, it comes bundled with everything required to run the Appium server, so you don&#8217;t need to worry about Node. Also, it also comes with an Inspector, that enables you to check out the hierarchy of your app. This can come in handy when writing tests.<\/p>\n<h4><\/h4>\n<h4><strong>Boost your chances for better job opportunities. Practice and Prepare for&nbsp;<a href=\"https:\/\/www.vskills.in\/certification\/testing\/mobile-testing-appium-professional\">Mobile Testing (Appium) Exam<\/a>&nbsp;Now!<\/strong><\/h4>\n\n\n<p><a href=\"https:\/\/www.vskills.in\/certification\/tutorial\/mobile-testing-appium-tutorials\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go back to tutorial<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go back to tutorial Learning Appium Concepts We begin by learning the basic appium concepts to get a hands holds experience. Lets get started. Client\/Server Architecture Appium is at its heart a webserver that exposes a REST API. It receives connections from a client, listens for commands, executes those commands on a mobile device. Further&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[7891],"tags":[7953],"class_list":["post-69498","page","type-page","status-publish","hentry","category-mobile-testing-appium","tag-appium-concepts"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Learning Appium Concepts - Mobile Testing - Tutorial<\/title>\n<meta name=\"description\" content=\"Get ready to qualify your skills and qualify for better opportunities. Practice and Prepare Basic Appium Concepts to get certified Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learning Appium Concepts - Mobile Testing - Tutorial\" \/>\n<meta property=\"og:description\" content=\"Get ready to qualify your skills and qualify for better opportunities. Practice and Prepare Basic Appium Concepts to get certified Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vskills.in\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-12T08:51:50+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/\",\"name\":\"Learning Appium Concepts - Mobile Testing - Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png\",\"datePublished\":\"2019-12-30T10:57:29+00:00\",\"dateModified\":\"2024-04-12T08:51:50+00:00\",\"description\":\"Get ready to qualify your skills and qualify for better opportunities. Practice and Prepare Basic Appium Concepts to get certified Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#primaryimage\",\"url\":\"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png\",\"contentUrl\":\"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learning Appium Concepts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"name\":\"Tutorial\",\"description\":\"Vskills - A initiative in elearning and certification\",\"publisher\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\",\"name\":\"Vskills\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"width\":73,\"height\":55,\"caption\":\"Vskills\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vskills.in\/\",\"https:\/\/x.com\/vskills_in\",\"https:\/\/www.linkedin.com\/company-beta\/1371554\/\",\"https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learning Appium Concepts - Mobile Testing - Tutorial","description":"Get ready to qualify your skills and qualify for better opportunities. Practice and Prepare Basic Appium Concepts to get certified Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/","og_locale":"en_US","og_type":"article","og_title":"Learning Appium Concepts - Mobile Testing - Tutorial","og_description":"Get ready to qualify your skills and qualify for better opportunities. Practice and Prepare Basic Appium Concepts to get certified Now!","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2024-04-12T08:51:50+00:00","og_image":[{"url":"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png","type":"","width":"","height":""}],"twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/","name":"Learning Appium Concepts - Mobile Testing - Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#primaryimage"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#primaryimage"},"thumbnailUrl":"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png","datePublished":"2019-12-30T10:57:29+00:00","dateModified":"2024-04-12T08:51:50+00:00","description":"Get ready to qualify your skills and qualify for better opportunities. Practice and Prepare Basic Appium Concepts to get certified Now!","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#primaryimage","url":"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png","contentUrl":"http:\/\/tekslate.com\/wp-content\/uploads\/2016\/06\/Capture.1357.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/learning-appium-concepts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Learning Appium Concepts"}]},{"@type":"WebSite","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","name":"Tutorial","description":"Vskills - A initiative in elearning and certification","publisher":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization","name":"Vskills","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","width":73,"height":55,"caption":"Vskills"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vskills.in\/","https:\/\/x.com\/vskills_in","https:\/\/www.linkedin.com\/company-beta\/1371554\/","https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw"]}]}},"_links":{"self":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/69498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/comments?post=69498"}],"version-history":[{"count":7,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/69498\/revisions"}],"predecessor-version":[{"id":84576,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/69498\/revisions\/84576"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=69498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=69498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=69498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}