{"id":70708,"date":"2017-01-06T15:44:50","date_gmt":"2017-01-06T15:44:50","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=70708"},"modified":"2017-01-06T16:13:24","modified_gmt":"2017-01-06T16:13:24","slug":"place-order-magento2-using-casperjs","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/","title":{"rendered":"How To Place An Order In Magento2 Using CasperJs"},"content":{"rendered":"<p>Manual testing is a boring task to do because in manual testing we perform the same task many times which is time-consuming. To overcome this problem, we can automate testing with the help CasperJs. CasperJs allows you to build full navigation scenarios using high-level functions and a straight forward interface to accomplish all sizes of tasks.<\/p>\n<p>In Magento there are various \u201crepetitive\u201d tasks to check such as customer registration process, customer log in to the account, adding different types of products to the shopping cart, checkout steps etc. These repetitive actions take a lot of time when we have done manually but now it can be done in few minutes by automation.<\/p>\n<p>For the customer sign-up <a href=\"http:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/\" target=\"_blank\">click here<\/a>. Now we\u2019ll proceed with the testing process. Here we\u2019ll learn how we can log in and place an order using CasperJs into a Magento2 store.<\/p>\n<p>The code procedure is as follows-<\/p>\n<p>Open home page of your Magento2 store, click on \u201cSign In\u201d link, open \u201cCustomer Login\u201d page to fill out the Email and Password, submit it, wait to be redirected to \u201cMy Account Dashboard&#8221; and then get url of the Dashboard page.<\/p>\n<p>Here we have used some CasperJs methods like-<\/p>\n<p><strong>click()<\/strong> method is used to click a link and buttons.<\/p>\n<p><strong>fill()<\/strong> method is used to fill the forms.<\/p>\n<p><strong>getCurrentUrl()<\/strong> is used to get the current page url.<\/p>\n<p><strong>echo()<\/strong> is used to print.<\/p>\n<p><strong>getTitle()<\/strong> is used to\u00a0get\u00a0Title of tha page.<\/p>\n<p><strong>wait() <\/strong>is used to wait for given amount of time.<\/p>\n<pre class=\"brush:js\">\/**\r\n* Webkul Software.\r\n*\r\n* @category Webkul\r\n* @package Webkul_CasperJS\r\n* @author Webkul\r\n* @copyright Copyright (c) 2010-2016 Webkul Software Private Limited (https:\/\/webkul.com)\r\n* @license https:\/\/store.webkul.com\/license.html\r\n*\/\r\n\r\nvar casper = require(\"casper\").create({\r\n  verbose: true\r\n});\r\n\r\nvar login = 'http:\/\/example.com\/magento\/customer\/account\/login\/'; \u00a0 \/\/ Enter Your Magento Customer Login URL\r\n\r\n\/\/Go to Login page\r\ncasper.start(login, function () {\r\n  this.echo('Current Page Title: ' + this.getTitle(), \"COMMENT\");\r\n});\r\n\r\n\/\/Login form fillup\r\ncasper.then(function () {\r\n  this.fill('form#login-form', {\r\n    'login[username]': 'example@xyz.com',\r\n    'login[password]': 'Xyz123'\r\n\r\n  }, false);\r\n});\r\n\r\n\/\/Click On Sign in button\r\ncasper.then(function () {\r\n  this.click('#send2');\r\n});\r\ncasper.wait(3000, function () {\r\n  this.echo('Current Page Title: ' + this.getTitle(), \"COMMENT\");\r\n  this.echo('Current location is: ' + this.getCurrentUrl(), \"PARAMETER\");\r\n});\r\n\r\n\/\/ Click On Category\r\ncasper.then(function () {\r\n  this.click('#ui-id-7');\r\n});\r\ncasper.wait(2000, function () {\r\n  this.echo('Category Name: ' + this.getTitle(), \"COMMENT\");\r\n});\r\n\r\n\/\/  Click On Simple Product\r\ncasper.then(function () {\r\n  this.click('#maincontent &gt; div.columns &gt; div.column.main &gt; div.products.wrapper.grid.products-grid &gt; ol &gt; li:nth-child(9) &gt; div &gt; a &gt; span &gt; span &gt; img');\r\n});\r\ncasper.wait(3000, function () {\r\n  this.echo('Product Name: ' + this.getTitle(), \"COMMENT\");\r\n});\r\n\r\n\/\/ Click On Add to cart button\r\ncasper.then(function () {\r\n  this.click('#product-addtocart-button');\r\n});\r\ncasper.wait(5000, function () {\r\n  this.echo(this.fetchText('#maincontent &gt; div.page.messages &gt; div:nth-child(2) &gt; div:nth-child(1) &gt; div'), \"INFO\");\r\n});\r\n\r\n\/\/ Call Cart Page\r\ncasper.thenOpen('http:\/\/example.com\/magento\/checkout\/cart\/'); \/\/ Enter Your Cart Page URL\r\ncasper.wait(2000, function () {\r\n  this.echo('Current Page Title: ' + this.getTitle(), \"COMMENT\");\r\n});\r\n\r\n\/\/ Click On Procced To Checkout Button\r\ncasper.then(function () {\r\n  this.click('#maincontent &gt; div.columns &gt; div &gt; div.cart-container &gt; div.cart-summary &gt; ul &gt; li:nth-child(1) &gt; button');\r\n});\r\ncasper.wait(5000, function () {\r\n  this.echo('Current location is: ' + this.getCurrentUrl(), \"PARAMETER\");\r\n});\r\n\r\n\/\/ Select Address\r\ncasper.wait(5000, function () {\r\n  this.click('#checkout-step-shipping &gt; div.field.addresses &gt; div &gt; div &gt; div:nth-child(2) &gt; button');\r\n});\r\n\r\n\/\/Click On Next Button \/\/ call payment page\r\ncasper.then(function () {\r\n  this.click('#shipping-method-buttons-container &gt; div &gt; button');\r\n});\r\ncasper.wait(2000, function () {\r\n  this.echo('Current Page Title: ' + this.fetchText('#payment &gt; div.step-title'), \"COMMENT\");\r\n});\r\n\r\n\/\/ Click on Proceed Button\r\ncasper.wait(8000, function () {\r\n  this.click('#checkout-payment-method-load &gt; div &gt; div.payment-method._active &gt; div.payment-method-content &gt; div.actions-toolbar &gt; div &gt; button');\r\n});\r\n\/\/ Success messgage \r\ncasper.wait(10000, function () {\r\n  this.echo(this.fetchText('#maincontent &gt; div.columns &gt; div &gt; div.checkout-success &gt; p:nth-child(1)'), \"INFO_BAR\");\r\n  this.echo('Current Page Title: ' + this.getTitle(), \"INFO_BAR\");\r\n});\r\n\r\ncasper.run();<\/pre>\n<p>Now you have to run a command on your terminal-<\/p>\n<p><strong>casperjs\u00a0your_file_name.js\u00a0<\/strong><\/p>\n<p>Here, you can see the result on your terminal \u2013<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-70822\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Selection_003-1.png\" alt=\"\" width=\"732\" height=\"258\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Selection_003-1.png 732w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Selection_003-1-250x88.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Selection_003-1-300x106.png 300w\" sizes=\"(max-width: 732px) 100vw, 732px\" loading=\"lazy\" \/><\/p>\n<p>After running the script you will get the Order Number and Success message on terminal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manual testing is a boring task to do because in manual testing we perform the same task many times which is time-consuming. To overcome this problem, we can automate testing with the help CasperJs. CasperJs allows you to build full navigation scenarios using high-level functions and a straight forward interface to accomplish all sizes of <a href=\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":132,"featured_media":70261,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,302],"tags":[3505,976,4310,4290,312,4309],"class_list":["post-70708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento","category-magento2","tag-casperjs","tag-login","tag-login-using-casperjs","tag-magento-automation","tag-order","tag-signin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Place An Order In Magento2 Using CasperJs - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Place An Order In Magento2 Using CasperJs - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Manual testing is a boring task to do because in manual testing we perform the same task many times which is time-consuming. To overcome this problem, we can automate testing with the help CasperJs. CasperJs allows you to build full navigation scenarios using high-level functions and a straight forward interface to accomplish all sizes of [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-06T15:44:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-06T16:13:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nitin Kesarwani\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nitin Kesarwani\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/\"},\"author\":{\"name\":\"Nitin Kesarwani\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/fd4cbeb3f727008f603e02f59a06803d\"},\"headline\":\"How To Place An Order In Magento2 Using CasperJs\",\"datePublished\":\"2017-01-06T15:44:50+00:00\",\"dateModified\":\"2017-01-06T16:13:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/\"},\"wordCount\":299,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\",\"keywords\":[\"casperjs\",\"login\",\"login using casperjs\",\"magento automation\",\"order\",\"SignIn\"],\"articleSection\":[\"magento\",\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/\",\"url\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/\",\"name\":\"How To Place An Order In Magento2 Using CasperJs - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\",\"datePublished\":\"2017-01-06T15:44:50+00:00\",\"dateModified\":\"2017-01-06T16:13:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Place An Order In Magento2 Using CasperJs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/fd4cbeb3f727008f603e02f59a06803d\",\"name\":\"Nitin Kesarwani\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/af0dd0ef20f3401b731cdd9df9900812e2272fef2a57c6c1123f2e2592ad7255?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/af0dd0ef20f3401b731cdd9df9900812e2272fef2a57c6c1123f2e2592ad7255?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Nitin Kesarwani\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/nitin-kesarwani723webkul-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Place An Order In Magento2 Using CasperJs - Webkul Blog","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:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/","og_locale":"en_US","og_type":"article","og_title":"How To Place An Order In Magento2 Using CasperJs - Webkul Blog","og_description":"Manual testing is a boring task to do because in manual testing we perform the same task many times which is time-consuming. To overcome this problem, we can automate testing with the help CasperJs. CasperJs allows you to build full navigation scenarios using high-level functions and a straight forward interface to accomplish all sizes of [...]","og_url":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-01-06T15:44:50+00:00","article_modified_time":"2017-01-06T16:13:24+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","type":"image\/png"}],"author":"Nitin Kesarwani","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Nitin Kesarwani","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/"},"author":{"name":"Nitin Kesarwani","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/fd4cbeb3f727008f603e02f59a06803d"},"headline":"How To Place An Order In Magento2 Using CasperJs","datePublished":"2017-01-06T15:44:50+00:00","dateModified":"2017-01-06T16:13:24+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/"},"wordCount":299,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","keywords":["casperjs","login","login using casperjs","magento automation","order","SignIn"],"articleSection":["magento","Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/","url":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/","name":"How To Place An Order In Magento2 Using CasperJs - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","datePublished":"2017-01-06T15:44:50+00:00","dateModified":"2017-01-06T16:13:24+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/place-order-magento2-using-casperjs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Place An Order In Magento2 Using CasperJs"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/fd4cbeb3f727008f603e02f59a06803d","name":"Nitin Kesarwani","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/af0dd0ef20f3401b731cdd9df9900812e2272fef2a57c6c1123f2e2592ad7255?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/af0dd0ef20f3401b731cdd9df9900812e2272fef2a57c6c1123f2e2592ad7255?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Nitin Kesarwani"},"url":"https:\/\/webkul.com\/blog\/author\/nitin-kesarwani723webkul-com\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/132"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=70708"}],"version-history":[{"count":6,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70708\/revisions"}],"predecessor-version":[{"id":70826,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70708\/revisions\/70826"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/70261"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=70708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=70708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=70708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}