{"id":284046,"date":"2017-03-28T17:15:02","date_gmt":"2017-03-28T13:15:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=284046"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=284046","title":{"rendered":"\u041a\u0430\u0440\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430"},"content":{"rendered":"<p>\u0411\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u043b\u0430\u0441\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 UI \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 Desktop \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 Windows. \u0412 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043a\u0430\u0440\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 (PageObject\u2019s) \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e UISpy. <\/p>\n<p>  \u041f\u044f\u0442\u044c \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0430\u043a\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u043c\u043e\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445 \u0441\u0442\u0430\u043b\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0432\u0435\u043b\u0438\u043a\u043e, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b \u0441\u0442\u0430\u043b\u0438 \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f UI \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u0447\u0430\u043b\u0438 \u0440\u0430\u0441\u0442\u0438 \u043a\u0430\u043a \u0433\u0440\u0438\u0431\u044b. <\/p>\n<p>  \u0420\u0443\u0442\u0438\u043d\u0443 \u043f\u043e \u043f\u043e\u0438\u0441\u043a\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e XPath \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0434\u043e\u0441\u0442\u044c.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b Visual Studio UIMap Editor: \u0447\u0435\u043c \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0431\u044b\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0442\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u043e\u043d \u043c\u0435\u043d\u044f \u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b \u0432 \u043f\u043b\u0430\u043d\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432. \u041f\u0440\u0438\u0447\u0438\u043d\u044b \u043e\u043f\u0438\u0448\u0443 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e UIAutomation \u0438 \u0435\u0433\u043e \u043e\u0431\u0435\u0440\u0442\u043a\u0430\u0445 (TestStack.White, Cuite, Microsoft UITest \u0438 \u0442.\u0434.).<\/p>\n<h2>\u0418\u0442\u0430\u043a, \u0437\u0430\u0434\u0430\u0447\u0430<\/h2>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 PageObject\u2019s. \u0412\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b: UIAVerify.<\/p>\n<h4>\u041e\u0431\u0449\u0438\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u044b <\/h4>\n<p>  <\/p>\n<ul>\n<li>\u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b (Control) \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0441\u0442\u043e\u043b\u0430 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b<\/li>\n<li>\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b (Element), \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0435\u043d (Assemblies)<\/li>\n<li>\u0418\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u044f\u0446\u0438\u044f, \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u043e\u043b\u0438\u043c\u043e\u0440\u0444\u0438\u0437\u043c<\/li>\n<li>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0434\u043b\u044f DevExpress, AvalonDock, OpenFileDialog \u0438 \u0442.\u0434. \u042f \u0438\u0445 \u043f\u0435\u0440\u0435\u043d\u043e\u0448\u0443 \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438<\/li>\n<\/ul>\n<p>  <\/p>\n<h2>\u0427\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c<\/h2>\n<p>  \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0435 Windows 10:<\/p>\n<ol>\n<li>\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u043a\u0430\u0440\u0442\u0443 \u0434\u043b\u044f \u043e\u043a\u043d\u0430 \u00ab\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u00bb, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 \u043a\u0430\u0440\u0442 \u0438\u0437 \u0434\u0435\u0440\u0435\u0432\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0441\u0442\u043e\u043b\u0430 \u043f\u0435\u0440\u0435\u043d\u043e\u0448\u0443 \u0432\u0441\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043e\u043a\u043d\u0430, \u0438 \u0443\u0431\u0438\u0440\u0430\u044e \u043b\u0438\u0448\u043d\u0435\u0435. \u041c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438 \u0432\u0440\u0443\u0447\u043d\u0443\u044e (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f Selenium), \u043f\u043e\u043b\u0435\u0442 \u0444\u0430\u043d\u0442\u0430\u0437\u0438\u0438 \u0431\u0435\u0437\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d<\/li>\n<li>\u0421\u043c\u043e\u0442\u0440\u044e \u043d\u0430 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u0415\u0441\u043b\u0438 \u043e\u043d\u0438 \u043c\u043d\u0435 \u043d\u0435 \u043d\u0440\u0430\u0432\u044f\u0442\u0441\u044f, \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u044e \u0432\u0440\u0443\u0447\u043d\u0443\u044e<\/li>\n<li>\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u044e \u043a\u0430\u0440\u0442\u0443 \u0434\u043b\u044f \u043e\u0431\u0435\u0440\u0442\u043a\u0438 UIAutomation (\u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 XML =&gt; C#. \u041e\u0431\u0435\u0440\u0442\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043b\u044e\u0431\u0430\u044f, Selenium, MS UITest, TestStack.White)<\/li>\n<\/ol>\n<p>  \u0412\u0440\u0435\u043c\u044f \u043d\u0430 \u0432\u0441\u0435: \u043c\u0438\u043d\u0443\u0442\u044b \u0442\u0440\u0438<\/p>\n<p>  \u0421\u043f\u0440\u0430\u0432\u0430 \u2013 \u0430\u043d\u0430\u043b\u043e\u0433 \u0434\u0435\u0440\u0435\u0432\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0441\u0442\u043e\u043b\u0430 UIAVerify. \u0421\u043b\u0435\u0432\u0430: \u043a\u0430\u0440\u0442\u0430<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/4.bp.blogspot.com\/-HSRd1UR0_Qo\/WNJi1qhmeqI\/AAAAAAAAANQ\/vgdpCKASupQ7pEwFaZznKcgwOQpAQ3-yQCLcB\/s1600\/Map.PNG\" alt=\"image\"\/><\/p>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h2>\n<p>  \u041f\u043e\u0434 \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f 4 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u0430\u0440\u0442\u0430 \u0432 XML<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;Map Version=&quot;2.0.0.0&quot; Uid=&quot;7b797972-8c3c-4dbf-9c30-7cc8ae14afda&quot;&gt;   &lt;Assembly Name=&quot;Calc&quot; FrameWork=&quot;NavyWindows&quot;&gt;     &lt;Assembly Name=&quot;Map&quot; FrameWork=&quot;NavyWindows&quot;&gt;       &lt;Element ControlType=&quot;Window&quot; Name=&quot;\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440&quot; Comment=&quot;Window &quot;\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440&quot;&quot;&gt;         &lt;Control Comment=&quot;Window &quot;TitleBar&quot;&quot; IsHidden=&quot;true&quot; Name=&quot;\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440&quot; ControlType=&quot;Window&quot;&gt;           &lt;Property Name=&quot;Name&quot;&gt;\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440&lt;\/Property&gt;            &lt;Control Comment=&quot;Button &quot;Close&quot;&quot; Name=&quot;\u0417\u0430\u043a\u0440\u044b\u0442\u044c\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440&quot; ControlType=&quot;Button&quot;&gt;             &lt;Property Name=&quot;AutomationId&quot;&gt;Close&lt;\/Property&gt;           &lt;\/Control&gt; ... &lt;\/Map&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0434\u043b\u044f \u043e\u0431\u0435\u0440\u0442\u043a\u0438 UIAutomation<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">namespace Calc { \tpublic partial class UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440Window : UIWindow \t{ \t\tpublic UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440Window(UIControl control) { Wrap(control); } \t\tpublic UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440Window() {  } \t\tpublic static UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440Window Instance  \t\t{  \t\t\tget { return Desktop.Instance.Get&lt;UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440Window&gt;(XPath); } \t\t}          \t\tpublic static By XPath { get { return By.Xpath(&quot;Name=\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440&quot;); } } \t\t \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ Button &quot;plusButton&quot; \t\t\/\/\/ &lt;\/summary&gt; \t\tpublic UIButton UI\u041f\u043b\u044e\u0441Button \t\t{ \t\t \tget { return Get&lt;UIButton&gt;(By.Xpath(@&quot;AutomationId=plusButton&quot;)); } \t\t} ... &lt;\/Map&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">MapExt.cs \u0438 \u0432\u0441\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>namespace Calc { \tpublic static class UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440WindowExt \t{          public static int Result(this UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440Window  window)         {             var textValue = window.UIResultText.Text                 .Replace(&quot;\u041d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e&quot;, &quot;&quot;)                 .Replace(&quot; &quot;, &quot;&quot;);             return int.Parse(textValue);         } \t} } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0422\u0435\u0441\u0442 CalculationTests.cs<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>using Microsoft.VisualStudio.TestTools.UnitTesting; using Calc; using System.Diagnostics; using System;  namespace CalcTests {     [TestClass]     public class CalculationTests : IDisposable     {         public CalculationTests()         {             _process = Process.Start(&quot;calc.exe&quot;);             _calc = UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440Window.Instance;         }          [TestMethod]         public void Sum()         {             _calc.UI\u041e\u0434\u0438\u043dButton.Click();             _calc.UI\u041f\u043b\u044e\u0441Button.Click();             _calc.UI\u041f\u044f\u0442\u044cButton.Click();             _calc.UI\u0420\u0430\u0432\u043d\u043eButton.Click();             Assert.AreEqual(6, _calc.Result(), &quot;\u041d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442&quot;);         }          public UI\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440Window _calc { get; set; }         Process _process;          public void Dispose()         {             _calc.Close();         }     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0414\u0443\u043c\u0430\u044e, \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u043e, \u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u0430\u0447\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043a\u0438\u0434\u0430\u0439\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!<br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/325058\/\"> https:\/\/habrahabr.ru\/post\/325058\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0411\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u043b\u0430\u0441\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 UI \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 Desktop \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 Windows. \u0412 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043a\u0430\u0440\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 (PageObject\u2019s) \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e UISpy. <\/p>\n<p>  \u041f\u044f\u0442\u044c \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0430\u043a\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u043c\u043e\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445 \u0441\u0442\u0430\u043b\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0432\u0435\u043b\u0438\u043a\u043e, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b \u0441\u0442\u0430\u043b\u0438 \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f UI \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u0447\u0430\u043b\u0438 \u0440\u0430\u0441\u0442\u0438 \u043a\u0430\u043a \u0433\u0440\u0438\u0431\u044b. <\/p>\n<p>  \u0420\u0443\u0442\u0438\u043d\u0443 \u043f\u043e \u043f\u043e\u0438\u0441\u043a\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e XPath \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0434\u043e\u0441\u0442\u044c.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-284046","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/284046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=284046"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/284046\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=284046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=284046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=284046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}