Ask a Question

Desktop application checkbox issue

SOLVED
deepa_samota
Occasional Contributor

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 .  

1 REPLY 1
MW_Didata
Contributor

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. 

MW_Didata_0-1675932128380.png

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

cancel
Showing results for 
Search instead for 
Did you mean: