Skip to content
logo
ecu.test 2025.3 Help
Port IMAGE - DEFAULT 🛈
  • English
  • Deutsch
Initializing search
    • Getting Started
    • Overview
    • ecu.test Main program
    • Further included programs
    • Tools
      • A&D: iTest
      • ASAM: ACI
      • ASAM: iLinkRT
      • ASAM: XIL
      • ASAP: STEP
      • ATI: VISION
      • AVL: LYNX
      • AVL: PUMA
      • Basler: pylon
      • Beckhoff: TwinCAT
      • Digiteq: FG4 MultiBox
      • Digiteq: MGB
      • dSPACE: AURELION
      • dSPACE: ControlDesk
      • dSPACE: ModelDesk
      • dSPACE: MotionDesk
      • dSPACE: RTMaps
      • dSPACE: XIL API
      • EA: UTA 12
      • EMVA: GenICam
      • ESI: SimulationX
      • ETAS: BOA
      • ETAS: COSYM-SIL
      • ETAS: INCA
      • ETAS: LABCAR-PINCONTROL
      • FEP
      • FEP3
      • FEV: MorphĂ©e
      • froglogic: Squish
      • Google: ADB
      • Göpel: Video Dragon
      • Hexagon: VTD
      • HMS: ACT - Restbussimulation
      • HMS: Legacy Bus Interfaces (VCI V2)
      • HMS: VCI V4
      • HORIBA FuelCon: TestWork
      • IDS: uEye
      • IPETRONIK: ETHOS
      • IPG: CarMakerHeadless
      • IPG: CarMaker|RealTimeMaker
      • JS Foundation: Appium
      • Keysight: CDS
      • Keysight: ESD
      • KS Engineers: TornadoACI
      • Lauterbach: TRACE32
      • MAGNA: BluePiraT
      • Mathworks: MATLAB & Simulink
      • Mechanical Simulation Corporation: CarSim
      • MicroNova: NovaCarts
      • Modelica Association: FMI
      • MOTEON: MTB
      • NI: LabVIEW
      • NI: VeriStand
      • NI: VISA
      • Opal-RT: RT-LAB
      • PEAK: PCAN
      • PLS: UDE
      • QUANCOM: QLIB
      • RA Consulting: DiagRA D
      • ROS2
      • SAE: PassThru
      • SFC: Selenium
        • Ports
          • Port IMAGE - DEFAULT 🛈
            • Stimulation
            • Properties 🛈
            • Jobs 🛈
              • ClickElement
              • ClickPosition
              • CloseWindow
              • DragAndDropByOffset
              • ElementScreenshot
              • FindElements
              • GetCurrentUrl
              • GetElementProperty
              • GetOpenWindows
              • GetPageSource
              • GetWebDriver
              • GoBack
              • MoveMouseOverElement
              • OpenUrl
              • ScrollElement
              • ScrollPage
              • ScrollToElement
              • SendKey
              • SetWindowSize
              • StartBrowser
              • StopBrowser
              • SwitchToDefaultContent
              • SwitchToFrame
              • SwitchToWindow
              • WebsiteScreenshot
              • WriteText
      • Softing: DTS
      • Speedgoat: SimulinkRealTimeXIL
      • Synopsys: Silver
      • Synopsys: SilverXIL
      • Synopsys: Virtualizer
      • Technica: BTS
      • Technica: CM
      • The GNU Project: GDB
      • TOSUN: libTSCAN API
      • tracetronic: Ethernet
      • tracetronic: Multimedia
      • tracetronic: RemoteCommand
      • tracetronic: RemoteCommandLinux
      • tracetronic: Serial interface
      • tracetronic: SocketCAN
      • tracetronic: SSH MultiConnect
      • tracetronic: ZeroMQ
      • TTTech: TTXConnexion
      • Typhoon HIL: THCC
      • Vector: CANape
      • Vector: CANoe / CANalyzer
      • Vector: DYNA4
      • Vector: SIL Kit
      • Vector: XL API
      • Vehinfo: LABCAR
      • ViGEM: CCA
      • VW: ODIS
      • X2E: Xoraya
      • Tools with stimulus support
    • Test execution
    • Trace analysis
    • Workspace
    • Handling
    • Test management
    • test.guide
    • Extensions
    • Specific Tutorials
    • API references
    • System requirements
    • ecu.test on Linux
    • ecu.test code
    • ecu.test agent
    • ecu.test lab
    • Stimulation
    • Properties 🛈
    • Jobs 🛈
      • ClickElement
      • ClickPosition
      • CloseWindow
      • DragAndDropByOffset
      • ElementScreenshot
      • FindElements
      • GetCurrentUrl
      • GetElementProperty
      • GetOpenWindows
      • GetPageSource
      • GetWebDriver
      • GoBack
      • MoveMouseOverElement
      • OpenUrl
      • ScrollElement
      • ScrollPage
      • ScrollToElement
      • SendKey
      • SetWindowSize
      • StartBrowser
      • StopBrowser
      • SwitchToDefaultContent
      • SwitchToFrame
      • SwitchToWindow
      • WebsiteScreenshot
      • WriteText

    Port IMAGE - DEFAULT đŸ›ˆÂ¶

    Standard port for browser interaction

    Stimulation¶

    This port has no stimulus capabilities.

    Properties đŸ›ˆÂ¶

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Browser

    ‘Firefox’

    [‘Firefox’, ‘Chrome’, ‘Edge’]

    string

    Browser selection. Browser path and WebDriver path must match the selection.

    Browser path

    string

    Absolute installation path to the browser.

    Browser profile path

    string

    Optional: Absolute path to the used browser profile

    Browser extensions

    string

    Optional: Comma-separated paths to browser extensions.

    Paths can be absolute or relative to the tool host base path.

    Browser width

    800

    int

    Width of the browser window in pixels.

    Browser height

    600

    int

    Height of the browser window in pixels.

    WebDriver path

    string

    Installation path to the Webdriver.

    Path can be absolute or relative to the tool host base path.

    Implicit timeout

    10

    float

    Timeout in seconds, which applies to all steps unless specified otherwise in the step.

    Headless mode

    ☐

    bool

    Starts the browser in headless mode (without visible window).

    Additional arguments

    string

    Additional command line arguments that are passed to the configured WebDriver at startup, e.g. “–proxy-server=http://proxy.local:8338”. See the Selenium WebDriver documentation for possible arguments.

    Live preview

    ☐

    bool

    Streams a live preview on the configured network port. The live stream is available under the toolhost’s IP address and the configured port, e.g. for a local tool connection: http://127.0.0.1:<port>

    Open preview window

    Live preview

    ☑

    bool

    Opens a preview window upon StartBrowser job execution. This window displays the current output of the image source as a livestream and will remain open until StopBrowser job execution.

    Port

    Live preview

    ‘<auto>’

    string

    The network port that will be used for live streaming. Every live stream needs an unique port if live streaming is enabled for multiple video sources. If the value is set to <auto> a free network port will be defined by the system.

    Show text overlay in video recordings

    ☐

    bool

    Adds a text overlay with the format “timestamp package name” in the bottom left corner of video recordings.

    Jobs đŸ›ˆÂ¶

    ClickElement¶

    Clicks onto the requested element.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    searchMethod

    ‘id’

    [‘id’, ‘xpath’, ‘link text’, ‘partial link text’, ‘name’, ‘tag name’, ‘class name’, ‘css selector’]

    string

    The method by which the element is identified.

    searchValue

    string

    The value that identifies the element to click onto, according to the search method.

    timeout

    -1.0

    float

    Timeout to wait for the element; -1 for default value from test bench configuration.

    ClickPosition¶

    Clicks onto the requested position.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    positionX

    0

    int

    The X location of the position.

    positionY

    0

    int

    The Y location of the position.

    CloseWindow¶

    Closes the specified window.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    windowHandle

    string

    The identifier for the window to be changed.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    success

    [False, True]

    bool

    Returns whether the closing of the window was successful.

    DragAndDropByOffset¶

    Performs a drag and drop on an element in the specified direction.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    offsetX

    0

    int

    Number of pixels in horizontal direction.

    offsetY

    0

    int

    Number of pixels in vertical direction.

    searchMethod

    ‘id’

    [‘id’, ‘xpath’, ‘link text’, ‘partial link text’, ‘name’, ‘tag name’, ‘class name’, ‘css selector’]

    string

    The method by which the element is identified.

    searchValue

    string

    The value that identifies the element to click onto, according to the search method.

    timeout

    -1.0

    float

    Timeout to wait for the element; -1 for default value from test bench configuration.

    ElementScreenshot¶

    Returns the image of the first found element.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    searchMethod

    ‘id’

    [‘id’, ‘xpath’, ‘link text’, ‘partial link text’, ‘name’, ‘tag name’, ‘class name’, ‘css selector’]

    string

    The method by which the element is identified.

    searchValue

    string

    The value that identifies the element to click onto, according to the search method.

    timeout

    -1.0

    float

    Timeout to wait for the element; -1 for default value from test bench configuration.

    FindElements¶

    Returns the IDs of the searched elements

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    searchMethod

    ‘id’

    [‘id’, ‘xpath’, ‘link text’, ‘partial link text’, ‘name’, ‘tag name’, ‘class name’, ‘css selector’]

    string

    The method by which the element is identified.

    searchValue

    string

    The value that identifies the element to click onto, according to the search method.

    timeout

    -1.0

    float

    Timeout to wait for the element; -1 for default value from test bench configuration.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Response

    object

    List with IDs.

    GetCurrentUrl¶

    Returns the URL of the currently opened web page.

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Response

    string

    Current URL.

    GetElementProperty¶

    Returns the desired property of the element.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    propertyName

    string

    The value of the property to be returned.

    searchMethod

    ‘id’

    [‘id’, ‘xpath’, ‘link text’, ‘partial link text’, ‘name’, ‘tag name’, ‘class name’, ‘css selector’]

    string

    The method by which the element is identified.

    searchValue

    string

    The value that identifies the element to click onto, according to the search method.

    timeout

    -1.0

    float

    Timeout to wait for the element; -1 for default value from test bench configuration.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Response

    string

    Property value.

    GetOpenWindows¶

    Returns all open windows. Empty list if none are open.

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    windows

    object

    List of all open windows.

    GetPageSource¶

    Returns the HTML source of the web page.

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    html

    string

    HTML source code of the web page.

    GetWebDriver¶

    Returns the internal Selenium WebDriver which allows direct access to the Selenium API.

    GoBack¶

    Displays the previous page again.

    MoveMouseOverElement¶

    Moves the mouse to the first element found.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    searchMethod

    ‘id’

    [‘id’, ‘xpath’, ‘link text’, ‘partial link text’, ‘name’, ‘tag name’, ‘class name’, ‘css selector’]

    string

    The method by which the element is identified.

    searchValue

    string

    The value that identifies the element to click onto, according to the search method.

    timeout

    -1.0

    float

    Timeout to wait for the element; -1 for default value from test bench configuration.

    OpenUrl¶

    Opens the given web site (URL).

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    url

    string

    The complete web address.

    windowName

    string

    The name of the window in which the URL should be opened.

    windowType

    ‘Current window’

    [‘Current window’, ‘Selected window’, ‘New window’, ‘New tab’]

    string

    Type of window in which the URL should be opened.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    windowHandle

    string

    The identifier of the window.

    ScrollElement¶

    Scrolls by the requested distance in the given element - up (or to the left) for a given negative distance, down (or to the right) otherwise.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    searchMethod

    ‘id’

    [‘id’, ‘xpath’, ‘link text’, ‘partial link text’, ‘name’, ‘tag name’, ‘class name’, ‘css selector’]

    string

    The method by which the element is identified.

    searchValue

    string

    The value that identifies the element to click onto, according to the search method.

    xDistance

    0

    int

    The number of pixels to scroll.

    yDistance

    0

    int

    The number of pixels to scroll.

    ScrollPage¶

    Scrolls the whole page by the requested distance - up (or to the left) for a given negative distance, down (or to the right) otherwise.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    xDistance

    0

    int

    The number of pixels to scroll.

    yDistance

    0

    int

    The number of pixels to scroll.

    ScrollToElement¶

    Scrolls to the given element.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    searchMethod

    ‘id’

    [‘id’, ‘xpath’, ‘link text’, ‘partial link text’, ‘name’, ‘tag name’, ‘class name’, ‘css selector’]

    string

    The method by which the element is identified.

    searchValue

    string

    The value that identifies the element to click onto, according to the search method.

    SendKey¶

    Presses a special key.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    key

    ‘ADD’

    [‘ADD’, ‘ALT’, ‘ARROW_DOWN’, ‘ARROW_LEFT’, ‘ARROW_RIGHT’, ‘ARROW_UP’, ‘BACKSPACE’, ‘BACK_SPACE’, ‘CANCEL’, ‘CLEAR’, ‘COMMAND’, ‘CONTROL’, ‘DECIMAL’, ‘DELETE’, ‘DIVIDE’, ‘DOWN’, ‘END’, ‘ENTER’, ‘EQUALS’, ‘ESCAPE’, ‘F1’, ‘F10’, ‘F11’, ‘F12’, ‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘HELP’, ‘HOME’, ‘INSERT’, ‘LEFT’, ‘LEFT_ALT’, ‘LEFT_COMMAND’, ‘LEFT_CONTROL’, ‘LEFT_META’, ‘LEFT_OPTION’, ‘LEFT_SHIFT’, ‘META’, ‘MULTIPLY’, ‘NULL’, ‘NUMPAD0’, ‘NUMPAD1’, ‘NUMPAD2’, ‘NUMPAD3’, ‘NUMPAD4’, ‘NUMPAD5’, ‘NUMPAD6’, ‘NUMPAD7’, ‘NUMPAD8’, ‘NUMPAD9’, ‘PAGE_DOWN’, ‘PAGE_UP’, ‘PAUSE’, ‘RETURN’, ‘RIGHT’, ‘RIGHT_ALT’, ‘RIGHT_CONTROL’, ‘RIGHT_META’, ‘RIGHT_OPTION’, ‘RIGHT_SHIFT’, ‘SEMICOLON’, ‘SEPARATOR’, ‘SHIFT’, ‘SPACE’, ‘SUBTRACT’, ‘TAB’, ‘UP’, ‘ZENKAKU_HANKAKU’]

    string

    The key to be pressed.

    SetWindowSize¶

    Changes the size of the browser window.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    mode

    ‘From test bench configuration’

    [‘From test bench configuration’, ‘Maximized’, ‘Minimized’, ‘User defined’]

    string

    Custom value, “maximized”, “minimized” or default value from test bench configuration

    windowHeight

    0

    int

    Window height in pixels for “User defined” mode.

    windowWidth

    0

    int

    Window width in pixels for “User defined” mode.

    StartBrowser¶

    Starts the browser instance.

    StopBrowser¶

    Stops the browser instance.

    SwitchToDefaultContent¶

    Moves focus back to the main content after an iframe has been selected.

    SwitchToFrame¶

    Moves focus to an iframe for locating elements therein.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    identifier

    string

    Index, name or ID of the iframe.

    SwitchToWindow¶

    Switches to the specified window.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    windowHandle

    string

    The identifier for the window to be changed.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    success

    [False, True]

    bool

    Returns whether the switch to the window was successful.

    WebsiteScreenshot¶

    Returns an image of the complete web page, including the invisible area.

    WriteText¶

    Types the given text at the current cursor position.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    pressEnter

    ☐

    bool

    If True, Enter is pressed after the input.

    text

    string

    The text that has to be typed.

    2025-12-05
    Previous
    SFC: Selenium
    Next
    Softing: DTS
    © Copyright 2025, tracetronic GmbH.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial
    Logo of tracetronic GmbH
    legal notice privacy policy