Forum Discussion

Yarnos's avatar
Yarnos
Occasional Contributor
9 years ago

Check whether object is (Null Object)

What is the best way to check whether an object equals a (Null Object) in VB in TestComplete   Using IsObject/IsNull/Is Nothing wont work.   IsObject returns true because it still sees it as an o...
  • HKosova's avatar
    HKosova
    9 years ago

    "Is Nothing" should work for null objects:

    If Not objHeader Is Nothing Then