{"id":2773,"date":"2020-02-20T06:41:31","date_gmt":"2020-02-20T06:41:31","guid":{"rendered":"https:\/\/codoid.com\/windows-application-testing-using-flaui\/"},"modified":"2023-01-13T10:05:55","modified_gmt":"2023-01-13T10:05:55","slug":"windows-application-testing-using-flaui","status":"publish","type":"post","link":"https:\/\/codoid.com\/automation-testing\/windows-application-testing-using-flaui\/","title":{"rendered":"Windows Application Testing using FlaUI"},"content":{"rendered":"<p>It is an Open-source UI based <a href=\"https:\/\/codoid.com\/automation-testing-tools-we-use\/\">automation library<\/a> to test your application which runs on Windows OS. It wraps almost all of the libraries used in the Microsoft UI Automation Test Library. We can use FlaUI libraries to automate win32, WinForms, WPF and Windows Store apps.<\/p>\n<p>The below are the libraries provided by FlaUI, we will see the uses of those libraries against each one of them:<\/p>\n<p><b>FlaUI.core<\/b> &#8211; This Library will has base elements used in the concrete implementations of FlaUI.<\/p>\n<p><b>FlaUI.UIA2<\/b> &#8211; This Library is used to automate win32 and winforms applications. <\/p>\n<p><b>FlaUI.UIA3<\/b> &#8211; This Library is used to automate WPF and windows store apps.<\/p>\n<blockquote><p><b>Prerequisites:<\/b> &#8211; You should have <a href=\"https:\/\/visualstudio.microsoft.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Visual Studio IDE<\/a> installed in your machine.<\/p><\/blockquote>\n<h3>Installation of FlaUI:<\/h3>\n<p>1. Create a New Project in Visual Studio <\/p>\n<p>2. Right-click on the project and select \u201cManage NuGet Packages\u201d (Using NuGet Package Manager)<\/p>\n<p>3. Select the \u2018Browse\u2019 tab and Search for FlaUI, it will display the FlaUI libraries.<\/p>\n<p>4. Install the below libraries from NuGet package manager<\/p>\n<p>FLAui.core, Flaui.uia2, Flaui.uia3.<\/p>\n<p><b>NOTE:<\/b>  The downloaded libraries are limited to the project, which means it is not available by default for all projects.<\/p>\n<h3>How to launch the application using FlaUI:<\/h3>\n<p>1) To start testing one should implement the static method \u201cLaunch\u201d from the \u201cApplication\u201d class which is available in FlaUI.Core library.<\/p>\n<p>2) You should pass the application path (the application you installed in your machine and you want to automate) as a parameter to the Launch method as given in the below example.<\/p>\n<p><b>Example:<\/b><\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nvar msApplication = Application.Launch(@&quot;C:Program FilesMicrosoft OfficeOffice16WINWORD.EXE&quot;);\r\nvar automation = new UIA3Automation();\r\nvar mainWindow = msApplication.GetMainWindow(automation);\r\n  <\/pre>\n<\/div>\n<p>The above code tells you<\/p>\n<p><p>1. How the launch method is implemented using the Application class, and how the application path is passed as a parameter (First Line).<\/p>\n<p><p>2. In the second line, we are specifying the Automation Library Type (UIA3) used to automate the app.<\/p>\n<p><p>3. The third line describes getting the main window instance from the application instance.<\/p>\n<p><h3>Searching an Element in the Application:<\/h3>\n<p>1) To find the element in the application, we need to specify the treeScope of the  AutomationElement.<\/p>\n<p>2) We can specify the AutomationElement by providing conditions like ConditionFactory, ControlType, and action to be performed as explained in the below example.<\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nConditionFactory cf = new ConditionFactory(new UIA3PropertyLibrary());\r\nmainWindow.FindFirstDescendant(cf.ByName(&quot;Text Editor&quot;)).AsTextBox().Enter(&quot;FlaUI Tutorial&quot;);\r\n  <\/pre>\n<\/div>\n<h3>Code Explanation:<\/h3>\n<p>1. The first line is creating the \u201cConditionFactory\u201d instance, the \u201cConditionFactory\u201d is the class from \u201cFlaUI.Core\u201d, \u201cConditionFactory\u201d identifies the element based on the condition.<\/p>\n<p>2. We are specifying the TreeScope {FindFirstDescendant()}, ConditionFactory{ByName()}, ControlType {AsTextBox()} and action {Enter()} of the automation element.<\/p>\n<p>  The above helps us to install FlaUI and run an application. We must know how to inspect an element using FLAUInspect. We need the Chocolatey package manager to install Flauinspect, we will see the step by step process of the implementation below.<\/p>\n<p> 1. Chocolatey is the package manager for windows. The Flauinspect is a package under the Chocolatey package manager. So it is mandatory to install Chocolatey to inspect the AutomationElement.<\/p>\n<p> 2. Go to <a href=\"https:\/\/chocolatey.org\/install\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/chocolatey.org\/install<\/a> and follow the instructions to install Chocolatey.<\/p>\n<p> 3. After installing chocolatey, run this command \u201cchoco install flauinspect\u201d in command prompt to install Flauinspect.<\/p>\n<p> 4. To launch Faluinspect, run this command \u201cflauinspect\u201d, it will open the Flauinspect application.<\/p>\n<h3>Working with Flauinspect:<\/h3>\n<p>There are three ways for inspecting an element<\/p>\n<p>Open Flauinspect > go to &#8220;Mode&#8221; ><\/p>\n<p>1. Hover Mode (Press ctrl and move your mouse pointer focus on the target element)<\/p>\n<p>2. Focus Tracking ()<\/p>\n<p>3. Show XPATH, (combine with any mode listed above) and it will show only the absolute XPath.<\/p>\n<h3>Capture Screenshot with FlaUI:<\/h3>\n<p> Flaui provide a \u201cCapture\u201d class for the screenshot <\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nCapture.screen();\r\n\/\/ It will capture the full screen\r\n\r\nCapture.Element(&quot;That Element &quot;);\r\n\/\/It will capture the specific element \r\n\r\nCapture.Rectangle(&quot;Specify the height, width and length&quot;)\r\n\/\/It will capture the specific block you specified in the parameter.\r\n  <\/pre>\n<\/div>\n<p>We can store the screenshot in a file by using the below lines of code:<\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nvar image = Capture.Screen();\r\nimage.ApplyOverlays(new MouseOverlay(image.DesktopBounds));\r\nimage.ToFile(@&quot;c:tempscreen.png&quot;);\r\n  <\/pre>\n<\/div>\n<blockquote><p>NOTE: ToFile(\u201cYour_Location\u201d) method can be used to store the screenshot in a user-specified location.<\/p><\/blockquote>\n<h3>Perform Mouse Action using FlaUI<\/h3>\n<p>The Flaui provides the Mouse Class with different methods as follows:<\/p>\n<p><b>1. Mouse left click<\/b><\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nMouse.LeftClick();\r\n\/\/ left click where the mouse pointer is currently pointed to.\r\n  <\/pre>\n<\/div>\n<p><b>2. Point<\/b><\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nPoint point = new Point(2435, 234 )\r\n\/\/ This will provide the location of the mouse pointer (X-axis and Y-axis).\r\n  <\/pre>\n<\/div>\n<p><b>3. Middle Click<\/b><\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nMouse.Click(MouseButton.Middle, point);\r\n  <\/pre>\n<\/div>\n<p><b>4. MoveTo and MoveBy and Position<\/b><\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nMouse.MoveTo(point)\r\n\/\/ Will position the mouse pointer to the New location\r\nMouse.MoveBy(point)\r\n\/\/ it will take the current location and add the point specified in the method then drag the mouse to the location specified.\r\nMouse.Position(point)\r\n\/\/ the traces of the mouse pointer are not displayed.\r\n  <\/pre>\n<\/div>\n<p><b>5. Scroll<\/b><\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nMouse.Scroll(10)\r\n\/\/ positive value to scroll up ; Negative Value to scroll down\r\n\r\nMouse.HorizontalScroll(40);\r\nMouse.VerticalScroll(30);\r\n  <\/pre>\n<\/div>\n<h3>Perform Keyboard Action using FlaUI<\/h3>\n<p>To perform any action the application via Keyboard, the FlaUI provides the Keyboard class with the following methods:<\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nKeyboard.Type(&quot;Hello Flaui&quot;);   \/\/ for a string\r\nKeyboard.Type(VirtualKeyShort.Key_B, VirtualKeyShort.Key_C);\r\nKeyboard.Press(VirtualKeyShort.BACK)  \/\/ backspace\r\n\r\n\/\/For Combinations of multiple keystrokes (To press a key and release a key)\r\nKeyboard.Pressing(VirtualKeyShort.CONTROL);\r\nKeyboard.Press(VirtualKeyShort.Key_A);\r\nKeyboard.Release(VirtualKeyShort.CONTROL);\r\n\r\n\/\/Another Way for the combinations key\r\nKeyboard.TypeSimultaneously(VirtualKeyShort.CONTROL,VirtualKeyShort.KEY_A);\r\n\r\n  <\/pre>\n<\/div>\n<blockquote><p>NOTE:<\/b> VirtualKeyShort is available in &#8220;FlaUI.Core.WindowsAPI&#8221; package <\/p><\/blockquote>\n<h3>How to highlight the element in FlaUI:<\/strong><\/h3>\n<p>Flaui provides the \u201cDrawHighlight\u201d method which will highlight the AutomationElement.<\/p>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nAutomation_Element.DrawHighlight();\r\n  <\/pre>\n<\/div>\n<p>Thank you for reading the above article, we would love to hear your comments. Please write to us if you face any issue in using FlaUI, we are happy to help. Happy Testing!<\/p>\n<p><\/br><\/p>\n<h3 class=\"text-center\"> Frequently Asked Questions<\/h3>\n<div class=\"faq-section\">\n\r\n            \r\n              <ul class=\"accordion\"><li>\r\n                  <span class=\"toggle\">What is FlaUI?<\/span>\r\n                  <div class=\"inner \" style=\"\" >\r\n                    <p>FlaUI is an open-source .NET library based on the native UI automation libraries of Microsoft that can be used to automate UI-based testing of Windows applications such as win32, WinForms, WPF, and Windows Store apps.<\/p>\r\n                  <\/div>\r\n                <\/li><li>\r\n                  <span class=\"toggle\">Is FlaUI open source?<\/span>\r\n                  <div class=\"inner \" style=\"\" >\r\n                    <p>Yes, FlaUI is indeed an open-source UI-based automation library that can be used to perform Automated UI testing of Windows applications such as win32, WinForms, WPF, and Windows Store apps.<\/p>\r\n                  <\/div>\r\n                <\/li><li>\r\n                  <span class=\"toggle\">How do I install the FlaUI library?<\/span>\r\n                  <div class=\"inner \" style=\"\" >\r\n                    <p>1. Create a new project in Visual Studio. <br \/>\r\n2. Right-click on the project and select \u201cManage NuGet Packages\u201d. <br \/>\r\n3. Select the \u2018Browse\u2019 tab and Search for FlaUI. <br \/>\r\n4. Install the FLAui.core, Flaui.uia2, Flaui.uia3 libraries. <\/p>\r\n                  <\/div>\r\n                <\/li><\/ul>\r\n            \n<\/div>\n<div class=\"grayBoxElement\">\n<h6>Related Blogs<\/h6>\n<p><a href=\"https:\/\/codoid.com\/products\/gyra-free-desktop-application-automation-testing-tool\/\"><span>GYRA \u2013 Free Desktop Application Automation Testing Tool<\/span><\/a><\/p>\n<p><a href=\"https:\/\/codoid.com\/desktop-app-automation-testing\/how-to-automate-a-desktop-application-using-c\/\"><span>How to Automate a Desktop Application using C#?<\/span><\/a><\/p>\n<p><a href=\"https:\/\/codoid.com\/desktop-app-automation-testing\/how-to-automate-desktop-application\/\"><span>How to automate desktop application test cases<\/span><\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>It is an Open-source UI based automation library to test your application which runs on Windows OS. It wraps almost all of the libraries used in the Microsoft UI Automation Test Library. We can use FlaUI libraries to automate win32, WinForms, WPF and Windows Store apps. The below are the libraries provided by FlaUI, we [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5619,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[182,179,20],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.3 (Yoast SEO v20.3) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Windows Application Testing using FlaUI - Codoid<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows Application Testing using FlaUI\" \/>\n<meta property=\"og:description\" content=\"It is an Open-source UI based automation library to test your application which runs on Windows OS. It wraps almost all of the libraries used in the Microsoft UI Automation Test Library. We can use FlaUI libraries to automate win32, WinForms, WPF and Windows Store apps. The below are the libraries provided by FlaUI, we [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/\" \/>\n<meta property=\"og:site_name\" content=\"Codoid\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codoid.softwaretestingcompany\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-20T06:41:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-13T10:05:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/02\/FlaUI_Examples_Blog.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codoid\" \/>\n<meta name=\"twitter:site\" content=\"@codoid\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Windows Application Testing using FlaUI - Codoid","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Windows Application Testing using FlaUI","og_description":"It is an Open-source UI based automation library to test your application which runs on Windows OS. It wraps almost all of the libraries used in the Microsoft UI Automation Test Library. We can use FlaUI libraries to automate win32, WinForms, WPF and Windows Store apps. The below are the libraries provided by FlaUI, we [&hellip;]","og_url":"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/","og_site_name":"Codoid","article_publisher":"https:\/\/www.facebook.com\/codoid.softwaretestingcompany","article_published_time":"2020-02-20T06:41:31+00:00","article_modified_time":"2023-01-13T10:05:55+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/codoid.com\/wp-content\/uploads\/2020\/02\/FlaUI_Examples_Blog.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@codoid","twitter_site":"@codoid","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/#article","isPartOf":{"@id":"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/"},"author":{"name":"admin","@id":"https:\/\/codoid.com\/#\/schema\/person\/360ee1d38151acb7c746787fbfa8e586"},"headline":"Windows Application Testing using FlaUI","datePublished":"2020-02-20T06:41:31+00:00","dateModified":"2023-01-13T10:05:55+00:00","mainEntityOfPage":{"@id":"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/"},"wordCount":1105,"commentCount":0,"publisher":{"@id":"https:\/\/codoid.com\/#organization"},"articleSection":["Automation Testing","Fixed","Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/","url":"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/","name":"Windows Application Testing using FlaUI - Codoid","isPartOf":{"@id":"https:\/\/codoid.com\/#website"},"datePublished":"2020-02-20T06:41:31+00:00","dateModified":"2023-01-13T10:05:55+00:00","breadcrumb":{"@id":"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/codoid.com\/learn\/automation-testing\/windows-application-testing-using-flaui\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codoid.com\/"},{"@type":"ListItem","position":2,"name":"Windows Application Testing using FlaUI"}]},{"@type":"WebSite","@id":"https:\/\/codoid.com\/#website","url":"https:\/\/codoid.com\/","name":"Codoid","description":"","publisher":{"@id":"https:\/\/codoid.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codoid.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codoid.com\/#organization","name":"Codoid - Software Testing Company","url":"https:\/\/codoid.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codoid.com\/#\/schema\/logo\/image\/","url":"https:\/\/codoid.com\/wp-content\/uploads\/2020\/09\/Codoid_Software_Testing_Company_Logo.png","contentUrl":"https:\/\/codoid.com\/wp-content\/uploads\/2020\/09\/Codoid_Software_Testing_Company_Logo.png","width":500,"height":500,"caption":"Codoid - Software Testing Company"},"image":{"@id":"https:\/\/codoid.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codoid.softwaretestingcompany","https:\/\/twitter.com\/codoid","https:\/\/www.instagram.com\/codoid.softwaretestingcompany\/","https:\/\/www.linkedin.com\/company\/codoid-qacompany","https:\/\/www.pinterest.com\/codoid9282\/codoid-software-testing-company\/","https:\/\/www.youtube.com\/channel\/UCCmOTDQgcf4W8oo22mBMUYA"]},{"@type":"Person","@id":"https:\/\/codoid.com\/#\/schema\/person\/360ee1d38151acb7c746787fbfa8e586","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codoid.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4d33f9036c9d60684b9478f738779823?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d33f9036c9d60684b9478f738779823?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/codoid.com"]}]}},"_links":{"self":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2773"}],"collection":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/comments?post=2773"}],"version-history":[{"count":9,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2773\/revisions"}],"predecessor-version":[{"id":24362,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2773\/revisions\/24362"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/media\/5619"}],"wp:attachment":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/media?parent=2773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/categories?post=2773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/tags?post=2773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}