To find the genes that may be responsible for a particular disorder scientists study families with a history of the condition. They compare the DNA of affected family members with each other and with unaffected family members.
If you think of the human genome as a map, what scientists are first looking for are some landmarks that tell them they are in the right neighbourhood. So they search for markers on a chromosome; specific regions of DNA that are shared by members of the family who have the condition. Some markers can be 'seen' by chemicals, others can affect a way a cell behaves.
All the while the scientists are zooming in, getting closer and closer to the gene or genes that may cause the disorder. What they want, and need to see is a common pattern of DNA changes in a gene that is shared only by the family members who have the condition. That is a very big indicator that the gene has been located. The results here are then compared with other studies of families who have the condition, and a pattern of gene variants that lead to the disease is gradually built up.