Forum Discussion

seenarg's avatar
seenarg
Occasional Contributor
14 years ago

Issue with MetaData name recognition

Hi,

I am facing an issue identifying an object using testcomplete. In my application, names are given for all controls and testcomplete recognizes these. But there is a dialog which is a parent for these controls that is of type Dialog.Metadata. Even though a name is provided for this, testcomplete identifies it using the title



Does testcomplete have any limitation identifying metadata?



Regards,

Seena

5 Replies

  • Hi,

    As metadata names are not obligatory for many programming languages and platforms, TestComplete did not use them for object identification by default.

    However, you may try different combinations of the Use native object names for TestComplete object names and Use short names when possible settings to alter the addressing models.

    Besides that, if a metadata name is accessible as one of the object's properties, you can use this name as the search criteria. See Searching for an Object.
  • seenarg's avatar
    seenarg
    Occasional Contributor
    Hi,

    Using native object names is already checked in project property settings for my project.

    Also the issue I face is that the name for the metadata is not identified though a name is specified.

    Instead of name,the testcomplete is taking title as recognition string for the metadata.
  • Hi,



    Possibly, you can retrieve some of the metadata through Microsoft Active Accessibility.

    To be more precise, I need to know more about your application: its type (desktop/web), the platform and technology it is build with (.NET, WPF, Java, etc.) and other details.
  • seenarg's avatar
    seenarg
    Occasional Contributor
    Hi,

    The application is .Net WPF desktop application.



    Regards,

    Seena