Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check object existing or not?
#1
Not Solved
Hi all,

I have this case as:
- Select country that has states, the State drop down is displayed
- Select country that does not have any states, the State drop down is not displayed.
i use the command to check as: rc = Browser("OSS").Page("ManageCustomer").Frame("CustomerDetail").WebList("ddlState").GetROProperty ("disabled").
But the return value of rc is always '0'.
I tried get visible property but the return value is always 'True'.

So i want to ask is there any way to check this case?

Thanks,
linhke


Attached Files Image(s)
   
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Check Object Spacing goaliema3026 0 1,711 06-25-2015, 01:10 AM
Last Post: goaliema3026
  Code not recognising Browser object as existing brigna 0 1,803 12-04-2014, 08:32 PM
Last Post: brigna
  Qtp can not identify existing script prit deo 0 1,899 03-03-2014, 04:23 PM
Last Post: prit deo
  Need to embed worksheet to already existing excel mahaktikoo 1 2,409 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,918 09-26-2012, 07:00 PM
Last Post: krr

Forum Jump:


Users browsing this thread: 1 Guest(s)