Page 1 of 1

Configuration

Posted: Mon Jan 21, 2008 11:21 am
by simone
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

Posted: Mon Jan 21, 2008 3:32 pm
by Support Team
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

Posted: Mon Jan 21, 2008 3:59 pm
by simone
Thank you for the fast reply, now it works.
I'm looking forward to the next version :)

Regards
Simone