### Running the Selenium Standalone Server Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/interfaces-connectivity/selenium-webdriver-integration/README.md Execute this command in the directory containing the Selenium Standalone Server JAR file to start the server. Replace "" with the actual version number of the downloaded JAR file. The command prompt window must remain open for the server to run. ```java java -jar selenium-server-standalone-.jar ``` -------------------------------- ### Redirecting Ranorex Help Page to Translation Site (JavaScript) Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/README.md This JavaScript snippet is designed to be used as a bookmarklet. It checks if the current page URL matches the pattern of the official Ranorex help documentation and, if so, redirects the user to the corresponding translated page on ranorex.xyz. ```JavaScript location.href = location.href.substring(0, location.href.lastintroductionOf("/")).replace(/^http(s)?:\/\/(.*?)\/help\/(.*?)\/,"https://ranorex.xyz/") ``` -------------------------------- ### Ranorex XPath Weight Rule: RxWinForms ControlNet11 Classnames Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This Ranorex XPath weight rule is designed for WinForms applications using ControlNet11. It sets the weight of the 'class' attribute to 0 for elements whose class name starts with 'WindowsForms10.Window', effectively de-prioritizing these dynamic class names during RanoreXPath generation. ```XML ``` -------------------------------- ### RxWeb YUI (Yahoo User Interface Library) Weight Rule Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/styles/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This RanoreXPath weight rule sets the weight of the 'id' attribute to 0 for web elements whose ID starts with "yui_" followed by digits or "yui-gen". This is designed to ignore dynamic IDs generated by the Yahoo User Interface Library (YUI), improving the robustness of web element identification. ```xml ``` -------------------------------- ### RxWeb GWT Weight Rule Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/styles/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This RanoreXPath weight rule sets the weight of the 'id' attribute to 0 for web elements whose ID starts with "gwt-uid-" or "isc_". These patterns are commonly used by Google Web Toolkit (GWT) and Isomorphic SmartClient for generating dynamic IDs, and ignoring them improves the reliability of web element identification. ```xml ``` -------------------------------- ### Ranorex XPath Weight Rule: RxWeb YUI (Yahoo User Interface Library) Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This Ranorex XPath weight rule targets web elements built with the Yahoo User Interface (YUI) library. It sets the weight of the 'id' attribute to 0 if the ID starts with 'yui_' followed by digits or 'yui-gen', common patterns for dynamic YUI IDs, thus de-prioritizing them. ```XML ``` -------------------------------- ### RxWeb jQuery Weight Rule Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/styles/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This RanoreXPath weight rule sets the weight of the 'id' attribute to 0 for web elements whose ID starts with "ui-id-". This pattern is commonly used by jQuery UI widgets for generating dynamic IDs, and ignoring them helps create more stable RanoreXPath locators. ```xml ``` -------------------------------- ### Ranorex XPath Weight Rule: RxWeb ASP.net Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This Ranorex XPath weight rule is intended for web elements in ASP.net applications. It sets the weight of the 'id' attribute to 0 if the ID starts with 'ctl00' followed by '$' or '_' and then other characters, matching common dynamic ID patterns in ASP.net. Note that this rule is initially disabled. ```XML ``` -------------------------------- ### RxWeb JS Frameworks (ExtJS, Sencha, Ozone Widget) Weight Rule Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/styles/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This RanoreXPath weight rule sets the weight of the 'id' attribute to 0 for web elements with IDs matching patterns commonly generated by JavaScript frameworks like ExtJS, Sencha, or Ozone Widget. The patterns target IDs starting with "ext-" followed by digits or IDs following a specific alphanumeric structure, helping to ignore dynamic framework-generated IDs. ```xml ``` -------------------------------- ### RxWinForms ControlNet11 Classnames Weight Rule Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/styles/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This RanoreXPath weight rule sets the weight of the 'class' attribute to 0 for elements whose class starts with "WindowsForms10.Window". This is typically used to ignore dynamic or unstable class names generated by .NET Framework 1.1 WinForms controls, preventing them from being used in the RanoreXPath. ```xml ``` -------------------------------- ### Ranorex XPath Weight Rule: RxWeb GWT Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This Ranorex XPath weight rule targets web elements built with Google Web Toolkit (GWT). It sets the weight of the 'id' attribute to 0 if the ID starts with 'gwt-uid-' followed by digits or 'isc_', common patterns for dynamic GWT IDs, thus de-prioritizing them. ```XML ``` -------------------------------- ### Ranorex XPath Weight Rule: RxWeb JS Frameworks (ExtJS, Sencha, Ozone Widget ,...) Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This Ranorex XPath weight rule is for web elements generated by various JavaScript frameworks like ExtJS, Sencha, and Ozone Widget. It sets the weight of the 'id' attribute to 0 if the ID matches common dynamic patterns used by these frameworks, such as starting with 'ext-' followed by digits or specific alphanumeric patterns. ```XML ``` -------------------------------- ### RxWeb ASP.net Weight Rule Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/styles/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This RanoreXPath weight rule sets the weight of the 'id' attribute to 0 for web elements whose ID starts with "ctl00" followed by "$" or "_" and then potentially more nested identifiers. This pattern is typical for IDs generated by ASP.NET Web Forms controls, and disabling this rule (enabled="False") or setting the weight to 0 helps ignore these dynamic server-generated IDs. ```xml ``` -------------------------------- ### Basic Robots.txt Configuration Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/robots.txt This snippet provides a standard robots.txt configuration. It allows all user agents ('*') to access the root directory ('/') but disallows access to specific directories like '/gitbook/', '/seo/', and '/styles/'. It also specifies the location of the sitemap. ```robots.txt User-agent: * Allow: / Disallow: /gitbook/ Disallow: /seo/ Disallow: /styles/ Sitemap: https://ranorex.xyz/sitemap.xml ``` -------------------------------- ### Ranorex XPath Weight Rule: RxWin32 Random Control IDs Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This Ranorex XPath weight rule targets Win32 native windows. It sets the weight of the 'controlid' attribute to 0, effectively de-prioritizing potentially random or dynamic control IDs for Win32 elements. Note that this rule is initially disabled and has no specific conditions. ```XML ``` -------------------------------- ### RxWin32 Random Control IDs Weight Rule Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/styles/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This RanoreXPath weight rule sets the weight of the 'controlid' attribute to 0 for native window elements. This is intended to ignore dynamic or random control IDs often found in Win32 applications, preventing them from being used in the RanoreXPath and improving locator stability. The rule is initially disabled ("enabled="False""). ```xml ``` -------------------------------- ### RxWeb MS Dynamics CRM Weight Rule Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/styles/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This RanoreXPath weight rule sets the weight of the 'id' attribute to 0 for web elements whose ID matches a specific pattern containing underscores, curly braces, hyphens, digits, and letters. This pattern is characteristic of IDs generated within Microsoft Dynamics CRM applications, and ignoring such IDs helps create more stable locators. ```xml ``` -------------------------------- ### Ranorex XPath Weight Rule: RxWeb MS Dynamics CRM Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This Ranorex XPath weight rule is for web elements within Microsoft Dynamics CRM. It sets the weight of the 'id' attribute to 0 if the ID matches a specific pattern containing letters, underscores, curly braces, digits, and hyphens, which is characteristic of dynamic IDs in MS Dynamics CRM. ```XML ``` -------------------------------- ### Ranorex XPath Weight Rule: RxWeb jQuery Source: https://github.com/taylortaurus/ranorex_userguide_zh_cn/blob/gitbook/ranorex-studio-expert/mapping-dynamic-ui-elements/README.md This Ranorex XPath weight rule targets web elements generated by jQuery UI. It sets the weight of the 'id' attribute to 0 if the ID matches the pattern 'ui-id-' followed by digits, which is characteristic of dynamic IDs generated by jQuery UI components. ```XML ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.