ountries, pre-employment medical exams are not allowed to test for HIV. This is because HIV is not considered a safety hazard in the workplace, and testing for it can be seen as a form of discrimination. However, there are some exceptions to this rule. For example, in some countries, it may be legal to test for HIV if the job involves close contact with bodily fluids, such as in a healthcare setting.
If you're concerned about the possibility of being tested for HIV during a pre-employment medical exam, you should talk to a doctor or lawyer in your country. They can give you more specific information about the laws and regulations in your area.