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

Test a WPF App with its installer

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arnaud
Top achievements
Rank 1
Arnaud asked on 27 Nov 2018, 10:29 AM

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

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 30 Nov 2018, 09:27 AM
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!
Tags
General Discussions
Asked by
Arnaud
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or