[英]How to run all TestModule in [Test Setup for Test Modules] CANoe
环境 1 (Test_Environment.tse)
-TestEnv1Folder(文件夹)
我了解使用:
test_environment = self.application.Configuration.TestSetup.TestEnvironments.Item("Environment1")
test_environment = win32.CastTo(test_environment, "ITestEnvironment2")
testM = test_environment.Folders.Item("TestFolder")
我在 [TestFolder] 文件夹中运行测试模块...我知道我必须使用 p"Folders.Item (index)" 才能运行测试模块。 (指数会逐渐增加)。
问题:如何在所有文件夹(TestEnv1Folder、TestFolder 和 TestFolder2)中运行所有 testModule?
您可以使用TestEnvironment
object 下的ExecuteAll
方法。这将执行该 TestEnvironment 下所有文件夹中的所有测试用例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.