expression.PutText( _ ByVal text As String _ )
where expression is a variable that represents a WebElement Object
Parameters
- text
- The text to put in the field.
expression.PutText( _ ByVal text As String _ )
Sub PutDataInWebForm() Dim FormBoxFirst, FormBoxLast As Attachmate_Reflection_Objects.WebElement Set FormBoxFirst = ThisWebControl.Document.GetElementById("firstName") Set FormBoxLast = ThisWebControl.Document.GetElementById("lastName") FormBoxFirst.PutText ("Joe") FormBoxLast.PutText ("Buyer") End Sub