Ranorex Interview Questions & Answers

  1. Question 1. How Does Ranorex Identify Ui Elements?

    Answer :

    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.

  2. Question 2. Is It Possible To Run The Same Ranorex Test Code On Vista And Xp?

    Answer :

    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’.

  3. Adv Java Interview Questions

  4. Question 3. Is It Required To Use Ranorexpath For Test Automation?

    Answer :

    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.

  5. Question 4. Does Ranorex Support Data Driven Testing?

    Answer :

    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.

  6. Adv Java Tutorial

  7. Question 5. How Can I Speed Up My Excel-based Data Connector?

    Answer :

    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.

  8. Selenium Interview Questions

  9. Question 6. Is It Possible To Extend Recordings With User Specified Code Actions?

    Answer :

    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.

  10. Question 7. What Is The Difference Between Adapter And Element?

    Answer :

    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.

  11. Selenium Tutorial
    MVC Framework Interview Questions

  12. Question 8. Is It Possible To Trigger Ranorex Tests From An Existing Test Or Build Environment?

    Answer :

    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.

  13. Question 9. Can I Run My Tests On Machines Where I Am Not Allowed To Install Ranorex?

    Answer :

    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.

  14. Web Developer Guide Interview Questions

  15. Question 10. Can I Use Ranorex Libraries Within Visual Studio?

    Answer :

    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.

  16. MVC Framework Tutorial

  17. Question 11. What Shall I Do With Unexpected Dialogs And Popup Windows During Test Automation?

    Answer :

    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.

  18. Framework7 Interview Questions

  19. Question 12. Is It Possible To Test Silverlight Applications With Ranorex?

    Answer :

    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.

  20. Adv Java Interview Questions

  21. Question 13. Is It Possible To Automate A Webpage Without Moving The Mouse Pointer?

    Answer :

    Yes it is. Simply use the ‘PerformClick’ instead of the normal ‘Click’ method when working with web adapters like ‘Div Tag’, ‘Input’ or ‘Link’.

  22. Web Developer Guide Tutorial

  23. Question 14. What Are The System Requirements For Developing And Running Ranorex Tests?

    Answer :

    The following link to our online documentation shows what is needed to develop or to simply run Ranorex tests.

  24. Question 15. Are There Known Incompatibilities With Other Software?

    Answer :

    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.

  25. Automation Testing Interview Questions