Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
to check if an item in the list is disabled or not
#2
Not Solved
you will have to check the property called "disabled" or any other property like"readonly",etc

to do so...use the code as shown below

Code:
strDisabled=Browser().Page().webList().getRoProperty(<get the property using objectsp>)

I have noticed "disabled" holding value "true" if disabled and "false" if enabled.
If you dont see disabled property when you spy the object, you might have to look for other properties like readonly. etc.....if you didn't get this please spy the list item that you wnt to check and post the snap shot of the same.
Reply


Messages In This Thread
RE: to check if an item in the list is disabled or not - by ravi.gajul - 12-12-2011, 12:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is VBScripting disabled in Office 365 update? soumyarani 0 1,527 12-19-2020, 12:37 PM
Last Post: soumyarani
  How to select item within WebMenu learnasugo 4 8,106 10-11-2016, 03:35 PM
Last Post: learnasugo
  Compare second web list value according to the first web list value roselin6 1 2,838 10-07-2015, 09:14 PM
Last Post: supputuri
  Disabled Webelement is showing up as Visible =True in GUI Spy Shwethareddy 3 3,837 11-07-2012, 02:45 PM
Last Post: Ankesh
  How to select a particular check box from a list umer830 6 31,092 10-23-2012, 12:20 PM
Last Post: vjjohnson04

Forum Jump:


Users browsing this thread: 3 Guest(s)