There is no scientific information regarding the ability of BRAF testing to determine the cause of melanoma.
However, a doctor could speculate on the cause of a person's melanoma by asking them about their family medical history and exposure to potential environmental triggers.