Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Verify CheckBox is disabled
#2
Solved: 11 Years, 4 Months ago
Hi Brian,

You can use the "disabled" property of the checkbox to verify whether the checkbox is enabled or disabled. If the checkbox is disabled it will return you "1" and "0" if it is enabled.

E.g.
Code:
sStatusChkBox = Browser("...").Page("...").Frame("...").WebCheckBox("Selection4").GetROProperty("disabled")

You can then use the status to validate and proceed ahead.

HTH.

Cheers,
Vijayendra
Reply


Messages In This Thread
Verify CheckBox is disabled - by Brian T. - 06-22-2010, 11:35 PM
RE: Verify CheckBox is disabled - by vijayendra.shukla - 06-23-2010, 07:53 AM
RE: Verify CheckBox is disabled - by Brian T. - 06-24-2010, 01:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check Checkbox in SSDBGrid in windows application RamUFT 0 1,089 02-13-2020, 07:34 PM
Last Post: RamUFT
  Webtable Checkbox in UFT Syahirah 7 11,444 11-15-2017, 03:47 PM
Last Post: Ankur
  object disabled eliass 1 1,713 05-30-2017, 02:28 AM
Last Post: Vichu M J
  [UFT] [WPF] Verify if the cell contains an image robertosalemi 0 1,897 10-25-2016, 06:57 PM
Last Post: robertosalemi
  Need to verify the drop down values based on condition santhoshmscsoftware 1 2,906 05-04-2016, 11:28 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 2 Guest(s)