EPAM Systems
Medidigest System Interview Questions and Answers
Q1. Tell me about your framework
My framework is a data-driven automation framework built using Selenium WebDriver and TestNG.
Built using Selenium WebDriver for web automation
Utilizes TestNG for test case management and execution
Follows data-driven approach for test data separation
Includes reporting features for test result analysis
Q2. longest prefix in a given array of words
Find the longest common prefix among an array of strings
Iterate through the characters of the first word and compare with the corresponding characters of other words
Stop when a mismatch is found or when reaching the end of any word
Return the prefix found so far
Q3. Diff between abstract and interface
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while interface cannot have any implementation.
A class can extend only one abstract class but can implement multiple interfaces.
Abstract classes are used to define a common behavior for subclasses, while interfaces are used to define a contract for classes to implement.
Example: Abstract class - Animal with ab...read more
Q4. Sort arraylist with a custom object.
Sort arraylist of custom objects using Comparator interface.
Implement Comparator interface in custom object class.
Override compare method to define custom sorting logic.
Use Collections.sort() method to sort the arraylist.
Q5. Explain Static keyword in Java
Static keyword in Java is used to create class-level variables and methods that can be accessed without creating an instance of the class.
Static variables are shared among all instances of a class.
Static methods can be called without creating an object of the class.
Static blocks are used to initialize static variables.
Static keyword can also be used to create static nested classes.
Q6. Explain FInal Keyword in java
Final keyword in Java is used to restrict the user from changing the value of a variable, making it a constant.
Final keyword can be applied to variables, methods, and classes.
Final variables must be initialized and cannot be reassigned.
Final methods cannot be overridden in subclasses.
Final classes cannot be subclassed.
Q7. Test Plan vs Test Strategy
Test plan outlines the scope, approach, resources, and schedule for testing, while test strategy defines the overall testing approach and goals.
Test plan is a detailed document that describes the scope, objectives, resources, schedule, and approach for testing a specific feature or product.
Test strategy is a high-level document that outlines the overall testing approach, goals, resources, and timelines for the entire project.
Test plan is more detailed and specific to a partic...read more
Interview Process at Medidigest System
Top Senior Test Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month