Test a WPF App with its installer

2 posts, 0 answers
  1. Arnaud
    Arnaud avatar
    1 posts
    Member since:
    Mar 2018

    Posted 27 Nov 2018 Link to this post

    Hello,

    In ALM context, i need to build, deploy, and run the installer of my WPF application before i launch test studio automated test lists on my application:

    To do this, is there a better way than :

    - create a different test sutdio project for the installer

    - Detect if my application is already installed (Uninstall or Install)

    - Execute the automated unistall/install process

    - Execute the automated test lists for my WPF app.

    Or, does Telerik Test Studio have a built-in feature to test a WPF app with its installer ?

     

    Thanks in advance,

    Regards.

    Arnaud

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    1067 posts

    Posted 30 Nov 2018 Link to this post

    Hi Arnaud,

    Thank you for your detailed description of the requirements you need to cover. 

    As you have noticed a Test Studio WPF automation project can be configured in the Project settings to point to a single application by default. Still, you can have WPF tests in the same project, configured to use another WPF application by unchecking the 'Use default path' option. 

    Having the above in mind, and taking into consideration the rest of the environmental requirements, the most suitable approach depends on all these specifics as well. One option is a separate project for the installation exe of the application under test, as you have described in your query. Another possible solution could be a separate folder and test list in the existing project, which contain only the tests which automate the installation process. 

    Since both options are available, you could choose the most appropriate for you, considering any other specifics. Of course, in case you face any difficulties in adjusting the WPF automation, please do not hesitate to contact me back.

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top