Setting Advanced Options

Set advanced options to enable fallback support, to specify whether locator attribute names should be case sensitive, and so on.
  1. Click Silk4J > Edit Options. The Script Options dialog box opens.
  2. Click the Advanced tab. The Advanced Options page displays.
  3. To test an embedded Chrome application, specify the executable and the port as a value pair in the Enable embedded Chrome support field. For example, myApp.exe=9222. To specify multiple embedded Chrome applications, separate the value pairs with a comma.
  4. Enable OPT_ENABLE_MOBILE_WEBVIEW_FALLBACK_SUPPORT to enable the mobile native fallback support for hybrid mobile applications that are not testable with the default browser support.
  5. Enable OPT_ENABLE_ACCESSIBILITY to enable Microsoft Accessibility in addition to the normal Win32 control recognition.
  6. Enable OPT_REMOVE_FOCUS_ON_CAPTURE_TEXT to remove the focus from the window before capturing a text. A text capture is performed during recording and replay by the following methods:
    • TextClick
    • TextCapture
    • TextExists
    • TextRect
  7. Enable OPT_LOCATOR_ATTRIBUTES_CASE_SENSITIVE to set locator attribute names to be case sensitive. The names of locator attributes for mobile web applications are always case insensitive, and this option is ignored when recording or replaying mobile web applications.
  8. Set the default accuracy level for new image assets by selecting a value from 1 (low accuracy) to 10 (high accuracy) from the OPT_IMAGE_ASSET_DEFAULT_ACCURACY list box.
  9. Set the default accuracy level for new image verification assets by selecting a value from 1 (low accuracy) to 10 (high accuracy) from the OPT_IMAGE_VERIFICATION_DEFAULT_ACCURACY list box.
  10. Click OK.