Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Verify CheckBox is disabled
#2
Solved: 12 Years, 10 Months, 3 Weeks 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
  Check if the checkbox is checked or not? pjavvaru 5 16,831 11-28-2024, 03:54 PM
Last Post: Demon31
  How to check Checkbox in SSDBGrid in windows application RamUFT 0 1,472 02-13-2020, 07:34 PM
Last Post: RamUFT
  Webtable Checkbox in UFT Syahirah 7 12,862 11-15-2017, 03:47 PM
Last Post: Ankur
  object disabled eliass 1 2,161 05-30-2017, 02:28 AM
Last Post: Vichu M J
  [UFT] [WPF] Verify if the cell contains an image robertosalemi 0 2,307 10-25-2016, 06:57 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 1 Guest(s)