The material that has to be tested is contacted with the metal cap to detect charge. If the electroscope gold leaves diverge, the object is said to be charged. If there is no change in the electroscope leaves, the body is said to be uncharged.