This is a migrated thread and some comments may be shown as answers.

How can i find an WPF element on WPF application in the case automationID or Id is empty ?

1 Answer 233 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
HoangPham
Top achievements
Rank 1
HoangPham asked on 16 Nov 2013, 06:03 PM
hi all,

i only install VS2012 and TTF (latest version), On my wpf application have some wpf elements have automationId or Id is empty. I used the inspect.exe tool from MS to catch it with its properties. However i really dont know how to my script can find these elements with some functions come from TTF, such as: ByName, By Text, ... or ByExpression. For ByExpression, i really dont know how to know exactly the XamlPath ?

I attached a illustrated image here (application window with wpf object focused and the inspect tool is listing out object's properties).

Could you please see in attached file and give me some your idea / solution to resolve this ?

Thank a lot !

1 Answer, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 21 Nov 2013, 08:56 AM
Hi Hoang,

I am sorry to hear that  you are experiencing this issue.

You might need to experiment before you find the right identification method. You can use our documentation and the code samples there for guidance, as well as other forum threads. 

In order to help you best, if it is possible please grant us access to your application so we can reproduce the issue on our end and give you a solution. 

Thank you for your cooperation.


Regards,
Velin Koychev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
HoangPham
Top achievements
Rank 1
Answers by
Velin Koychev
Telerik team
Share this question
or