Options Object > Properties > AutoGenerateWith Property
AutoGenerateWith Property
Indicates whether 'With' statements are automatically generated after recording.
Property type
Read-write property
Visual Basic
Public Property AutoGenerateWith As Boolean
Return Type
  • True--Instructs UFT to automatically generate With statements when you record according to the setting in the WithGenerationLevel property.
  • False--Instructs UFT not to generate With statements when you record.
See Also