Configuration : Automation API

Configuration

Class library usage, coding and language questions.

Configuration

Postby simone » Mon Jan 21, 2008 12:21 pm

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
simone
 
Posts: 2
Joined: Mon Jan 21, 2008 11:50 am

Postby Support Team » Mon Jan 21, 2008 4: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
User avatar
Support Team
Site Admin
 
Posts: 4838
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Postby simone » Mon Jan 21, 2008 4:59 pm

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

Regards
Simone
simone
 
Posts: 2
Joined: Mon Jan 21, 2008 11:50 am


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests