title: CANoe: How to select and start test cases from XML Test Module from Python using CANoe COM interface?
body: <p><br>currently I am able to:<br> </p>
  
  <ul>
  <li>start CANoe application<br></li>
  <li>load a CANoe configuration file<br></li>
  <li><p>load a test setup file<br></p>
  
  <pre><code>def load_test_setup(self, canoe_test_setup_file: str = None) -&gt; None:
      logger.info(
          f'Loading CANoe test setup file &lt;{canoe_test_setup_file}&gt;.')
  
      if self.measurement.Running:
          logger.info(
              f'Simulation is currently running, so new test setup could \
              not be loaded!')
          return
  
      self.test_setup.TestEnvironments.Add(canoe_test_setup_file)
  
      test_environment = self.test_setup.TestEnvironments.Item(1)
      logger.info(f'Loaded test environment is &lt;{test_environment.Name}&gt;.')
  </code></pre>
  
  <p><br></p></li>
  </ul>
  
  <p>How can I access the XML Test Module loaded with the test setup (tse) file and select tests to be executed?<br></p>