Share this page

# Java SDK Reference (for Selenium)

OpenText Functional Testing for Developers (Selenium) is a solution that extends the Selenium API, increasing productivity and enabling you to create Selenium tests that are more robust and more maintainable.

This reference describes the classes provided by the Java com.hpe.leanft.selenium package and provides Java code samples.

Use this SDK to create more robust or generic identifications for your objects, and use built-in utilities rather than writing them yourself from scratch.

For details about working with OpenText Functional Testing for Developers for Selenium, see the OpenText Functional Testing for Developers Help Center.

This SDK includes one package: com.hpe.leanft.selenium

## Package com.hpe.leanft.selenium

Class Summary

Class | Description
--- | ---
By | Contains all OpenText Functional Testing for Developers (Selenium) By methods for locating elements.
By.ByAttributes | A locator that locates elements by the provided attributes (strings or regular expressions).
By.ByRegClassName | A locator that locates elements by the provided regular expression class name parameter.
By.ByRegId | A locator that locates elements by the provided regular expression ID parameter.
By.ByRegLinkText | A locator that locates elements by the provided regular expression link text parameter.
By.ByRegName | A locator that locates elements by the provided regular expression name parameter.
By.ByRegRole | A locator that locates elements by the provided regular expression role parameter.
By.ByRegTagName | A locator that locates elements by the provided regular expression tag name parameter.
By.ByRegText | A locator that locates elements by the provided regular expression visible text parameter.
By.ByRegType | A locator that locates elements by the provided regular expression type parameter.
By.ByStyles | A locator that locates elements by the provided styles (string or regular expressions).
By.ByText | A locator that locates elements by the provided visible text.
By.ByVisible | A locator that locates elements that are either visible or not, depending on the parameter passed.
ByAny | A locator that locates elements according to any of the given locators (for example, attributes, tags, or styles).
ByEach | A locator that locates elements according to one or more locators (for example, attributes, tags, or styles).
Utils | OpenText Functional Testing for Developers (Selenium) utilities.

Enum Summary

Enum | Description
--- | ---
By.FLAGS | Regular expression flags.

Tips to improve your search results... OpenText™ Functional Testing for Developers (Selenium) Java SDK All versions OpenText™ Functional Testing for Developers (Selenium) SDK 25.2 All View Local Help Center View Online Help Center Version: