Forum Discussion
AlexeyKolosov
Staff
15 years agoHi Marek,
If you want to use your code in a keyword test, you need to add the code to a script unit within your project and run it using the Run Script Routine operation. After that, you need to set the value of the On-Screen Action operation to "Last Operation result". I've created a sample project for you demonstrating how to set a value of a text field in the Orders sample application shipped with TestComplete.