dbattaglia
6 years agoContributor
Create Property on Test Object
Is there a way to create a property on a test object?
Essentially I'm looking for a way to add properties to a test object at runtime.
Example:
test_object = Aliases.Object
test_object.so...
- 6 years ago
TestComplete adds them... but as part of the object identification engine built into TestComplete and not in any way accessible to the user. So, generally, no... you cannot alter the property or method list on the objects.
Your best bet is to build a wrapper like you have to translate the object into your particular naming convention... but honestly, to me, that seems like a LOT of work to do to simply to satisfy the asthetic of a particular code formatting standard.