It takes few days.
The process is that you need to apply for the job, by submiting a cv and then a test is given if you are shortlisted. After the test you wait for a call .
You submit a CV and then receive a call to go and write a test and then after two weeks you receive an SMS to come for training only if you had an opportunity to pass the test. As long as you follow rules and regulations of the company you can stay as long as you want.