Check the fuses first. The clicking noise is from the switch operations and does not mean anything.
Next to test ould be the window motors. You need to remove the door panel and disconnect the window motor wires. Apply battery voltage to one terminal while grounding the other terminal. Reverse the polarity if necessary and if motor starts to work, they are good.
Continue with checking the master and door switch test.