Forum Discussion

jack_edwards's avatar
jack_edwards
Occasional Contributor
9 years ago

How to get IsSupported to return False for stub objects?

Like the title says, I would like to have the IsSupported method (or some similar method) to return False when a stub object does not have a given property.  The reason for this is we are trying to v...
  • HKosova's avatar
    HKosova
    9 years ago

    Jack,

     

    IsSupported = True for stub objects is by design and documented.

     


    jack_edwards wrote:

     

    The simplest solution, we think, is to just modify the script to work around the Auto-wait timeout.


    Yes, that's probably the best way to handle this. Set Options.Run.Timeout to 0 at the beginning of your validation function, and restore the initial value at the end.