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

Test migration from Silverlight to WPF

4 Answers 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 11 Feb 2020, 10:37 AM

Hi all!

Is there a official way to migrate tests from Silverlight applications to a equal build WPF application? (Presuming the UI items are located on the same place with the same name).

Are there any dependencies or snares, which would prevent me from migrating the tstest files to WPF by hand?

Has anybody know-how in this type of migration?

4 Answers, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 11 Feb 2020, 01:19 PM

Hi Daniela,

Thank you for contacting us with your question.

I am sorry to tell you that the Web test, used for Silverlight applications, and the WPF test types are quite different. Their structure and backend logic will not allow you to convert one to the other.

What you need to do is, create new WPF tests and record the necessary steps for your test scenarios. I understand that might take you some time to do, but it is also an opportunity to redesign and organize some of the tests. For example, you can use the Test as Step feature to reuse different tests like login, logout, etc.

Please do not hesitate to contact us again, if you have follow up questions, or you need any help.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Marc
Top achievements
Rank 1
answered on 11 Feb 2020, 01:28 PM

thank you for your quick answer.

We have SL and to WPF migrated equal solutions. I compared the tstest files, testing the same, one in SL and one in WPF with each other. My impression was, that when I build a migration tool. which would replace the technical parts in the SL tstest files, the solution would be able to run on the WPF application.

I attached a file, showing some "mayor" differences between the tstest files, which are primary WPF vs SL configs.

Do I oversee something?

0
Accepted
Plamen Mitrev
Telerik team
answered on 11 Feb 2020, 02:22 PM

Hi Daniela,

You are correct that both tests have similar JSON file structure, but use different descriptors to execute the test steps for each application type. That will turn out to be an issue and while it is, in theory, possible to make changes manually, it is not recommended and supported by Test Studio. You might corrupt the file in the process by accident or miss a small details that will cause a failure and unexpected behavior.

I am interested to know what is the volume of tests and recorded elements that you have in your projects.

Thank you for your understanding.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Roberto
Top achievements
Rank 2
answered on 20 Mar 2020, 12:04 PM
The preceding discussions are helpful. Thank you, Plamen, for the answers. Of course, the migrations are mandatory if businesses still depend on the Silverlight platform.
Tags
General Discussions
Asked by
Marc
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Marc
Top achievements
Rank 1
Roberto
Top achievements
Rank 2
Share this question
or