Forum Discussion

malj's avatar
malj
Contributor
9 years ago
Solved

Running Selected Project Test Item(s) from Script

We would like be able to select which tests to run in different environments without having to login on each one of them and select the project test items to run. Automatic update of project suites i...
  • malj's avatar
    9 years ago

    I changed the subject from "Programmatically Selecting the Project Test Items to Run" to "Running Selected Project Test Item(s) from Script" which is a more exact description of what I want to do.

     

    We have now found a solution to the problem. It is possible from script to iterate over project test items and get to the information about which script unit/routine each item is associated with. At least in Python, we can then dynamically import the module (script unit) where the test resides and execute a specific method (routine) that runs the test.