Customizing Executors
An Executor is the means by which Functionize interacts with elements on a web page. Different web pages require different types of Executors to be used.
Executors are required for all elements but vary the most for Click or Input actions.
Typically, executors are set automatically for each Action during execution. However, sometimes a Click or Input Action may not work as expected without additional guidance. When a Click or Input doesn't work as expected, we recommend trying other executors on the site under test.
Functionize supports the following types of Executors:
- ML based (default)
- Native Javascript
- Native Operating System
- Native Javascript, By Coordinate
- Native OS, By Coordinate
- Selenium, By Coordinate
- SVG
See below: Executor Type Details
Accessing Executors
There are two ways to access executors:
Via Slider View
When viewing the details of an executed test in Slider View, click the gear icon to access the settings of the action.
Via Expanded Test Step Details
Executors can also be accessed by expanding the detailed view of the Action on the Test Detail page.
Executor Type Details
ML (default)
This relies on our execution engine selecting the correct method of interaction with the element.
Operating System
This uses an operating system call to position and click the element.
Operating System By Coordinate (only available for Click actions)
This uses an operating system call to position and then uses X/Y coordinates to identify exactly where to click within the element. (NOTE: X & Y are automatically created when modeling the test)
Native Javascript
This uses Javascript in the web browser to perform the action on the selected element.
Native Javascript By Coordinate (only available for Click actions)
This uses Javascript in the web browser to perform the action, using X/Y coordinates to identify specifically where to click within the element. (NOTE: X & Y are automatically created when modeling the test)
Selenium By Coordinate (only available for Click actions)
This uses Selenium, where a selector is used to identify the element, and X/Y coordinates are used to identify where to click within the element. (NOTE: X & Y are automatically created when modeling the test)
SVG
Specifically designed to handle Scalable Vector Graphics elements on a web page.
X & Y Coordinates
The X and Y coordinates can be modified to perform a click elsewhere on the screen. By default, they will be set to the originally modeled location.
- X is the distance to the right of the top left of the viewport.
- Y is the distance beneath the top left of the viewport.
Additional Information
See also Optional and Skipped Actions
By using the appropriate executor type for your test actions, you can ensure more reliable and accurate interactions with the elements on your web pages, improving the overall stability and effectiveness of your automated tests.