Can Html or parsing verifications in Silk Performer scripts be deactivated?

Can Html or parsing verifications in Silk Performer scripts be deactivated?

Once verification code has been added to your script, it can only be deactivated by manually commenting-out the relevant verification code. There is no setting in Silk Performer's Active Profile which will allow this code to be toggled on / off.

The need for commenting applies to any of the following verifications added to your script:

- Parse selected Text into a Variable;
- Parse selected Text in Table into a Variable;
- Verify Page Title;
- Verify Page Digest;
- Verify selected Text;
- Verify selected Text in Table.

Care should be exercised when commenting out the verification code. As a rule, any parsing or verification function will precede the API call to which it applies. By way of illustration, the following code snippet:

would look like this after the html-title verification code has been commented out:

It is worth mentioning that it is always preferable to comment, rather than delete, code until you have verified that your actions have not broken your script.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:41
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.