Forum Discussion

deepa_samota's avatar
deepa_samota
Contributor
2 years ago

Desktop application checkbox issue

I am not able to check checkbox for desktop application ,getting following error     checkboxBrazil.ClickButton(cbChecked);   The check box was clicked, but the specified state was not set up .  ...
  • MW_Didata's avatar
    2 years ago

    Instead of clicking the checkbox, maybe you could set it as checked by using "set_item" or "wState [Set]"

    This is how I deal with most checkboxes, hope it works for you.

    Ex. 

    Set item is in a grid, it uses col and row to find the cell to change

    wState checks the namemapped item to true or false