Ranorex Windows Application

A Ranorex Windows Application provides a Windows Forms based project frame to execute Ranorex test automation code through a graphical user interface. In addition to the required standard references the project contains the 'MainForm.cs' and the 'MainForm.Designer.cs' files.
Ranorex Windows Application template
The 'MainForm.Designer.cs' file offers the ability to switch between a 'Source' and a 'Design' view. Activating the 'Design' view (see red box in the picture above) enables you to create a Windows Forms based application containing typical controls like text boxes or buttons. Activate the 'Tools' view using the menu item 'View' | 'Tools' to see all available controls for your windows forms application.
Design view for windows forms applications
To execute some automation code based on a button click, double click a button in design view to open the appropriated source file.
Implementation for a button click