My question was either-or, so yes is not a answer that works
There is not really any point to test Gold bearing metals from Ewaste, the Gold is either clearly visible to the naked eye or trapped deep inside ICs.
For testing for Gold in solution, you want to search for Stannous Chloride. But basically, dissolve a few grams of Tin in 15ml of HCl. This has to be done hot, so the HCl will create a significant amount of corrosive vapor.