How to set the text of a text box in Python?

Class library usage, coding and language questions.
bszot
Posts: 3
Joined: Sat Jul 22, 2006 8:25 am

How to set the text of a text box in Python?

Post by bszot » Sat Jul 22, 2006 8:42 am

I use RanorexPython and want to automate some simple controls.
CheckBox, Button and ComboBox works fine, but I cannot find a function EditboxSetText.
How can I set the text of a text box?

admin
Site Admin
Site Admin
Posts: 350
Joined: Wed Jul 05, 2006 7:44 pm

Post by admin » Sun Jul 23, 2006 9:44 am

You can use the control functions for every control type.
To set the text of an edit box, use ControlSetText(editbox,'text').
Please study the sample ControlTest.py, you can see here, how to use the control functions.

Jenö Herget
Ranorex