After re targeting our WinForms application from .NET 2 to 4 all our ranorex tests have failed.
The reason is : rx pathes to locate our forms like
Code: Select all
/form[@title='MyTitle']
Code: Select all
/controlnet11[@processname='MyProcName']
Steps to reproduce:
1. Create new WindowsForms application using VisualStudio 2010 wizzard.
2. Target it to .NET 2.0 (remove Linq usings in generated code) compile and run
3. RxSpy locates form as /form[@title='Form1']
4. Close form. Re target it to .NET 4.0. Compile and run.
5. RxSpy locates forms as
Code: Select all
/controlnet11[@processname='WindowsFormsApplication1']
Code: Select all
/form[@title='Form1']
Expected behavior: rxpath
Code: Select all
/form[@title='Form1']
Environment:
Win XP
Ranorex evaluation version: 2.3.4
Regards,
Vladimir.