"During a run session, if the object of an optional step does not exist, QuickTest bypasses this step and continues to run the test
However, if, during a run session, QuickTest cannot find the object from the optional step in the object repository it throws error "
I tried it as
optionalstep.Dialog("Login").Activate 'it throws error when dialog is not yet opened
optionalstep.Dialog("Loginnnnn").Activate 'it throws error as object's logical name in repository is just login
Now if i open the dialog ,
optionalstep.Dialog("Login").Activate ' no error but it is not bypassed!
So what should i write so that it will bypass activating the dialog???