Action
Executes a verification asset. Throws a VerificationFailedException if the verification does not pass. Throws an ObjectNotFoundException if the UI object to verify cannot be found.
Syntax
C#
result = VerifyAsset(verificationAsset)
VB
result = VerifyAsset(verificationAsset)
Variable
|
Description
|
result
|
Whether the verification was successful.
BOOLEAN.
|
verificationAsset
|
The name of the
.verification file. The file extension can be omitted.
String.
|
Example
To execute a verification of the image asset
myImageAsset, type the following code:
C#
Silk4NET.VerifyAsset("myImageAsset");
VB
Silk4NET.VerifyAsset("myImageAsset")