Executing data-driven tests | Ranorex
Help CenterUser GuideRanorex Studio advanced

Executing data-driven tests

Executing a data-driven test is similar to executing any other test in Ranorex Studio.

In this chapter

    Starting the test run

    Executing a data-driven test

    Executing a data-driven test

    See the assigned test data and a set of completely bound variables
    Click RUN to start the test run

    Data-driven test result

    The test result is displayed at the end of the test run.

    Data-driven test result

    Data-driven test result

    Detailed test result of data-driven tests

    Detailed test result of data-driven testing

    Detailed test result of data-driven testing

    Further reading

    Reports are introduced and explained in detail in > Ranorex Studio fundamentals > ⇢ Reporting.

    Excel-free execution on runtime machines

    If you want to deploy a data-driven test that uses Excel connectors via ⇢ XCOPY or a ⇢ Ranorex Agent, the target machine doesn’t need to have an Excel license installed. Simply install the Microsoft Access Database Engine Redistributable >=2013 on the target machine and you are ready to go.

    You can also configure the behavior of the Excel-free execution in the solution settings file.

    In the projects view, open the solution settings file.

    Locate the setting <Testing.Data.ExcelDataLoadingPreference>
    There are four values you can enter:

    PreferExcel: Default. Uses Excel if available, else uses AceOleDb (the free database engine). Test fails if neither is available.

    PreferAceOleDb: Uses AceOleDb if available, else uses Excel. Test fails if neither is available.

    RequireExcel: Uses Excel only. Test fails if it isn’t available.

    RequireAceOleDb: Uses AceOleDb only. Test fails if it isn’t available.