例1. 设置一个Main Action:
1) 创建一个Action,然后在Expet View中右键选择Action中的Split,设置main时,需要选择Nested,即主从关系,如图:
则Main可以通过语句:RunAction "show", oneIteration 来调用show用例
2) 创建其他可以被Main调用的用例,依然使用Split,但是在show中使用,选择Independent of each other
3) 在Main用例中通过语句调用其他用例,没有被调用的则不被执行