How to check an object is NOT there.
I have an object in my repository, and I would like to set up a checkpoint to check that this object is NOT on the current page.
At the moment, my rather dramatic solution is to rely on the fact that "Smart Identification" will always pick up the same object if the one I'm looking for is not there. this has the unhappy side affect of recording a "!" next to the test step in the results. Does anyone know of a solution to this problem?
Re: How to check an object is NOT there.
If Not myObject.Exist (5) Then
msgBox "my object is not displayed..."
de omnibus dubitandum
For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this