Skip to content

Infragistics Community Forum / Automated Testing Tools / Test Automation for Micro Focus UFT / UFT Not Identifying WPF Controls Beyond WpfWindow

UFT Not Identifying WPF Controls Beyond WpfWindow

New Discussion
chandra sekhar
chandra sekhar asked on Feb 1, 2019 4:14 PM

Hi Team

UFT14.03  not able to identify any othe objects other than WpfWindow.

Please help me in this regard

Thansk
Chadnra

Sign In to post a reply

Replies

  • 0
    Michael DiFilippo
    Michael DiFilippo answered on Jan 28, 2019 4:29 PM

    Hello Chandra, 

    Thank you for contacting Infragistics. What you are seeing is more or less to be expected. The busy indicator will steal focus, regardless it's "busy", whether content is above or below it. Note, elements above the busy indicator should be picked up through Object Spy buy ensuring the "black border" shows up. To do this you can hover over the top or top left corner of the control.

    What it doesn't try and do is record what is beneath it. If you disable Test Advantage all together and repeat your steps you will notice the content beneath the indicator do get recorded but nothing above it will. In other-words, even UFT in general has trouble. 

    I recommend having your developers implement an external dialog to remove (show or hide) the busy indicator while your are testing. 

    To ensure compatibility is improved please suggest a new product idea for future versions (or vote for existing ones) at <>.
    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details. 

    • 0
      chandra sekhar
      chandra sekhar answered on Jan 29, 2019 2:54 AM

      Hi Michael

      Thanks for you r quick response.

      The application which i am trying to automate is already automated. but in my machine the objects are not getting identified (which are already there in the UFT object repository). it all working in my colleagues machine.

      I tried recording too, and tried to highlight the objects in the OR. But no luck.

      Please advice

      Thanks

      Chandra

      • 0
        Michael DiFilippo
        Michael DiFilippo answered on Jan 29, 2019 3:21 PM

        Hello Chandra, 

        We added support for a few properties during record/replay. After further research, the xamBusyIndicator does not support Object Spy and is considered to be a new product idea. 

      • 0
        chandra sekhar
        chandra sekhar answered on Jan 30, 2019 5:52 AM

        So please let me know what is the mistake that i am doing .. as the objects are getting identified in my colleagues machine. and i see there is a "dat" folder persent in "C:\Program Files (x86)\HP\Unified Functional Testing" path in my colleagues machine, where as its not there in my machine.. what could be the possible issue and how do i resolved this issue?

        Thanks

      • 0
        Michael DiFilippo
        Michael DiFilippo answered on Jan 30, 2019 4:54 PM

        Hello Chandra,

        Oh I am glad you told me this; as this could lead to many major issues. Our Test Advantage add-ons won't work without a dat folder since nothing will get recorded properly or replay. The dat folder is created when you install UFT for the first time. It should exist with or without any Infragistics Test Advantage add-ons installed. 

        I recommend repairing the install for UFT or completely reinstalling it. But before doing that I recommend uninstalling Infragistics Test Advantage add-ons first. 

        Let me know if you have any questions. 

      • 0
        chandra sekhar
        chandra sekhar answered on Feb 1, 2019 5:08 AM

        Hi Michael

        Its the same problem that iam facing, all the objects are gettibng identified as XamBusyIndicator except few.

        i am attaching the screenshots.

        please suggest what could be the problem, and this is really stopping me from myjob

        Thanks

        Chandra

      • 0
        Michael DiFilippo
        Michael DiFilippo answered on Feb 1, 2019 4:14 PM

        Hello Chandra, 

        I strongly encourage you and your team to use Inspect rather than UFT's ObjectSpy. Inspect simply works in your favor as a tool for looking at the visual tree. Alternatively I use Snoop for WPF which is fantastic for visual tree inspection.

        There is a strong limitation with UFT inspect anything above or below a busy indicator. As I mentioned previously simply testing an application with UFT without Test Advantage enabled will not work correctly either. 

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
chandra sekhar
Favorites
0
Replies
7
Created On
Feb 01, 2019
Last Post
7 years, 1 month ago

Suggested Discussions

Created by

Created on

Feb 1, 2019 4:14 PM

Last activity on

Feb 17, 2026 7:56 AM