Wha country are you in, Rachid?
To take the mechanic exam for a union company, you need to be a member of the International Union of Elevator Constructors. Our local office is 1-800-428-5226. But it is highly unlikely to join now, as there are many out of work on the "list".
The National Association of Elevator Contractors has an accredited education program, (or two?) One is called Certified Elevator Technician.
Good luck.