Skip to content

[Bug]: Several methods for UTAM generated java code (using UTAM browser extension) cannot be resolved #311

@amolkcyb

Description

@amolkcyb

Actual behavior

While writing a test, getting error message "The method enterDetailComboBox() is undefined for the type Body".
Also, lot many UI elements still cannot be located using UTAM browser extension.

What is your expected behavior?

UTAM generated java code should correctly refer to valid related methods for the mentioned class. Also, all the related methods should be created successfully during compilation.

Steps to reproduce

  1. Post setting up utam-java-recipes project, create a new test.
  2. Login to salesforce and using UTAM browser extension, locate search box.
  3. Copy the utam generated java code.
  4. Paste the code in your newly created test case.
    loader.load(Body.class)
    .enterDetailComboBox();
  5. Import the class.
  6. Observe that error occurs "The method enterDetailComboBox() is undefined for the type Body"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions