Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user

We have at least ten test suites each having at least 10 test cases. I would like to know if there is a way to run selected tests from each of the suites in an order I would like? For Example.,

For example with the following test folder structure is

|--------Tests:

|--------Tests
     |---Suite 1
         |-------Test 1
         |-------Test 2
         |-------Test 3
     |---Suite 2
         |-------Test 1
         |-------Test 2
         |-------Test 3
     |---Suite 3
         |-------Test 1
         |-------Test 2
         |-------Test 3

Now I want to run the tests in the order for example as below,

  1. Suite 1 - Test Case3Case 3
  2. Suite 2 - Test Case 2
  3. Suite 1 - Test Case 2
  4. Suite 3 - Test Case 3

Please note that the tests are not in any random fashion but has a specific meaning for us. Basically, I have a lot of feature tests separated by specific feature type and each has more tests. Whenever I would like to perform some smoke/sanity tests I would want only certain tests to be executed.

We have at least ten test suites each having at least 10 test cases. I would like to know if there is a way to run selected tests from each of the suites in an order I would like? For Example., the test folder structure is

|--------Tests

     |---Suite 1
         |-------Test 1
         |-------Test 2
         |-------Test 3
     |---Suite 2
         |-------Test 1
         |-------Test 2
         |-------Test 3
     |---Suite 3
         |-------Test 1
         |-------Test 2
         |-------Test 3

Now I want to run the tests in the order for example as below,

  1. Suite 1 - Test Case3
  2. Suite 2 - Test Case 2
  3. Suite 1 - Test Case 2
  4. Suite 3 - Test Case 3

Please note that the tests are not in any random fashion but has a specific meaning for us. Basically, I have a lot of feature tests separated by specific feature type and each has more tests. Whenever I would like to perform some smoke/sanity tests I would want only certain tests to be executed.

We have at least ten test suites each having at least 10 test cases. I would like to know if there is a way to run selected tests from each of the suites in an order I would like?

For example with the following test folder structure:

|--------Tests
     |---Suite 1
         |-------Test 1
         |-------Test 2
         |-------Test 3
     |---Suite 2
         |-------Test 1
         |-------Test 2
         |-------Test 3
     |---Suite 3
         |-------Test 1
         |-------Test 2
         |-------Test 3

Now I want to run the tests in the order for example as below,

  1. Suite 1 - Test Case 3
  2. Suite 2 - Test Case 2
  3. Suite 1 - Test Case 2
  4. Suite 3 - Test Case 3

Please note that the tests are not in any random fashion but has a specific meaning for us. Basically, I have a lot of feature tests separated by specific feature type and each has more tests. Whenever I would like to perform some smoke/sanity tests I would want only certain tests to be executed.

Bumped by Community user
Bumped by Community user
Source Link
Ranadheer
  • 89
  • 1
  • 3
  • 10

How to run Robotframework test cases in a particular order from different suites?

We have at least ten test suites each having at least 10 test cases. I would like to know if there is a way to run selected tests from each of the suites in an order I would like? For Example., the test folder structure is

|--------Tests

     |---Suite 1
         |-------Test 1
         |-------Test 2
         |-------Test 3
     |---Suite 2
         |-------Test 1
         |-------Test 2
         |-------Test 3
     |---Suite 3
         |-------Test 1
         |-------Test 2
         |-------Test 3

Now I want to run the tests in the order for example as below,

  1. Suite 1 - Test Case3
  2. Suite 2 - Test Case 2
  3. Suite 1 - Test Case 2
  4. Suite 3 - Test Case 3

Please note that the tests are not in any random fashion but has a specific meaning for us. Basically, I have a lot of feature tests separated by specific feature type and each has more tests. Whenever I would like to perform some smoke/sanity tests I would want only certain tests to be executed.