Java Interview Questions for SDET Role
Munish Chandel | July 27, 2018 at 10:59 PM | 242 views
Interview experience for SDET Java Role (Java, Cucumber, Selenium and TestNG)
Basic Questions
-
What is idempotent operation? What methods should be made idempotent.
-
What are common HTTP methods in REST you have used?
-
HTTP Status Codes 1.x to 5.x Explain the differences.
-
How will you make REST automation framework? API automation
-
What is super class in Java?
-
How will you make sure that main thread is the last one to exit?
-
Main Interfaces in Collections API - List, Set, Map. What is difference between them?
-
Enumerator vs Iterator? Which one is thread safe?
-
Can collection classes be made serializable. How to achieve that?
-
catch NPE first and Exception in last, will that work? Discuss the exception hierarchy.
-
Error and exception difference with example. StackoverflowError, OOMError, etc.
-
Custom exceptions, how will you create one?
-
How will you compare two java objects?
-
Multiple inheritance in Java? How does Java 8 addresses this?
-
overriding and overloading difference.
-
Inheritance vs Composition in Java.
Testing Questions
-
JUNIT vs TestNG what are differences? Which one is better for QA?
-
TestNG hierarchy - Tests, suites, classes, etc.
-
Parameterization of tests in TestNG and data providers.
-
TestNG Listeners. Uses
Linux
-
Shell scripting
-
How to create a service for running jar
SQL (non-oracle)
-
Employee and Department table - all employees from employee table and only departments that exists for a employee from department table. Left outer join.
-
How to delete duplicate records from a given table. (dulicate based on specified fields)
Algorithms Questions
-
Searching an elements from a sorted and rotated array.
-
Find two numbers of which the product is maximum in an array. sort and multiply first or last two elements.
-
Sorting algorithms
-
How to find the relative efficiency of a given algorithms
Build and Automation
-
How is your CI and build environment setup in your project.
-
API Testing suite
-
Data Preparation for each test suite run

ebook PDF - Cracking Java Interviews v3.4 by Munish Chandel
240 real Java interview questions on core Java, concurrency, algorithms, design & data structures, spring, hibernate for Investment Bank, Healthcare IT, product and service based companies, Author : Munish Chandel, Price: 250, Type: PDF
Subscribe to Blog via Email
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Similar Articles:
Facebook Page
Related Topics
Similar Posts
Free Email Updates (100+ Subscribers)
Enter your email address to subscribe to this blog and receive notifications of new posts by email.