Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check object existing or not?
#8
Not Solved
Hi,
well u can use the "Exist" property of QTP
Code:
if obj.exist the
msgbox "true"
else
msgbox "false"
end if

hope this helps u.

regards,
Amit
9773539313
Reply


Messages In This Thread
How to check object existing or not? - by linhke - 01-10-2011, 03:01 PM
RE: How to check object existing or not? - by amitspandey - 01-11-2011, 08:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Check Object Spacing goaliema3026 0 1,631 06-25-2015, 01:10 AM
Last Post: goaliema3026
  Code not recognising Browser object as existing brigna 0 1,730 12-04-2014, 08:32 PM
Last Post: brigna
  Qtp can not identify existing script prit deo 0 1,808 03-03-2014, 04:23 PM
Last Post: prit deo
  Need to embed worksheet to already existing excel mahaktikoo 1 2,332 09-27-2012, 12:13 AM
Last Post: krr
  How to identify the object reference to the existing(already opened) Excel sheet yogeesh 1 9,789 09-26-2012, 07:00 PM
Last Post: krr

Forum Jump:


Users browsing this thread: 1 Guest(s)