How to get every possibility

hi team
I m having an application with 6 tick boxes and i need to click that tick in all combinations how can I achieve this

Can someone help in this