Ask ChatGPT. He answers your general question correctly in a few seconds and gives you useful information. Then you need to look for more detailed instructions in specialized literature yourself.
Cadmium is colorless. Cobalt should change its color depending on the media. It is weakly pink if in distilled water, and becomes intensely blue in chlorhydric acid 9M or above.
i suggest you use XRF for determination of cobalt and for cadmium you can use FTIR and raman az well. but depends on the condition of their bonds in molecule they need diferent methods