Forum Discussion

royd's avatar
royd
Regular Contributor
8 years ago

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
    8 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.