{"id":40437,"date":"2016-09-14T18:58:25","date_gmt":"2016-09-14T13:28:25","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=40437"},"modified":"2016-09-19T12:18:01","modified_gmt":"2016-09-19T06:48:01","slug":"mobile-web-automation-using-protractor","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/","title":{"rendered":"Mobile Web Automation using Protractor"},"content":{"rendered":"<p>Protractor is an end-to-end <a title=\"automation testing services\" href=\"https:\/\/tothenewco.pro\/testing\/automated-independent-manual-testing\">automation testing<\/a> framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of mobile application:<\/p>\n<ul>\n<li>Native<\/li>\n<li>Mobile Web<\/li>\n<li>Hybrid application<\/li>\n<\/ul>\n<p><strong>Step-by-Step Installation<\/strong><\/p>\n<p><strong>Step 1:-<\/strong> Download &amp; install the Chrome browser in the system where we run our test.<\/p>\n<p><strong>Step 2:-<\/strong> Download the \u2018Recommended For Most Users\u2019 one Node.js and then install it.<\/p>\n<p><strong>Step 3:-<\/strong> Now we need to check whether Node.js is installed correctly or not on our machine<\/p>\n<p>Open console window and type <strong>npm &#8211;version<\/strong> [This will display the npm version]<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-40438 size-full aligncenter\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/img1_prot.png\" alt=\"Blog image\" width=\"553\" height=\"152\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img1_prot.png 553w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img1_prot-300x82.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/p>\n<p><strong>Step 4:-<\/strong> To install Protractor, type <strong>npm install \u2013g protractor <\/strong>[This command globally installs the Protractor using node package manager]<\/p>\n<p>Type <strong>protractor &#8211;version<\/strong> [This will display the Protractor version]<\/p>\n<p>Type <strong>npm -g list<\/strong> [This will give all the nodes which you have installed]<\/p>\n<p><strong>Step 5:- <\/strong>Install and set up Java<\/p>\n<p>Type <strong>java -version<\/strong> [You will get the java version]<\/p>\n<p><strong>Step 6:-<\/strong> Setting up a Selenium Server<\/p>\n<p>Type <strong>webdriver-manager update<\/strong> [This is for updating the Chrome driver]<\/p>\n<p>Type <strong>webdriver-manager start<\/strong> [This command will start up a Selenium Server and will output a cluster of data logs]<\/p>\n<p><strong>Step 7:- <\/strong>To install Appium through NPM type <strong>npm install -g appium<\/strong><\/p>\n<p><strong>Step 8:-<\/strong> Download Appium on your system<\/p>\n<p>Install it by clicking on appium-installer.exe than launch Appium.<\/p>\n<p><strong>Step 9:-<\/strong> Attach mobile device with your system and check that whether the device is attached or not with the help of command<strong>\u00a0adb devices <\/strong>on the command prompt window.<\/p>\n<p><strong>Setup conf.js File<\/strong><\/p>\n<p>Normally, Protractor runs test on localhost:4444. However, we need Protractor to connect with Appium which runs test on localhost:4723<\/p>\n<p>Some capabilities must be set in the conf.js to make sure Appium can connect to your device which are given below:<\/p>\n<ul>\n<li><strong>appium-version: <\/strong>Version of Appium tool.<\/li>\n<li><strong>platformName:<\/strong>\u00a0Name of the device OS platform wants to utilize<\/li>\n<li><strong>platformVersion:<\/strong>\u00a0Name of the device OS version wants to use<\/li>\n<li><strong>deviceName:\u00a0<\/strong>Actual device number or name which is connected to our system.<\/li>\n<\/ul>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-40439 size-full aligncenter\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/img2_prot.png\" alt=\"Blog image\" width=\"697\" height=\"494\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img2_prot.png 697w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img2_prot-300x212.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img2_prot-624x442.png 624w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/p>\n<p><strong>A Use Case<\/strong><\/p>\n<ol>\n<li>Go to \u2018Contact Us\u2019 page<\/li>\n<li>Enter all the valid credentials in the Request for services form leaving behind the \u2018Requirement\u2019 field<\/li>\n<li>Click on the \u2018Talk to Us\u2019 Button<\/li>\n<li>Verify the error message.<\/li>\n<\/ol>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-40440 aligncenter\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/img3_prot-161x300.png\" alt=\"img3_prot\" width=\"161\" height=\"300\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img3_prot-161x300.png 161w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img3_prot.png 391w\" sizes=\"auto, (max-width: 161px) 100vw, 161px\" \/><\/p>\n<p><strong>Our First Test Script<\/strong><\/p>\n<p>Following is the code piece for our use case.<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-40441 size-full aligncenter\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/img4_prot.png\" alt=\"Blog image\" width=\"962\" height=\"282\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img4_prot.png 962w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img4_prot-300x87.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/img4_prot-624x182.png 624w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/p>\n<p>As my application is non-angularJS for that I\u2019m using the following command in my script <em>browser.ignoreSynchronization = true;<\/em><\/p>\n<p>In this test script, in order to click the button we are using the script:\u00a0<em>element(by.css(&#8216;[id=&#8221;edit-submit&#8221;]&#8217;)); <\/em><\/p>\n<p>In our mobile device web application, the HTML Code for the button is:\u00a0<em>&lt;input data-drupal-selector=&#8221;edit-submit&#8221; type=&#8221;submit&#8221; id=&#8221;edit-submit&#8221; name=&#8221;op&#8221; value=&#8221;Talk to Us&#8221; class=&#8221;button js-form-submit form-submit&#8221;&gt;<\/em><\/p>\n<p><strong>Types of Locators<\/strong><\/p>\n<p>A locator directly helps Protractor to identify elements. Following is the list of locators we can use:<\/p>\n<ol>\n<li>Find an element utilizing a CSS selector <em>css(&#8216;.myclass&#8217;)<\/em><\/li>\n<li>Find an element with a specified id <em>id(&#8216;myid&#8217;)<\/em><\/li>\n<li>Find an element with a specific ng-model <em>model(&#8216;name&#8217;)<\/em><\/li>\n<li>Find an element bound to a given variable <em>binding(&#8216;bindingname&#8217;)<\/em><\/li>\n<\/ol>\n<p><strong>Run the Test Script<\/strong><\/p>\n<ul>\n<li>Once all the above steps are completed. Open a new console window and give the path of the test script \u2018AppData\\Roaming\\npm\\node_modules\\protractor\\example\u2019.<\/li>\n<li>Run the script with <strong>protractor conf.js<\/strong><\/li>\n<\/ul>\n<p>As the script runs, the Chrome browser window will maximize on the mobile device and will be navigated to the <a href=\"https:\/\/tothenewco.pro\/contact-us\">TO THE NEW contact us page<\/a>, automatically details in the \u2018Request for Service\u2019 form will be filled and \u2018Talk to Us\u2019 button will be clicked and with that the browser closes itself.<\/p>\n<p>The protractor automation tool is specially designed for <a title=\"Angularjs development\" href=\"https:\/\/tothenewco.pro\/front-end-angularjs-development\">AngularJS application<\/a>, but we can also use this tool to test the non-AngularJS application.<\/p>\n<p><strong>HAPPY TESTING!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of [&hellip;]<\/p>\n","protected":false},"author":107,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":17,"footnotes":""},"categories":[1818,1816],"tags":[1561,4851],"class_list":["post-40437","post","type-post","status-publish","format-standard","hentry","category-automation-testing-testing-2","category-testing-2","tag-automation-testing","tag-mobility"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kimi Agarwal\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Mobile Web Automation using Protractor | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Mobile Web Automation using Protractor | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#article\",\"name\":\"Mobile Web Automation using Protractor | TO THE NEW Blog\",\"headline\":\"Mobile Web Automation using Protractor\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kimi-agarwal\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2016\\\/09\\\/img1_prot.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#articleImage\"},\"datePublished\":\"2016-09-14T18:58:25+05:30\",\"dateModified\":\"2016-09-19T12:18:01+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#webpage\"},\"articleSection\":\"Automation Testing, Testing, automation testing, Mobility\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/testing-2\\\/#listItem\",\"name\":\"Testing\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/testing-2\\\/#listItem\",\"position\":2,\"name\":\"Testing\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/testing-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#listItem\",\"name\":\"Mobile Web Automation using Protractor\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#listItem\",\"position\":3,\"name\":\"Mobile Web Automation using Protractor\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/testing-2\\\/#listItem\",\"name\":\"Testing\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kimi-agarwal\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kimi-agarwal\\\/\",\"name\":\"Kimi Agarwal\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-secured-prod.tothenew.com\\\/public\\\/profilePic\\\/f15afc6e-54af-495d-adde-8ce632ec0f53.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Kimi Agarwal\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/\",\"name\":\"Mobile Web Automation using Protractor | TO THE NEW Blog\",\"description\":\"Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/mobile-web-automation-using-protractor\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kimi-agarwal\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kimi-agarwal\\\/#author\"},\"datePublished\":\"2016-09-14T18:58:25+05:30\",\"dateModified\":\"2016-09-19T12:18:01+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Mobile Web Automation using Protractor | TO THE NEW Blog","description":"Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of","canonical_url":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#article","name":"Mobile Web Automation using Protractor | TO THE NEW Blog","headline":"Mobile Web Automation using Protractor","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/kimi-agarwal\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/img1_prot.png","@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#articleImage"},"datePublished":"2016-09-14T18:58:25+05:30","dateModified":"2016-09-19T12:18:01+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#webpage"},"articleSection":"Automation Testing, Testing, automation testing, Mobility"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/testing-2\/#listItem","name":"Testing"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/testing-2\/#listItem","position":2,"name":"Testing","item":"https:\/\/tothenewco.pro\/blog\/category\/testing-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#listItem","name":"Mobile Web Automation using Protractor"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#listItem","position":3,"name":"Mobile Web Automation using Protractor","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/testing-2\/#listItem","name":"Testing"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/kimi-agarwal\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/kimi-agarwal\/","name":"Kimi Agarwal","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#authorImage","url":"https:\/\/newersworld-secured-prod.tothenew.com\/public\/profilePic\/f15afc6e-54af-495d-adde-8ce632ec0f53.jpeg","width":96,"height":96,"caption":"Kimi Agarwal"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/","name":"Mobile Web Automation using Protractor | TO THE NEW Blog","description":"Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/kimi-agarwal\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/kimi-agarwal\/#author"},"datePublished":"2016-09-14T18:58:25+05:30","dateModified":"2016-09-19T12:18:01+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Mobile Web Automation using Protractor | TO THE NEW Blog","og:description":"Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of","og:url":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Mobile Web Automation using Protractor | TO THE NEW Blog","twitter:description":"Protractor is an end-to-end automation testing framework tool. To test Angular web page on a mobile device, we have to use the Appium with Protractor to perform our E2E testing. Both Appium and Protractor are open-source automation testing tool. Appium provides a bridge between a system and a mobile device. It supports three types of","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"40437","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 14:07:39","updated":"2024-02-29 09:04:14","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/testing-2\/\" title=\"Testing\">Testing<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMobile Web Automation using Protractor\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Testing","link":"https:\/\/tothenewco.pro\/blog\/category\/testing-2\/"},{"label":"Mobile Web Automation using Protractor","link":"https:\/\/tothenewco.pro\/blog\/mobile-web-automation-using-protractor\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/40437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/107"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=40437"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/40437\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=40437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=40437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=40437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}