Object Identification Center WindowID

Hi, I'm new here and would like some help. Sorry for my English because my language is Portuguese. Well I'm having trouble identifying objects on the desktop, he can't find the WindowsId and he doesn't click the button, just in the whole form and with that it's difficult to identify the element id or its name.

  • Verified Answer

    An example, the calculator has buttons when clicking on the number 8 it does not identify, it only intents the entire form, as below

    var calculadoraUiObject = Desktop.Describe<IWindow>(new WindowDescription {
    Index = 0,
    IsChildWindow = false,
    IsOwnedWindow = false,
    Text = @"Calculadora",
    WindowClassRegExp = @"ApplicationFrameWindow",
    WindowTitleRegExp = @"Calculadora"
    })
    .Describe<IUiObject>(new UiObjectDescription {
    WindowClassRegExp = @"Windows.UI.Core.CoreWindow"
    });
  • Hi,

    Your approach is correct. The problem is that the Win 10 calculator is made in UWP tech for which we don't have support with UFTdeveloper/LeanFT.

    The old calculator has full tech coverage for automation.

    LeanFT/UFTDeveloper has Web, Mobile, SAPUI5, WPF, WinForms, SAPGUI, Java, TE, PowerBuilder, Oracle tech support.

    If you really need to automate the Win 10 calculator you can use UFT One that has UIA tech and can be used for UWP apps.

    Regards,

    Andrei

  • Andrei,

    Now I understood.

    I didn't know that I was not being supported anymore.

    Well I will use another application, thanks