Package com.hp.lft.sdk.ai
Class AiOCRSettings
java.lang.Object
com.hp.lft.sdk.ai.AiOCRSettings
The AI OCR settings to use in AI-based Web tests, which can be updated during runtime using
AiRunSettings.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetLanguages(String languages) Sets the languages to be used by the AI OCR.setLanguages(String[] languages) Sets the languages to be used by the AI OCR.setOCRType(OCRType ocrType) Specifies which OCR settings to use for AI-based steps in web tests.
-
Constructor Details
-
AiOCRSettings
public AiOCRSettings()Constructs a new instance ofAiOCRSettings.
-
-
Method Details
-
setLanguages
Sets the languages to be used by the AI OCR. Note: the order of languages defines their precedence.- Parameters:
languages- an array of languages to be used by the AI OCR. UseAiOCRLanguagesfor the supported values.- Returns:
- this instance with the updated state (builder pattern).
-
setLanguages
Sets the languages to be used by the AI OCR. Note: the order of languages defines their precedence.- Parameters:
languages- a string containing the languages to be used by the AI OCR in comma separated format. UseAiOCRLanguagesfor the supported values.- Returns:
- this instance with the updated state (builder pattern).
-
setOCRType
Specifies which OCR settings to use for AI-based steps in web tests.- Parameters:
ocrType- The type of OCR settings to use. UseOCRTypefor the supported values.- Returns:
- this instance with the updated state (builder pattern).
-