Forum Discussion

harshad_w's avatar
harshad_w
Occasional Contributor
5 years ago

How to change the check box's state if it's not mappable individually?

Hi,   I want to tick the checkbox with a label. The checkbox is not mapped as an individual object. I tried various methods like    set_IsChecked, set_IsSelected, etc. I am passing a boolean valu...
  • BenoitB's avatar
    5 years ago

    If checkboxes are not  seen in spy then did u added the TreeView class  on the proper TestComplete Object Mapping entry (Tools \ Current Projet Properties) and then access to correct methods/properties ?

     

    Normally after that  your check box has the Checked property. And then just check its value and use object

     

    Did the label is seen as indiviual object ? If yes u can (dbl)click on it to set/unset the checkbox.

     

    If nothing work u can always click on it and then do pixel check (i know this is the very end way ..)