OCBC Bank
eSense Learning Interview Questions and Answers
Q1. best practise design pattern
The best practice design pattern for software testing is the Page Object Model (POM).
POM separates the test logic from the UI, making tests more maintainable and reusable.
It improves test readability and reduces code duplication.
POM promotes modularity and allows for easier test maintenance and scalability.
It enhances collaboration between developers and testers.
Example: Using POM, each page of a web application is represented as a separate class, encapsulating the page eleme...read more
Q2. How to handle concurrent projects? Dealing with different stakeholders
Concurrent projects require prioritization and effective communication with stakeholders.
Prioritize projects based on their importance and urgency
Create a project plan with clear timelines and milestones
Communicate regularly with stakeholders to keep them informed of progress and any changes
Delegate tasks to team members and ensure they have the necessary resources and support
Monitor progress and adjust plans as needed
Use project management tools to track tasks and deadlines
B...read more
Q3. TestNG Framework Explanation
TestNG is a testing framework for Java that supports various testing levels and annotations.
TestNG allows for easy configuration of test cases using annotations like @Test, @BeforeTest, @AfterTest, etc.
It supports parameterization of test cases using @DataProvider annotation.
TestNG provides features like grouping of test cases, dependency management, parallel execution, and reporting.
It integrates well with build tools like Maven and Jenkins for continuous integration.
TestNG ...read more
Q4. what is the difference between array and arraylist
Array is a fixed-size data structure while ArrayList is a dynamic-size data structure in Java.
Array is a fixed-size collection of elements of the same data type, while ArrayList is a dynamic-size collection that can grow or shrink.
Arrays can store primitive data types and objects, while ArrayList can only store objects.
Arrays require a specified size during initialization, while ArrayList can dynamically resize itself.
Arrays use square brackets [] for declaration, while Array...read more
Q5. What design pattern you usually used?
I usually use the MVC (Model-View-Controller) design pattern in my projects.
Separates the application into three main components: Model (data), View (UI), and Controller (logic)
Promotes code reusability, modularity, and maintainability
Examples: Laravel framework in PHP, Spring framework in Java
Q6. difference between ref and out
ref is used for passing a variable by reference, out is used for returning a variable by reference
ref is used for passing a variable by reference, allowing the method to modify the variable
out is used for returning a variable by reference, typically used for returning multiple values from a method
Example: int x = 10; SomeMethod(ref x); // x can be modified inside SomeMethod
Example: int result; SomeMethod(out result); // result is returned by SomeMethod
Interview Process at eSense Learning
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month