royd
8 years agoRegular Contributor
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.
Is there other methods available to enter the text in the field?
Thanks in advance.
Dave
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.