Configuration

Class library usage, coding and language questions.
simone
Posts: 2
Joined: Mon Jan 21, 2008 10:50 am

Configuration

Post by simone » Mon Jan 21, 2008 11:21 am

Hello,

I'm new to Ranorex. At the moment I use the evaluation version and I have some questions about it.

I want to test an application that uses spring configuration. Is it possible to programmatically start this application using the Application.Start function? I tried it but without success. So I had to automate the start of the application using a doubleclick event on the application in the windows explorer.

I also have a question about the next version of Ranorex. I read in the forum that version 1.4. may give access to the public methods and properties of custom controls. Does that also include third party controls like Infragistics tools or is it just for windows forms?

Thanks, Simone

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Mon Jan 21, 2008 3:32 pm

The Application.Start method may be used with either absolute or relative paths to the executable to start. If you specify a relative path, be sure that it is relative to the working directory of your application or that the directory of the application to start is listed in the PATH environment variable.
In .NET you can also call the System.Diagnostics.Process.Start(string) method which will in addition search the start menu for the specified executable name.

In Ranorex version 1.4 you will have access to all public methods and properties of controls (including third party controls) that inherit from System.Windows.Forms.Control and use .NET 2.0 or above.

Regards,
Alex
Ranorex Support Team

simone
Posts: 2
Joined: Mon Jan 21, 2008 10:50 am

Post by simone » Mon Jan 21, 2008 3:59 pm

Thank you for the fast reply, now it works.
I'm looking forward to the next version :)

Regards
Simone