Is it possible to run a specific test suite on one of the endpoints?


Is it possible to run a specific test suite on one of the endpoints?
Here the need is to run some tests( which are grouped into one test suite) on a specific endpoint( which runs on the browser but in a different language) .
We are trying to do this from the command line. Any suggestions here are welcome

Also, when i try to run all suites which start with letter p for example, i am using the below command line and facing issues.
“%LOCALAPPDATA%\Programs\webtestit\Ranorex Webtestit.exe” run “Projectfolder” [options] --test-file-patterns=“Projectfolder\test\tests\p*.ts”
Am i missing anything here?


In order to fully understand your requirements it would be fantastic if you could create a minimalistic demo sample and share that with us, explicitly stating which files you’d like to get executed.
With these things it’s always hard to help with an appropriate answer without having the project at hand to judge where the issue might appear from. You can either put the sample on Github or just zip it up end send it to us at [email protected]

One thing that immediately jumps into my attention is your test-file-patterns value which is using the windows style backslashes. In your case the \test as an example might be interpreted as TAB-ESCAPE-SEQUENCE-est. So perhaps you could try to express them with unix style forward slashes instead.


I have a similar question on how to run specific tests (or a folder of tests) from Jenkins. If I have the following project structure in C:\Users\automation\Documents\fwregression:


  • reports
  • resources
  • src
    • test
      • java
        • uitest
          • data
          • pageobjects
          • tests
            • Users
            • Roles
            • Investigations

What would be the command in CLI mode if you want to only run test RA1_AddUser in the Users folder?
What if you want to only run all 3 tests in the Users folder?
What if you want to run all tests in the Users and Investigations folders?

I know there are options that can be passed to CLI mode but I was unable to find any actual examples. For example, how to use --test-file-patterns in the context of my 3 questions. An example would make things much clearer on how to use an option.



Hello @jmsc7ran!

Let’s take our Java-demo shop project as an example so that is easier to explain and provide screenshots. The project has the following structure:

Now let’s say that you want to run only the test file, via the CLI, the command would be:

[webtestit application path] run --test-file-patterns [path to the] [path to the project]

If my project is located on my desktop the whole command would look like this:

"/Applications/Ranorex Webtestit"  run  --test-file-patterns "/Users/smatijas/Desktop/java-demoshop/src/test/java/uitest/tests/"  "/Users/smatijas/Desktop/java-demoshop"

If we add a subfolder to our test folder and another test folder (tests2) to our project and the project structure would look like this:

To execute the file in the subfolder:

"/Applications/Ranorex Webtestit" run --test-file-patterns "/Users/smatijas/Desktop/java-demoshop/src/test/java/uitest/tests/subfolder/"  "/Users/smatijas/Desktop/java-demoshop"

And if we want to execute only the TC3 test file located in the newly created (tests2) folder, the command would be:

"/Applications/Ranorex Webtestit" run --test-file-patterns "/Users/smatijas/Desktop/java-demoshop/src/test/java/uitest/tests2/"  "/Users/smatijas/Desktop/java-demoshop"

If you want to run all test files (TC4 and TC5) from the subfolder:

"/Applications/Ranorex Webtestit" run --test-file-patterns "/Users/smatijas/Desktop/java-demoshop/src/test/java/uitest/tests/subfolder/**" "/Users/smatijas/Desktop/java-demoshop"

Hope this can help you with your project requirements.