How to run your tests | Ranorex Webtestit User Guide
WebtestitUser GuideHow to run your tests

Running your tests

It’s easy to initiate a test run in Ranorex Webtestit. After you configured at least one endpoint, you are ready to go. Make sure to configure at least one endpoint first Select a test file from the Project tab Ranorex Webtestit will automatically open the Execution tab along with it Check the endpoint(s) you want your test to be executed on Click the Run current test file or Run all test files button Sit back and enjoy!
tipp icon


If you want to run all your tests, you don’t need to open a test file first.
Ranorex Webtestit will display an animation as long as the test is running. You can check the log panel for details. Click the Stop execution button to interrupt the test run.
tipp icon


Do not interact with the browser while it is being automated.

Headless testing

You may have noticed that local endpoints feature a headless option. When testing headless, the browser instance will be started as a background process and not use a GUI (hence the name). Apart from this, the automation is completely the same. Headless testing is extremely helpful in CI environments or on machines that are not capable of displaying a GUI (like build servers).
You can run your tests also locally headless. For test development purposes we recommend you to watch the process.

Running from the command line

You can run tests with Ranorex Webtestit without having to launch the app. This option is helpful if you want to plan a test using the task planner or want to integrate into CI environments. To execute your project from the command line you need to call the Ranorex Webtestit executable with the run parameter and point it to your project’s location. The command pattern looks like this: <Webtestit app path> run [options] <path/to/your/project> Command line execution works for all supported operating systems. To get an overview of all available options and commands, please refer to our dedicated how-to article.