There are total 3 rounds(2 Technical and 1 managerial)
Q1: Reverse string(without reversing special characters)
Input : I am&## I
Q2: third highest salary
Q3: Write selenium code to open browser and navigate to url . Suppose alert is opened in the webpage Then how will you send text to alert, accept alert and close alert.
Q4: With Restassured, write code to get response from api, verify status code, and extract value from json body
Interview Result : Selected to next round.
Difficulty level: Medium
The overall interview experience in second round was bad as the interviewer was asking some random questions not related to my current role/profile . I was not asked even a single coding Question or SQL Question which I felt was very weird. I guess I will not be selected for next round.
Below are some questions:
a) how to setup Jenkins on cloud
b) what is difference docker and microservice.
C) what is Microservice architecture
d) what are the design pattern you have worked on. (I answered that I have worked on Singleton pattern and factory method. I was expecting he would ask me some questions on the patterns but he didn't 😅)
e) Why pojo class is used only in java (not in other programming languages)
f) What is playwright. Why use playwright. What is websocket protocol.
g) Suppose in existing API, a new field is added in payload by developer and your Automation is failing in Regression due to this. What code changes will you do in your automation framework so that your Automation support both old/new API. (I Suggested to add configuration named version with values v1/v2 in configuration file. Add if-else condition in code to support both versions of API. I think the interviewer was expecting something else