RE: Need help with the following selenium queries
I was asked the following questions in an interview for
which I was not sure what to reply –
- Could you please draw the testing hybrid framework which you are using at work . He didn’t asked for code – but a diagram about the framework.
- He asked me to write a code about the following :-
- Open a browser
- Open flipkart.com
- Login via username and password
- The above points were pretty simple . I wrote the code . The next thing he asked to write the code – if there are 5 users (from different parts of the world) who needs to login – I told him about parameterization , but he asked me to think of some other method. Do I have to use the data driven concept from excel or I have to say about selenium grid.
You almost did it right, but It could have been better:
If the intent is to test the LogIn sequentially : Parameterisation with Data Driven Technique
If the intent is to test the parallel LogIn : Parallel testing using TestNG
If the intent is to test the parallel LogIn from different machines/locations : Grid is the right choice.
But yes you were right for everything, I am sure you must have done well in your interview. Wish you Luck.