Yes, TestComplete provides special objects that wrap Qt controls, so you can use the wrappers' properties and methods instead of the control's native properties and methods. Please go through the 'Working With Qt Controls' help topic - it contains the information you need.
TestComplete's QtLineEdit object is a wrapper for the Qt LineEdit control, and to set the text of the control, you can use the object's wText property. For example:
Actually, the setText method requires a parameter of the QString class. That is why, TestComplete provides the QtLineEdit object that gives you scripting access to the control. Also, the QtLineEdit object allows you to test custom controls which are based on the QLineEdit control.
Best regards, Alexey
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️