We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More

Forum Discussion

royd's avatar
royd
Regular Contributor
9 years ago
Solved

Input field missing setText method!

Hi, I have a very strange problem. In a form, a text field is missing setText method. This is the only field out of many that is missing setText! Using TestComplete 12 with JScript.   ...
  • tristaanogre's avatar
    9 years ago

    Yes... where you would use "SetText", simply use "Keys".  SetText is a method that is associated with certain components that have a read/write Text or wText property.  If those properties don't exist, TestComplete doesn't include the "SetText" method.  Keys basically simulates sending keystrokes to the control.