cancel
Showing results for 
Search instead for 
Did you mean: 

Object exist problem

Highlighted
Regular Contributor

Object exist problem

Set obj = ..................
If (obj.Visible = true And obj.Exists = True)

 

    ........

Else

     ''''''''''

End IF

 

In the above code, i got error on 1st line also where object is only specify..... i think , it should be in Exists properties always by default.
What you think about it

2 REPLIES 2
Highlighted
Community Hero

*duplicate post*

Highlighted
Community Manager

Hi Kaiiii,

 

 

You need to use Wait together with Exists:

if (Waitobj.Exists)
  \\ your code
---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors