The information in this topic may be out of date. The current SDK reference guide has moved here.
checkWithTag method
Run a checkpoint. Uses Fluent arguments to specify the various parameters.
To define the region of the check point, and to configure special processing, pass a chain of method calls as a parameter. First, choose a method from the Target class, then, optionally, chain one or more methods from the XCUICheckSettings class.
Syntax
Call syntax
[ eyes checkWithTag : tag andSettings: checkSettings ];
Declaration
(void)checkWithTag:(nullable NSString *)tag andSettings:(id <CheckSettingsProtocol>)checkSettings
Parameters
- tag
- Type:NSString*
The tag defines a name for the checkpoint in the Eyes Test Manager. The name may be any string and serves to identify the step to the user in the Test Manager. You may change the tag value without impacting testing in any way since Eyes does not use the tag to identify the baseline step that corresponds to the checkpoint - Eyes matches steps based on their content and position in the sequences of images of the test. See How Eyes compares checkpoints and baseline images for details.
- checkSettings
- Type:id <CheckSettingsProtocol>
- The fluent API calls, starting with one of the Target methods.
Return value
- Type: void
Remarks
For a detailed description of how to use this method see The Eyes SDK check Fluent API.