{"id":144067,"date":"2018-09-22T10:45:14","date_gmt":"2018-09-22T10:45:14","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=144067"},"modified":"2021-07-16T12:32:56","modified_gmt":"2021-07-16T12:32:56","slug":"how-to-create-mftf-for-custom-module-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/","title":{"rendered":"How to create MFTF for custom module in magento 2"},"content":{"rendered":"\n<p>In this blog we are creating MFTF test case for Grid module in Magento 2. You can check&nbsp;<a href=\"https:\/\/webkul.com\/blog\/magento2-functional-testing-mftf\/\" rel=\"noopener\">Functional Test<\/a>&nbsp;blog link for basic understanding of MFTF.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Requirement for MFTF<\/h3>\n\n\n\n<p>1- Selenium Server Standalone jar file<br>2- Chrome Driver<br>3- Magento2 latest version(2.2.4 and above)<\/p>\n\n\n\n<p>You can download Selenium Server jar file and Chrome Drive from&nbsp;<a href=\"https:\/\/www.seleniumhq.org\/download\/\" rel=\"noopener\">link<\/a>&nbsp;.<\/p>\n\n\n\n<p><strong>Prepare Magento for MFTF&nbsp;<\/strong><\/p>\n\n\n\n<p>1. Selenium server can&#8217;t enter data in editor so&nbsp;<strong>WYSIWYG setting Disabled Completely<\/strong> from your admin panel.<\/p>\n\n\n\n<p>2.&nbsp;Disable the <strong>Add Secret Key<\/strong> setting&nbsp;from your admin panel.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-install-dependencies\">Install dependencies<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;span class=&quot;nb&quot;&gt; cd &lt;\/span&gt;magentoRoot\/dev\/tests\/acceptance<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\"> composer install<\/pre>\n\n\n\n<p><strong>=&gt;<\/strong> Put Selenium Server jar file and Chrome Drive in a folder.<\/p>\n\n\n\n<p><strong>=&gt;<\/strong> Edit .env file on MagentoRoot\/dev\/tests\/acceptance directory.<br><strong>Example :-<\/strong><br>MAGENTO_BASE_URL=http:\/\/magento.test<br>MAGENTO_BACKEND_NAME=admin<br>MAGENTO_ADMIN_USERNAME=admin<br>MAGENTO_ADMIN_PASSWORD=123123q<\/p>\n\n\n\n<p>=&gt; Run command <strong>&#8220;vendor\/bin\/robo build:project&#8221;<\/strong> on <strong>MagentoRoot\/dev\/tests\/acceptance<\/strong> location.<\/p>\n\n\n\n<p>=&gt; Run Selenium server command <strong>&#8220;java -jar &lt;selenium server name&gt;&#8221;<\/strong><\/p>\n\n\n\n<p><strong>=&gt;<\/strong> Open <strong>http:\/\/127.0.0.1:4444\/wd\/hub\/static\/resource\/hub.html<\/strong> link on chrome browser and set session of chrome browser.<\/p>\n\n\n\n<p>You can put the MFTF test cases inside your custom module at <strong>{Magento_Root}\/app\/code\/Company\/TestModule\/Test\/Mftf\/<\/strong> location:<\/p>\n\n\n\n<p>Now we are starting how to create test case of Grid module. Firstly we need to install grid module<br>(<a href=\"https:\/\/github.com\/webkulabhi\/magento2-create-admin-grid-CURD-operations\" rel=\"noopener\">Grid module Code<\/a>).<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Create test case on GridTest.xml on&nbsp;{Magento_Root}\/app\/code\/Company\/TestModule\/Test\/Mftf\/Test\/ location.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted brush:xml\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;tests xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\n       xsi:noNamespaceSchemaLocation=\"..\/..\/..\/..\/..\/..\/..\/dev\/tests\/acceptance\/vendor\/magento\/magento2-functional-testing-framework\/src\/Magento\/FunctionalTestingFramework\/Test\/etc\/testSchema.xsd\"&gt;\n    &lt;test name=\"GridTest\"&gt;\n        &lt;annotations&gt;\n            &lt;features value=\"Grid module test case.\"\/&gt;\n            &lt;stories value=\"Add new row\/delete row\"\/&gt;\n            &lt;title value=\"Grid module test case.\"\/&gt;\n            &lt;description value=\"Grid module test case create.\"\/&gt;\n            &lt;severity value=\"CRITICAL\"\/&gt;\n            &lt;testCaseId value=\"MAGETWO-71195\"\/&gt;\n            &lt;group value=\"grid\"\/&gt;\n        &lt;\/annotations&gt;\n        &lt;!--Login admin --&gt;\n        &lt;actionGroup ref=\"LoginAsAdmin\" stepKey=\"loginAsAdmin1\"\/&gt; \n        &lt;!--Open Grid list page --&gt;\n        &lt;amOnPage url=\"{{AdminGridPage.url}}\" stepKey=\"gridListPageOpen\"\/&gt;\n        &lt;wait time=\"2\" stepKey=\"gridListPageLoad\"\/&gt;\n        &lt;!--Click on grid add button--&gt;\n        &lt;click stepKey=\"addBtn\" selector=\"{{AdminGridSection.addBtn}}\"\/&gt;\n        &lt;wait time=\"5\" stepKey=\"addRowPageOpen\"\/&gt;\n        &lt;!--Grid data fill and save --&gt;\n        &lt;fillField userInput=\"{{GridData.title}}\" selector=\"{{AdminGridSection.gridTitle}}\" stepKey=\"gridTitle\"\/&gt;\n        &lt;fillField userInput=\"{{GridData.content}}\" selector=\"{{AdminGridSection.gridContent}}\" stepKey=\"gridContent\"\/&gt;  \n        &lt;fillField userInput=\"{{GridData.publishDate}}\" selector=\"{{AdminGridSection.publishDate}}\" stepKey=\"publishDate\"\/&gt;  \n        &lt;selectOption userInput=\"{{GridData.gridStauts}}\" selector=\"{{AdminGridSection.gridStauts}}\" stepKey=\"gridStauts\"\/&gt;  \n        &lt;click stepKey=\"save\" selector=\"{{AdminGridSection.save}}\"\/&gt;\n        &lt;wait time=\"5\" stepKey=\"gridDataSave\"\/&gt;\n    &lt;\/test&gt;\n&lt;\/tests&gt;\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Create page on AdminGridPage.xml on&nbsp;{Magento_Root}\/app\/code\/Company\/TestModule\/Test\/Mftf\/Page\/ location.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted brush:xml\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n &lt;pages xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\n        xsi:noNamespaceSchemaLocation=\"..\/..\/..\/..\/..\/..\/vendor\/magento\/magento2-functional-testing-framework\/src\/Magento\/FunctionalTestingFramework\/Page\/etc\/PageObject.xsd\"&gt;\n    &lt;page name=\"AdminGridPage\" url=\"\/grid\/grid\/\" area=\"admin\" module=\"Magento_Grid\"&gt;\n    &lt;\/page&gt;\n&lt;\/pages&gt;\n\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Create test section on AdminGridSection.xml on&nbsp;{Magento_Root}\/app\/code\/Company\/TestModule\/Test\/Mftf\/Section\/ location.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted brush:xml\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;sections xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\n        xsi:noNamespaceSchemaLocation=\"..\/..\/..\/..\/..\/..\/..\/dev\/tests\/acceptance\/vendor\/magento\/magento2-functional-testing-framework\/src\/Magento\/FunctionalTestingFramework\/Page\/etc\/SectionObject.xsd\"&gt;\n    &lt;section name=\"AdminGridSection\"&gt;\n        &lt;element name=\"addBtn\" type=\"button\" selector=\"#add\" \/&gt;\n        &lt;element name=\"gridTitle\"  type=\"input\" selector=\"#wkgrid_title\"\/&gt;\n        &lt;element name=\"gridContent\"  type=\"input\" selector=\"#wkgrid_content\"\/&gt;\n        &lt;element name=\"publishDate\"  type=\"input\" selector=\"#wkgrid_publish_date\"\/&gt;\n        &lt;element name=\"gridStauts\"  type=\"input\" selector=\"#wkgrid_is_active\"\/&gt;\n        &lt;element name=\"save\"  type=\"button\" selector=\"#save\"\/&gt;\n    &lt;\/section&gt;\n&lt;\/sections&gt;<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Create test section on GridData.xml on&nbsp;{Magento_Root}\/app\/code\/Company\/TestModule\/Test\/Mftf\/Data\/ location.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted brush:xml\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;entities xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\n        xsi:noNamespaceSchemaLocation=\"..\/..\/..\/..\/..\/..\/..\/dev\/tests\/acceptance\/vendor\/magento\/magento2-functional-testing-framework\/src\/Magento\/FunctionalTestingFramework\/DataGenerator\/etc\/dataProfileSchema.xsd\"&gt;\n    &lt;entity name=\"GridData\" type=\"product\"&gt;\n        &lt;data key=\"title\"&gt;New grid&lt;\/data&gt;\n        &lt;data key=\"content\"&gt;An electrical grid is an interconnected network&lt;\/data&gt;\n        &lt;data key=\"publishDate\"&gt;09\/26\/2018 8:23:03&lt;\/data&gt;\n        &lt;data key=\"gridStauts\"&gt;1&lt;\/data&gt;\n   &lt;\/entity&gt;\n&lt;\/entities&gt;\n<\/pre>\n\n\n\n<p>Test case of grid module has been done.Now we run this test case using both command <strong>&#8220;vendor\/bin\/robo generate:tests&#8221;<\/strong> and <strong>&#8220;vendor\/bin\/codecept run functional &#8211;group grid&#8221;<\/strong> on <strong>dev\/tests\/acceptance\/<\/strong> location.<\/p>\n\n\n\n<p>Thanks \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog we are creating MFTF test case for Grid module in Magento 2. You can check&nbsp;Functional Test&nbsp;blog link for basic understanding of MFTF. Requirement for MFTF 1- Selenium Server Standalone jar file2- Chrome Driver3- Magento2 latest version(2.2.4 and above) You can download Selenium Server jar file and Chrome Drive from&nbsp;link&nbsp;. Prepare Magento for <a href=\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":215,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[7554,7555],"class_list":["post-144067","post","type-post","status-publish","format-standard","hentry","category-magento2","tag-create-functional-test-for-custom-module","tag-how-to-setup-mftf-in-magento-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create MFTF for custom module in magento 2<\/title>\n<meta name=\"description\" content=\"Setup MFTF for Magento 2 , Create test case of custom module\" \/>\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\/how-to-create-mftf-for-custom-module-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create MFTF for custom module in magento 2\" \/>\n<meta property=\"og:description\" content=\"Setup MFTF for Magento 2 , Create test case of custom module\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/\" \/>\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=\"2018-09-22T10:45:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-16T12:32:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Richa Jaiswal\" \/>\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=\"Richa Jaiswal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/\"},\"author\":{\"name\":\"Richa Jaiswal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/44d62920aef24fda959d86cd4f5a9e9c\"},\"headline\":\"How to create MFTF for custom module in magento 2\",\"datePublished\":\"2018-09-22T10:45:14+00:00\",\"dateModified\":\"2021-07-16T12:32:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/\"},\"wordCount\":339,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"keywords\":[\"Create functional test for custom module\",\"How to setup MFTF in magento 2\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/\",\"name\":\"How to create MFTF for custom module in magento 2\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2018-09-22T10:45:14+00:00\",\"dateModified\":\"2021-07-16T12:32:56+00:00\",\"description\":\"Setup MFTF for Magento 2 , Create test case of custom module\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create MFTF for custom module in magento 2\"}]},{\"@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\/44d62920aef24fda959d86cd4f5a9e9c\",\"name\":\"Richa Jaiswal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8957aeb4c0a27885076fc6a903263ff14be7a7f413814e5a64df67496509435e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8957aeb4c0a27885076fc6a903263ff14be7a7f413814e5a64df67496509435e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Richa Jaiswal\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/richajaiswal-magento581\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create MFTF for custom module in magento 2","description":"Setup MFTF for Magento 2 , Create test case of custom module","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\/how-to-create-mftf-for-custom-module-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"How to create MFTF for custom module in magento 2","og_description":"Setup MFTF for Magento 2 , Create test case of custom module","og_url":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-09-22T10:45:14+00:00","article_modified_time":"2021-07-16T12:32:56+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png","type":"image\/png"}],"author":"Richa Jaiswal","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Richa Jaiswal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/"},"author":{"name":"Richa Jaiswal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/44d62920aef24fda959d86cd4f5a9e9c"},"headline":"How to create MFTF for custom module in magento 2","datePublished":"2018-09-22T10:45:14+00:00","dateModified":"2021-07-16T12:32:56+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/"},"wordCount":339,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"keywords":["Create functional test for custom module","How to setup MFTF in magento 2"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/","name":"How to create MFTF for custom module in magento 2","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2018-09-22T10:45:14+00:00","dateModified":"2021-07-16T12:32:56+00:00","description":"Setup MFTF for Magento 2 , Create test case of custom module","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-create-mftf-for-custom-module-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to create MFTF for custom module in magento 2"}]},{"@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\/44d62920aef24fda959d86cd4f5a9e9c","name":"Richa Jaiswal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8957aeb4c0a27885076fc6a903263ff14be7a7f413814e5a64df67496509435e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8957aeb4c0a27885076fc6a903263ff14be7a7f413814e5a64df67496509435e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Richa Jaiswal"},"url":"https:\/\/webkul.com\/blog\/author\/richajaiswal-magento581\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/144067","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\/215"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=144067"}],"version-history":[{"count":14,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/144067\/revisions"}],"predecessor-version":[{"id":296569,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/144067\/revisions\/296569"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=144067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=144067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=144067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}