Skip to content

mlapptools.getWebElements() fails for axes or uiaxes #28

Closed
@xiangruili

Description

@xiangruili

Summary

Besides some warning, mlapptools.getWebElements() fails for axes or uiaxes due to struct(hUIElement) has no Controller field. I wonder if there are any other ui objects with this problem.

Problem Description

Reference to non-existent field 'Controller'.

Error in mlapptools/getDataTag (line 683)
dataTag = char( struct(hUIElement).Controller.ProxyView.PeerNode.getId() );

Error in mlapptools.getWebElements (line 321)
hWin, mlapptools.getDataTag(hUIElement), descendType);

Steps to Reproduce the Problem

ax = uiaxes(uifigure); % or ax = axes(uifigure);
mlapptools.getWebElements(ax)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions