WinForms to WPF
-
- Posts: 1
- Joined: Mon Jul 08, 2019 9:33 pm
WinForms to WPF
After spending months creating tests, our dev team swapped the main menu of our application from WinForms to WPF. Now all of my tests fail, (as they all use the main menu extensively). Is there a way for Ranorex to automagically adapt from WinForms to WPF?
Re: WinForms to WPF
Hi,
There is definitely no automatic way to convert WinForms-based repo to WPF-based repo. You will have to update each repo item manually (using Ranorex Spy). There is unfortunately no other way. The good thing is, that your scenarios may stay unchanged, depending of the level of UI changes.
There is definitely no automatic way to convert WinForms-based repo to WPF-based repo. You will have to update each repo item manually (using Ranorex Spy). There is unfortunately no other way. The good thing is, that your scenarios may stay unchanged, depending of the level of UI changes.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: WinForms to WPF
Sorry to say buddy, but how far I know there is no automatic process as of now. Hopefully they will bring soon!SirCook3141 wrote: ↑Mon Jul 08, 2019 9:37 pmAfter spending months creating tests, our dev team swapped the main menu of our application from WinForms to WPF. Now all of my tests fail, (as they all use the main menu extensively). Is there a way for Ranorex to automagically adapt from WinForms to WPF?
Regards,
Reku Smith
Tutuapp ShowBox Kodi
Re: WinForms to WPF
I've heard about an online Win2WPF converter, but have never used it myself.SirPhD wrote: ↑
Is there any online converter/tool to do my assignment and convert my Windows forms to WPF XAML Forms?
Read this article > Converting WinForms to WPF: Should you consider it? by DevToolsGuy on infragistics.com
Re: WinForms to WPF
Hi,
Can you move all your (modified) menu-items to a rooted folder in the repo ?
this would make modification probably easier.
The repo file is editable with text editor, so (regex) replacement can be done on content.
If the end part of your xpath is still the same you only have to change the rooted folder or the left part(s) of x-path.
Hope this helps!
Don
Can you move all your (modified) menu-items to a rooted folder in the repo ?
this would make modification probably easier.
The repo file is editable with text editor, so (regex) replacement can be done on content.
If the end part of your xpath is still the same you only have to change the rooted folder or the left part(s) of x-path.
Hope this helps!
Don