Dynamic WPF Application Title

2 posts, 0 answers
  1. Mike
    Mike avatar
    4 posts
    Member since:
    Nov 2014

    Posted 27 Jan 2015 Link to this post

    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.
  2. Ivaylo
    Admin
    Ivaylo avatar
    782 posts

    Posted 30 Jan 2015 Link to this post

    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!
Back to Top