Forum Discussion
sshahin
13 years agoOccasional Contributor
Figured it out.
Set p = Sys.Process(MyProcess)
Set w = p.FindChild("WndCaption", "FindObjectContainingThisTextInWndCaption", 5)
If w.Exists Then
...
End If
The test will not fail if w.Exists is false.
FindChild method: http://support.smartbear.com/viewarticle/28019/
Set p = Sys.Process(MyProcess)
Set w = p.FindChild("WndCaption", "FindObjectContainingThisTextInWndCaption", 5)
If w.Exists Then
...
End If
The test will not fail if w.Exists is false.
FindChild method: http://support.smartbear.com/viewarticle/28019/