It depends on candidate likeif he/she is a fresher or experienced. If you are experienced candidate they should ask what are the frameworks till now you used till now and etc., Maximum Maximum of 5% to 10% of java will usebe used in selenium. But interviewer will ask more questions on java only. So we need to prepare more on core java all basic concepts.
Here are some Java topics that you need to know to crack an interview.
- OOP’s concept – Class, Objects Polymorphism, Inheritance and Encapsulation
- Java Programming essentials- Object Instances, method overloading/overriding concepts and packages
- Control Statements – While, do-While, Switch, If statements – This will help us in writing the scripts for a multiple scenario statements and decision making scenarios.
- Looping statements – This will help us in scenarios like, iterating through a large table to find a record that you want and Running the same test for multiple number of times.
- Arrays Concepts – This will help us in having some set of datas of same type in a static way.
- Threads and MultiThreading Concepts – This will help us in making run our scripts in different threads that will help us in achieving better performance.
- Java Collections Framework – ArrayLists and HashMaps – This will help us in maitaining a collection of data’s. Particularly useful for scenarios where you need to compare the data from Web app UI with the DB. [OR] From UI to another UI
- File Streams – This will be helpful in externalization of data through CSV, Excel or Java Properties file.
1.OOP’s concept – Class, Objects Polymorphism, Inheritance and Encapsulation
2.Java Programming essentials- Object Instances, method overloading/overriding concepts and packages
3.Control Statements – While, do-While, Switch, If statements – This will help us in writing the scripts for multiple scenario statements and decision making scenarios.
4.Looping statements – This will help us in scenarios like, iterating through a large table to find a record that you want and Running the same test for multiple number of times.
5.Arrays Concepts – This will help us in having some set of datas of same type in a static way.
6.Threads and MultiThreading Concepts – This will help us in making run our scripts in different threads that will help us in achieving better performance.
7.Java Collections Framework – ArrayLists and HashMaps – This will help us in maintaining a collection of data’s. Particularly useful for scenarios where you need to compare the data from Web app UI with the DB. [OR] From UI to another UI
8.File Streams – This will be helpful in externalization of data through CSV, Excel or Java Properties file.
Selenium:
What are the limitations of selenium?
Can we automate captcha? How we will handle? (If your answer is NO/Yes)
Can bar-code be automated?
Can webdriver test mobile applications?
1.What are the limitations of selenium?
2.Can we automate captcha? How we will handle? (If your answer is NO/Yes)
3.Can bar-code be automated?
4.Can webdriver test mobile applications?
Click Here you can find most popularly asked questions in selenium.