Copying file from Trunk and saving it locally and then start testing.

1 Answer 105 Views
Test Execution WPF Testing
Karl l
Top achievements
Rank 1
Karl l asked on 30 Mar 2022, 04:21 PM
I'm doing a number of WPF test. I've been having to manually move the the files from Trunk and copy it locally and then start my testing. I'm looking for a solution on how to integrate the copying of the file into the testing steps. 
Elena
Telerik team
commented on 01 Apr 2022, 09:06 AM

Hello Karl, 

Can you, please, elaborate some further details on the use case? What is the environment you execute the tests in? Is the execution machine part of a CI setup? Or there is some other configuration you use? 

What are the files you need to copy? Do you mean that you need to copy the test project to the execution machine? Or these are some files related to the WPF app under test? 

These details will help me understand what is the additional action you need to automate and identify what options there are up in front. 

Thank you in advance for your cooperation.

Regards,
Elena

Karl l
Top achievements
Rank 1
commented on 01 Apr 2022, 01:56 PM

The master test file is saved on our server. As to not alter the main File we copy the file from the server and save it to our local storage which would be the execution machine. The test file is a raw file we mainly use for Verification testing.  So essentially I'm looking to incorporate all of the steps of the copying the file from the server to a folder in the execution machine. Then looking to open the file and execute a console command to restart the program and then proceed with the verification steps. 

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 05 Apr 2022, 01:34 PM

Hi Karl,

As far as I understand you need to get a copy of the test file to your execution machine. And it seems that the test project files are in some sort of source control. So you can simply clone the remote repository to the specified machine and then perform the rest of the tasks. 

In general, all these tasks can be part of a CI pipeline to completely automate this process. Test Studio tests can be seamlessly integrated in different types of continuous integration tools like Azure or Jenkins, or TeamCity, etc. 

I hope this information will help you to find the best setup to suit your needs. Don't hesitate to contact us again in case you have further queries.

Regards,
Elena
Progress Telerik

Does UI testing really fit into CI/CD?

If you want to find out how to take advantage of continuous delivery pipelines, join our Test Studio webinar on Wednesday, April 6 at 11 am EST | 5 pm CET.

Tags
Test Execution WPF Testing
Asked by
Karl l
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or