{"id":21032,"date":"2023-02-25T04:00:41","date_gmt":"2023-02-25T04:00:41","guid":{"rendered":"https:\/\/www.softwaretestinghelp.com\/?p=21032"},"modified":"2025-05-09T10:57:16","modified_gmt":"2025-05-09T10:57:16","slug":"ranorex-tutorial-2","status":"publish","type":"post","link":"https:\/\/www.softwaretestinghelp.com\/ranorex-tutorial-2\/","title":{"rendered":"Ranorex Test Suite &#038; Test Module, UserCode File and Xpath"},"content":{"rendered":"<p><em><strong>In this tutorial, we will get to know about Ranorex test suite &amp; test module creation, the UserCode file, Editing the Xpath, Data Binding, and Ranorex Report in detail.<\/strong><\/em><\/p>\n<p><em>In the previous <a href=\"https:\/\/www.softwaretestinghelp.com\/ranorex-tutorial-1\/\" target=\"_blank\" rel=\"noopener\"><strong>Ranorex part 1 tutorial<\/strong><\/a>, we discussed the basic components of Ranorex Studio. Ranorex Studios offers a wide range of tools to make automation testing easier.<\/em><\/p>\n<p>However, Ranorex is considered to be an important automation testing tool having some excellent features in it. Ranorex is very simple and easy to use. Let&#8217;s dive deep into other factors involved in Ranorex through this article.<\/p>\n<h2>Ranorex<\/h2>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Ranorex-Automated-Testing-Tool.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21194\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Ranorex-Automated-Testing-Tool.jpg\" alt=\"Ranorex Automated Testing Tool\" width=\"600\" height=\"300\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Ranorex-Automated-Testing-Tool.jpg 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Ranorex-Automated-Testing-Tool-300x150.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Modify the UserCode file<\/h3>\n<p>As discussed earlier, the recording file is made up of two files: <strong>.cs and.UserCode.cs file<\/strong>. .cs file cannot be modified. Any changes to the steps or further validation can only be added to the.UserCode file. .cs file is system generated and is used during compilation. User code is used for custom code entry.<\/p>\n<p>Let us create a test and modify the actions using.UserCode file. Follow the general steps to create a Ranorex project and record a test using the recording module.<\/p>\n<p><span style=\"color: #ff9900;\"><strong>Refer to the image below:<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-Ranorex-Project.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21047\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-Ranorex-Project.jpg\" alt=\"Creating Ranorex Project\" width=\"647\" height=\"340\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-Ranorex-Project.jpg 647w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-Ranorex-Project-300x158.jpg 300w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/a><\/p>\n<p>A Project by the name UserCodeProject.rxtst has been created. There is a recording module renamed UserRecord&#8230;rxrec. I have recorded a simple test of opening the MyComputer window from Start and closing the window.<\/p>\n<p>Open the .cs file for the recording module.<\/p>\n<p><span style=\"color: #ff9900;\"><strong>It will look like something as shown below:<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Recording-Module.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21050\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Recording-Module.jpg\" alt=\"Recording Module\" width=\"565\" height=\"416\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Recording-Module.jpg 565w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Recording-Module-300x221.jpg 300w\" sizes=\"(max-width: 565px) 100vw, 565px\" \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/a><\/p>\n<p>ITestModule is a base interface that is implemented using a Run method.\u00a0 The Run method calls will contain all the recorded steps.<\/p>\n<p>Please consider the above <span style=\"text-decoration: underline;\"><em><strong>E.g.<\/strong><\/em><\/span>, it has Clicked on Start Button, Click on Computer followed by Closing. This file gets compiled and executed during each Run, and it is generated automatically based on the recorded steps and modified user code. Hence no changes can be made to this.<\/p>\n<p>Now let&#8217;s see how we can add or edit the UserCode file. The UserCode file without any entry will only have the <strong>Init method.<\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/UserCode-file-1.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21054\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/UserCode-file-1.jpg\" alt=\"UserCode file\" width=\"612\" height=\"551\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/UserCode-file-1.jpg 612w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/UserCode-file-1-300x270.jpg 300w\" sizes=\"(max-width: 612px) 100vw, 612px\" \/><\/a><\/p>\n<p><strong>I am going to add a new method to the UserCode file, OpenControlPanel()<\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-Method-to-Code-File.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21062\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-Method-to-Code-File.jpg\" alt=\"Adding Method to Code File\" width=\"576\" height=\"461\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-Method-to-Code-File.jpg 576w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-Method-to-Code-File-300x240.jpg 300w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/p>\n<p>Go back to the Recording file (.rxrec) where all the steps will be in tabular form. Now try to add this newly created method.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-New-Method.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21064\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-New-Method.jpg\" alt=\"Adding New Method\" width=\"635\" height=\"523\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-New-Method.jpg 635w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-New-Method-300x247.jpg 300w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Open-Control-Panel.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21065\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Open-Control-Panel.jpg\" alt=\"Open Control Panel\" width=\"648\" height=\"322\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Open-Control-Panel.jpg 648w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Open-Control-Panel-300x149.jpg 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><\/a><\/p>\n<p><strong>Click on Confirm Selection. The method gets saved as a step in the recording file.<\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Confirm-Selection.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21066\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Confirm-Selection.jpg\" alt=\"Confirm Selection\" width=\"581\" height=\"228\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Confirm-Selection.jpg 581w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Confirm-Selection-300x118.jpg 300w\" sizes=\"(max-width: 581px) 100vw, 581px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff9900;\">Now let us check what has happened to .cs file.<\/span><\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/check-.cs-File.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21067\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/check-.cs-File.jpg\" alt=\"Check .cs File\" width=\"603\" height=\"394\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/check-.cs-File.jpg 603w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/check-.cs-File-300x196.jpg 300w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/><\/a><\/p>\n<p>As and when the application becomes complex, the conditions to be tested also grow. And so, grows<br \/>\ntest scripts. Hence, it is very much necessary to have them divided into smaller identifiable modules. The OpenControlPanel() has been automatically added to the. cs file after saving the recorder file. Hence, you can jump directly to the generated code for any recorded steps by simply clicking on the step and clicking on the View Code option.<\/p>\n<h3>Test Cases and Test Modules<\/h3>\n<p>We came to know how to create and modify test steps from the above example. We will now look at the ease of dividing these test steps into modules for better maintenance. As and when the test size increases, the number of steps also increases. Furthermore, it will become too difficult to maintain.<\/p>\n<p><strong>Let us create a test suite and a recording module in it.<\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Create-Test-Suite.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21068\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Create-Test-Suite.jpg\" alt=\"Create Test Suite\" width=\"636\" height=\"403\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Create-Test-Suite.jpg 636w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Create-Test-Suite-300x190.jpg 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/a><\/p>\n<p>Here, Recording1 is the first recording module for TestCase1. Now let\u2019s see how to create <strong>multiple recording modules<\/strong> for TestCase1.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Add-Recording-Module.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21220\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Add-Recording-Module.jpg\" alt=\"Add Recording Module\" width=\"601\" height=\"532\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Add-Recording-Module.jpg 601w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Add-Recording-Module-300x266.jpg 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/a><\/p>\n<p>Click on TestCase1 and select the <strong>Add option<\/strong>. Under Add, you have a drop-down as a <strong>New recording Module<\/strong>. Click on that and give a name to the recording module.<\/p>\n<p><strong><span style=\"color: #ff9900;\">I have created three recording modules for TestCase1 as shown below.<\/span><\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-3-Modules.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21069\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-3-Modules.jpg\" alt=\"Creating 3 Modules\" width=\"560\" height=\"383\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-3-Modules.jpg 560w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-3-Modules-300x205.jpg 300w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>Each recording module can have its own test steps inside them. It is also possible to Move, Cut, Copy and Paste the test steps from one recording module to another.<\/p>\n<h3>Data Binding<\/h3>\n<p>This is one of my favorite topics in Ranorex. Often our tests will be based on different sets of inputs. We test our application for a state with different input conditions and then verify the output. This is called Data-Driven Testing and Ranorex offers a feature called <strong>Data Binding<\/strong> to bind the different Input conditions to the test case.<\/p>\n<p>To bind the data, click on the <span style=\"color: #000000;\"><strong>Test case =&gt; Select Data Binding<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-Binding.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21070\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-Binding.jpg\" alt=\"Data Binding\" width=\"379\" height=\"504\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-Binding.jpg 379w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-Binding-226x300.jpg 226w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff9900;\">Ranorex offers data binding in 4 ways, as shown in the image below:<\/span><\/strong><\/p>\n<ul>\n<li>Simple Data table<\/li>\n<li>CSV Connector<\/li>\n<li>Excel Connector and<\/li>\n<li>SQL Connector<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Simple-DataTable.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21221\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Simple-DataTable.jpg\" alt=\"Simple DataTable\" width=\"576\" height=\"377\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Simple-DataTable.jpg 576w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Simple-DataTable-300x196.jpg 300w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/p>\n<p>I am creating a simple data table. You can give any name to our data table. I&#8217;m going to keep the default name <span style=\"color: #000000;\"><strong>NewConnector1.<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/New-Connector.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21078\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/New-Connector.jpg\" alt=\"New Connector\" width=\"499\" height=\"108\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/New-Connector.jpg 499w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/New-Connector-300x65.jpg 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/a><\/p>\n<p>Now let us create two Input parameters as <span style=\"color: #000000;\"><strong>Input Number1 and InputNumber2<\/strong>. This can be done by clicking on <strong>the Add column.<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-Parameters.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21079\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-Parameters.jpg\" alt=\"Creating Parameters\" width=\"337\" height=\"160\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-Parameters.jpg 337w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Creating-Parameters-300x142.jpg 300w\" sizes=\"(max-width: 337px) 100vw, 337px\" \/><\/a><\/p>\n<p>So, I have two sets of Inputs. Enter the input values. <span style=\"color: #000000;\"><strong>Click on Apply<\/strong><\/span> and click OK to close the Data binding window. Now let us create an Add method in the recording1 module.<\/p>\n<p>Open the UserCode of Recording1 and write an <span style=\"color: #000000;\"><strong>Add method<\/strong><\/span> which will take two parameters as input.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-parameters-to-UserCode.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21081\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-parameters-to-UserCode.jpg\" alt=\"Adding parameters to UserCode\" width=\"620\" height=\"581\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-parameters-to-UserCode.jpg 620w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-parameters-to-UserCode-300x281.jpg 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>Include this method in the recording module.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-Methods-Recording-Module.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21082\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-Methods-Recording-Module.jpg\" alt=\"Adding Methods Recording Module\" width=\"643\" height=\"194\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-Methods-Recording-Module.jpg 643w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Adding-Methods-Recording-Module-300x91.jpg 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/a><\/p>\n<p>Data is now bound to the Input values. Give a name to the new variables and you can keep the default value.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-bind-the-Input-values.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21083\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-bind-the-Input-values.jpg\" alt=\"Data bind the Input values\" width=\"590\" height=\"70\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-bind-the-Input-values.jpg 590w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-bind-the-Input-values-300x36.jpg 300w\" sizes=\"(max-width: 590px) 100vw, 590px\" \/><\/a><\/p>\n<p>Go back to the test case, Open Data Binding, Click on the Data Binding tab and map the Module variable to the Data Column. <strong>Click on Apply and Close the window.<\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-Column.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21084\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-Column.jpg\" alt=\"Data Column\" width=\"322\" height=\"168\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-Column.jpg 322w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Data-Column-300x157.jpg 300w\" sizes=\"(max-width: 322px) 100vw, 322px\" \/><\/a><\/p>\n<p>So, every time the ADDNumbers method is called, the input values are taken from the data binding table. This makes Data-Driven testing easier and maintainable. Such data can also be created for a test suite, by selecting the <strong>Global Parameter<\/strong> option from the drop-down.<\/p>\n<h3>Editing XPath<\/h3>\n<p>The Ranorex Xpath is a powerful identifier of UI elements. Each repository item refers to a Ranorex Xpath. As we have seen in our previous tutorial, Ranorex Spy is used to create the mapping of UI items and add them to the repository file of the test case.<\/p>\n<p>We often come across code logic, where we will need to edit the Xpath to identify the type of elements required for our test. There are two ways of editing the Xpath: <span style=\"color: #000000;\">Using the Path editor and Editing the path directly in the textbox of Spy itself.<\/span><\/p>\n<p><span style=\"text-decoration: underline;\">For example<\/span>, I ran Spy on a Calculator app and it listed the repository items.<\/p>\n<p><strong><span style=\"color: #ff9900;\">As shown in the image below:<\/span><\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Calculator-App-Repository-Items.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21085\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Calculator-App-Repository-Items.jpg\" alt=\"Calculator App- Repository Items\" width=\"644\" height=\"480\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Calculator-App-Repository-Items.jpg 644w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Calculator-App-Repository-Items-300x224.jpg 300w\" sizes=\"(max-width: 644px) 100vw, 644px\" \/><\/a><\/p>\n<p>Let&#8217;s say that we want a list of all the buttons in a calculator. This can be achieved by editing the path of any button under <strong>WinApp \u2018Calculator\u2019.<\/strong> Click on the text box path at the top of the element browser, and <strong>press &lt;Ctrl&gt;&lt;Space&gt;<\/strong> together to enable the editing.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Text-Box-Path.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21087\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Text-Box-Path.jpg\" alt=\"Text Box Path\" width=\"646\" height=\"83\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Text-Box-Path.jpg 646w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Text-Box-Path-300x39.jpg 300w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/a><\/p>\n<p>After editing the path as shown below, we get a list of the buttons under a Calculator. Observe the change in the hierarchy of elements in the Browser Results also.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/list-of-buttons.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21089\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/list-of-buttons.jpg\" alt=\"list of buttons\" width=\"618\" height=\"369\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/list-of-buttons.jpg 618w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/list-of-buttons-300x179.jpg 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><\/p>\n<p><strong>Right-click<\/strong> on any element and select <strong>Add to a repository<\/strong>, add it to the current test case repository and refer to that in the test case file to implement the code logic.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Add-to-Repository.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21090\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Add-to-Repository.jpg\" alt=\"Add to Repository\" width=\"663\" height=\"440\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Add-to-Repository.jpg 663w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Add-to-Repository-300x199.jpg 300w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/a><\/p>\n<p>Another way of editing a UI Xpath is through the <strong>Path editor<\/strong>. Go to the <strong>repository file<\/strong>. Choose the element that you want to edit, and click on the <strong>Edit button<\/strong> beside it. This will open up a spy in Path Editor mode where similar changes can be made.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Xpath-Editor.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21091\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Xpath-Editor.jpg\" alt=\"Xpath Editor\" width=\"610\" height=\"212\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Xpath-Editor.jpg 610w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Xpath-Editor-300x104.jpg 300w\" sizes=\"(max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Ranorex Reporting<\/h3>\n<p><span style=\"color: #ff9900;\"><strong>After execution of the test suite, Ranorex&#8217;s report typically looks as shown below:<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Ranorex-Reporting.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21092\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Ranorex-Reporting.jpg\" alt=\"Ranorex Reporting\" width=\"642\" height=\"471\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Ranorex-Reporting.jpg 642w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Ranorex-Reporting-300x220.jpg 300w\" sizes=\"(max-width: 642px) 100vw, 642px\" \/><\/a><\/p>\n<p><span style=\"color: #ff9900;\"><strong>It gives an Overview of:<\/strong><\/span><\/p>\n<ul>\n<li>How many tests were executed?<\/li>\n<li>Name of the test suite, recording module, and steps.<\/li>\n<li>System and operating system details.<\/li>\n<li>Duration of execution.<\/li>\n<li>Pass\/Fail details.<\/li>\n<li>Pie chart which color codes the result of execution i.e., green when successful and red when failing.<\/li>\n<li>In the case of iterations, where the same steps are performed for a different set of Input values, the iteration details will also be shown in the report such as Iteration 1, Iteration 2, and so on.<\/li>\n<li>One can filter the log messages by checking and unchecking checkboxes in the Test Container Filter.<\/li>\n<\/ul>\n<p>Screenshots can be included in the report by using the <strong>Report.Screenshot() method<\/strong>. Screenshots help in the faster identification of issues. By clicking on the Screenshot in the report for better clarity.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Report-Screenshot.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21093\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Report-Screenshot.jpg\" alt=\"Report Screenshot\" width=\"368\" height=\"327\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Report-Screenshot.jpg 368w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Report-Screenshot-300x267.jpg 300w\" sizes=\"(max-width: 368px) 100vw, 368px\" \/><\/a><\/p>\n<p>There are different types of Report levels. Report levels define the kind of output shown in the report.<\/p>\n<p><span style=\"color: #ff9900;\"><strong>A few of the pre-defined report levels include:<\/strong><\/span><\/p>\n<ul>\n<li>Debug<\/li>\n<li>Infor<\/li>\n<li>Success<\/li>\n<li>Failure<\/li>\n<li>Warning<\/li>\n<\/ul>\n<p><span style=\"color: #ff9900;\"><strong>The above can be used in the code as follows:<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Final-Report.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21096\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Final-Report.jpg\" alt=\"Final Code\" width=\"650\" height=\"512\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Final-Report.jpg 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Final-Report-300x236.jpg 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>Reports can also be <strong>customized by changing the reporting parameters<\/strong> in the test suite properties.<\/p>\n<h3>Integrating Ranorex with Visual Studio<\/h3>\n<p>You can use Ranorex with Visual Studio instead of directly creating projects in Ranorex. All we need to do is <span style=\"color: #000000;\"><strong>add Ranorex assemblies in VS<\/strong>.<\/span><\/p>\n<p><strong><span style=\"color: #ff9900;\">Given below are the main assemblies of Ranorex that should be added:<\/span><\/strong><\/p>\n<ol>\n<li>Ranorex.Core<\/li>\n<li>Ranorex.Common<\/li>\n<li>Ranorex.Bootstrapper<\/li>\n<li>All Ranorex.Plugin assemblies<\/li>\n<\/ol>\n<p><span style=\"color: #ff9900;\"><strong>Steps to be followed:<\/strong><\/span><\/p>\n<ul>\n<li>Open Visual Studio.<\/li>\n<li>Create a New Project.<\/li>\n<li>Select .Net version (4.5.2 and higher).<\/li>\n<li>Create a Console Application.<\/li>\n<li>Once the project is created, right click on References to add Ranorex assemblies.<\/li>\n<li>Ranorex assemblies will be present in the bin folder, usually C:\\Program Files (x86)\\Ranorex &lt;version&gt;\\bin.<\/li>\n<\/ul>\n<p><strong>Ranorex.Core.Resolver<\/strong> is an assembly that fetches all other assemblies of Ranorex. So it is essential to initialize this by setting it to <strong>True<\/strong>\u00a0before we start writing the code.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Console-App.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21097\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Console-App.jpg\" alt=\"Console App\" width=\"633\" height=\"489\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Console-App.jpg 633w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Console-App-300x232.jpg 300w\" sizes=\"(max-width: 633px) 100vw, 633px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Reference-Manager.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21098\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Reference-Manager.jpg\" alt=\"Reference Manager\" width=\"648\" height=\"453\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Reference-Manager.jpg 648w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/Reference-Manager-300x210.jpg 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/References.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21100\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/References.jpg\" alt=\"References\" width=\"337\" height=\"572\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/References.jpg 337w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/01\/References-177x300.jpg 177w\" sizes=\"(max-width: 337px) 100vw, 337px\" \/><\/a><\/p>\n<h3>Conclusion<\/h3>\n<p>In this tutorial, we understood all the deeper layers of Ranorex, especially the usage of the UserCode file and Xpath. Data binding is also a very important feature of Ranorex.<\/p>\n<p><em><strong>The crux is as below:<\/strong><\/em><\/p>\n<ul>\n<li>Ranorex recording module has two files: .cs and.UserCode file.<\/li>\n<li>UserCode file is for modification and further addition of code logic and the .cs file cannot be manipulated.<\/li>\n<li>A test suite can have multiple test cases and each test case can have multiple test modules. Test modules help in the maintenance of code logic in the case of numerous test steps.<\/li>\n<li>Data Binding offers ease of testing with multiple inputs and different iterations.<\/li>\n<li>Xpath can be edited by the Path editor or just by clicking directly on the text box.<\/li>\n<li>Ranorex is a comprehensive display of the test results. It can also be customized according to our needs.<\/li>\n<li>Integrating Ranorex with VS IDE is easy, it is done just by adding the references in the solution.<\/li>\n<\/ul>\n<p>Ranorex is a tool that covers all the requirements of an automation testing tool with GUI object recognition, Data-Driven Testing, Reusable code Modules, Record and Playback, and Keyword-driven testing. It is suitable for all applications, Web, Desktop, and mobile. Ranorex has recently announced its integration with Selenium as well.<\/p>\n<p>=&gt; <a href=\"https:\/\/www.softwaretestinghelp.com\/ranorex-tutorial-1\/\"><strong>Click here if you want to go back and read tutorial #1<\/strong><\/a>.<\/p>\n<p><strong><em>Share your experience working with Ranorex and let us know if you have any queries in the comments section below. We would love to hear from you.<br \/>\n<\/em><\/strong><\/p>\n\r\n\t\t\t<div id=\"daexthefup-container\"\r\n\t\t\t\tclass=\"daexthefup-container daexthefup-layout-stacked daexthefup-alignment-center\"\r\n\t\t\t\tdata-post-id=\"21032\">\r\n\r\n\t\t\t\t<div class=\"daexthefup-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefup-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefup-title\">Was this helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefup-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefup-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-yes daexthefup-button daexthefup-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-up-cls-1{fill:#c9c9c9;}.thumb-up-cls-2{fill:#e1e1e1;}.thumb-up-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_up\">\r\n                        <path class=\"thumb-up-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-up-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"20\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,9.06l-.49-.1c-.81-.17-1.61.35-1.78,1.16l-5.3,11.74c-.17.81,3.16,1.61,3.97,1.78l1.96.41c.81.17,1.61-.35,1.78-1.16l2.18-10.27c.34-1.61-.7-3.21-2.31-3.56Z\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,20h-18.67c-.83,0-1.5.67-1.5,1.5v12c0,.83.67,1.5,1.5,1.5h16.27c.71,0,1.33-.5,1.47-1.21l2.4-12c.19-.93-.53-1.8-1.47-1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-no daexthefup-button daexthefup-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-down-cls-1{fill:#c9c9c9;}.thumb-down-cls-2{fill:#e1e1e1;}.thumb-down-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_down\">\r\n                        <path class=\"thumb-down-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-down-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"13\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,38.94l-.49.1c-.81.17-1.61-.35-1.78-1.16l-5.3-11.74c-.17-.81,3.16-1.61,3.97-1.78l1.96-.41c.81-.17,1.61.35,1.78,1.16l2.18,10.27c.34,1.61-.7,3.21-2.31,3.56Z\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,28h-18.67c-.83,0-1.5-.67-1.5-1.5v-12c0-.83.67-1.5,1.5-1.5h16.27c.71,0,1.33.5,1.47,1.21l2.4,12c.19.93-.53,1.8-1.47,1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-comment\">\r\n\t\t\t\t\t<div class=\"daexthefup-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefup-comment-label\" class=\"daexthefup-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefup-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefup-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefup-comment-textarea\" class=\"daexthefup-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Type your message\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefup-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-submit daexthefup-button\">Submit<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-cancel daexthefup-button\">Cancel<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-successful-submission-text\">Thanks for your feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will get to know about Ranorex test suite &amp; test module creation, the UserCode file, Editing the Xpath, Data Binding, and Ranorex Report in detail. In the previous Ranorex part 1 tutorial, we discussed the basic components of Ranorex Studio. Ranorex Studios offers a wide range &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Ranorex Test Suite &#038; Test Module, UserCode File and Xpath\" class=\"read-more button\" href=\"https:\/\/www.softwaretestinghelp.com\/ranorex-tutorial-2\/#more-21032\" aria-label=\"Read more about Ranorex Test Suite &#038; Test Module, UserCode File and Xpath\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":21194,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_helpful_pro_status":1,"footnotes":""},"categories":[567],"tags":[],"class_list":["post-21032","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qa-tools-reviews"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/posts\/21032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/comments?post=21032"}],"version-history":[{"count":0,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/posts\/21032\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media\/21194"}],"wp:attachment":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media?parent=21032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/categories?post=21032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/tags?post=21032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}