XCUIApplication:可以被启动和终止的应用程序的代理

Launching the Application

  • launch(启动应用程序)

- (void)launch;

  • launchArguments (将传递给应用程序的参数)

@property(nonatomic, copy) NSArray *launchArguments;

  • launchEnvironment (将传递给应用程序的环境变量)

@property(nonatomic, copy) NSDictionary *launchEnvironment;

———————————————————————————————————————
Terminating the Application

  • terminate(终止应用程序的任何运行实例)

- (void)terminate;

———————————————————————————————————————

你可能感兴趣的:(XCUIApplication:可以被启动和终止的应用程序的代理)