Forum Discussion

wnull3's avatar
wnull3
Occasional Contributor
8 years ago
Solved

Delphi keyword script If object exists then else statement

I'm trying to setup my test that If and Object exists then the operation (keys) performs [Enter]   else   continue with script.   so basically if the object is there perform [Enter] and move on...
  • Ryan_Moran's avatar
    8 years ago

    Basically...

     

    pseudocode:

     

    If WaitObject.Exists Then

        Object.Keys("whatever")

    End If

     

    Also, make sure you use the wait method.

    See example in the link.