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

Dynamic WPF Application Title

1 Answer 135 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 27 Jan 2015, 02:43 PM
Hi. I have just started evaluating Test Studio to test our WPF application. Our application title contains the application version number and therefore changes after each upgrade. I created a test aginst version 1 and then upgraded the application to version 2, but when I run the test now it is still looking for controls in application v1. e.g. the PrimaryTarget field contain the application title with version 1. Is there a way to make this work? Thanks.

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 30 Jan 2015, 09:02 AM
Hello Mike,

Thank you for your interest in Test Studio.

Yes you can easily overcome this problem. You can edit the Caption of your WPF application using tilde sign (~) and remove the dynamic portion.

For example if your application name is MyWPF v.1 you will need to change the caption to ~MyWPF and then start recording.

Please refer to the screenshot attached for more clarity.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or