You can find the following Python samples in the Scripts directory of Ranorex.
| CalcTest1-en.py | Search for the title of window, search for buttons by text, click of buttons. Works with english Windows OS version only. |
| CalcTest1-de.py | Search for the title of window, search for buttons by text, click of buttons. Works with german Windows OS version only. |
| CalcTest2.py | Search for class names of window, search for buttons by ControlId, click of buttons with the Mouse. |
| ButtonTest.py | Search for form by title, search for push buttons, checkbox, radio button and automate it. |
| ControlTest.py | Search and automate different controls. |
| MenuTest.py | Demonstrates how to use the menu functions. |
| ContextMenuTest.py | Demonstrates how to use the context menu functions. |
| ComboBoxTest.py | Search and automate a combo box control. |
| ListBoxTest.py | Demonstrates how to search and automate a list box control. |
| MouseTest.py | Demonstrates how to simulate different operations of the mouse buttons and the mouse wheel. |
| ListViewTest.py | Demonstrates how to search and automate a list view control. |
| TreeViewTest.py | Demonstrates how to search and automate a tree view control. |
| TabControlTest.py | Demonstrates how to search and automate a tab control. |
| MenuStripTest.py | Demonstrates how to use a menu strip control. |
| ToolStripTest.py | Demonstrates how to use a tool strip control. |
| ElementTest.py | Demonstrates how to use the element functions. |
| PixelColorTest.py | Demonstrates how to get and set the color of a pixel on the screen. |