-
- 1. How Does Ranorex Identify Ui Elements?
Ranorex uses the RanoreXPath to identify applications and their UI elements required for test automation. The RanoreXPath provided by Ranorex Spy consists of many different, technology dependent attributes which can be modified and adapted by the user. To separate test code from identification information Ranorex provides a repository to map logical names to RanoreXPath expressions.
- 1. How Does Ranorex Identify Ui Elements?
-
- 2. Is It Possible To Run The Same Ranorex Test Code On Vista And Xp?
Yes. All identification information is stored within a RanoreXPath expression and is therefore separated from the test automation code.The following RanoreXPath expression finds a button both on Windows XP and on Windows Vista:
/form[@title=’WordPad’]/.//button[@text=’&No’ or @text=’Do&n”t Save’]
The RanoreXPath searches for a button, whether it contains the text ‘&No’ or ‘Do&n”t Save’.
- 2. Is It Possible To Run The Same Ranorex Test Code On Vista And Xp?
Question 3. Is It Required To Use Ranorexpath For Test Automation?
-
- No. It’s also possible to search for GUI elements or forms using a number of different ‘Find’ methods to search and/or filter for child elements.
-
- 4. Does Ranorex Support Data Driven Testing?
Yes. Ranorex supports four different data connectors to build data driven test cases:- Simple Data Connector
- SQL Connector
- CSV File Connector
- Excel Connector
A general description of how to create data driven test cases can be found here.
- 4. Does Ranorex Support Data Driven Testing?
-
- 5. How Can I Speed Up My Excel-based Data Connector?
Especially with big files, the performance of Microsoft’s default file format for excel spreadsheets is getting poor. This weakness might also affect your data driven test execution. For performance improvements you could use the binary file format (xlsb) instead of the default one (xlsx). Simply save your Excel spreadsheet with the extension “xlsb” and assign it to your excel data source.
- 5. How Can I Speed Up My Excel-based Data Connector?
-
- 6. Is It Possible To Extend Recordings With User Specified Code Actions?
You can easily extend standard recordings with user specific code actions by converting existing action items or by adding a new user code action item to a recording.
- 6. Is It Possible To Extend Recordings With User Specified Code Actions?
-
- 7. What Is The Difference Between Adapter And Element?
Adapters provide an easy-to-use interface for accessing attributes and actions of elements. Each item generated by the Ranorex object repository automatically represents a Ranorex Adapter (Button, CheckBox, Text, ListItem, TreeItem, …). You can only create a Button Adapter of an element if the element supports the Button role, i.e. if Ranorex Spy recognizes the element as a Button.If your controls are recognized as ‘Unknown’ or ‘Element’, Ranorex cannot assign them a role. You can’t use special attributes or actions with these elements, but you can usually still create a path that identifies the element to execute minimally mouse clicks.
- 7. What Is The Difference Between Adapter And Element?
-
- 8. Is It Possible To Trigger Ranorex Tests From An Existing Test Or Build Environment?
The result of a Ranorex test automation project is always an executable file. The generated *.exe can easily be started from other environments supporting command line execution.
- 8. Is It Possible To Trigger Ranorex Tests From An Existing Test Or Build Environment?
-
- 9. Can I Run My Tests On Machines Where I Am Not Allowed To Install Ranorex?
Yes, it is possible to run automated tests on runtime machines without Ranorex Installation. Please refer to the chapter XCOPY Deployment (Running tests without Ranorex Installation) in the User Guide.
- 9. Can I Run My Tests On Machines Where I Am Not Allowed To Install Ranorex?
-
- 10. Can I Use Ranorex Libraries Within Visual Studio?
That’s one of the big advantages of using Ranorex. You’re able to use your existing development environment to develop Ranorex based test automation code. Additionally the code generated by the Ranorex Recorder or Ranorex Repository can easily be integrated into your Visual Studio projects.
- 10. Can I Use Ranorex Libraries Within Visual Studio?
-
- 11. What Shall I Do With Unexpected Dialogs And Popup Windows During Test Automation?
Ranorex provides the dedicated class “PopupWatcher” to watch for and to handle popup windows. By using this class, not only simply click actions to close popup dialogs can be called. Even more complex scenarios can be handled in custom callback routines being called at the time the popup appears.
- 11. What Shall I Do With Unexpected Dialogs And Popup Windows During Test Automation?
-
- 12. Is It Possible To Test Silverlight Applications With Ranorex?
Yes it is. Simply ensure that your Silverlight application does not run in window-less-mode, i.e. set the ‘Windowless’ property of the Silverlight HTML object to false.
- 12. Is It Possible To Test Silverlight Applications With Ranorex?
-
- 13. Is It Possible To Automate A Webpage Without Moving The Mouse Pointer?
Yes it is. Simply use the ‘PerformClick’ instead of the normal ‘Click’ method when working with web adapters like ‘Div Tag’, ‘Input’ or ‘Link’.
- 13. Is It Possible To Automate A Webpage Without Moving The Mouse Pointer?
-
- 14. What Are The System Requirements For Developing And Running Ranorex Tests?
The following link to our online documentation shows what is needed to develop or to simply run Ranorex tests.
- 14. What Are The System Requirements For Developing And Running Ranorex Tests?
-
- 15. Are There Known Incompatibilities With Other Software?
In general, there are no known incompatibilities. However, some antivirus or security software blocks certain Ranorex functionality. Consequently, if you experience problems with your automation and are running antivirus or security software, we recommend temporarily switching that software off for a test run.
- 15. Are There Known Incompatibilities With Other Software?
