DRK
DRK

Reputation: 324

HP-UFT WPF TextBlock object capture

I am working on a WPF application where we have to automate testing. This work fine for many components but we struggle to check a summary page where we use TextBlock to display our data.

The WPF TextBlock is not found by the HP tool. Thus we cannot check the values that we display.

We tried the following solutions but without success:

None of them Worked and we are currently blocked.

Has anyone experience with this? Is there a clean solution to solve this issue?

What we need: access TextBlock content, in particular Text from HP UFT Tool.

Upvotes: 2

Views: 945

Answers (1)

Rohit Vasekar
Rohit Vasekar

Reputation: 1

Here the correct answer:-

1) Open UFT 2) Open your wfp ".exe" file in UFT and run. (YourwpfFile.exe) 3) then you can able to identify the WFP window using object spy.

Upvotes: 0

Related Questions