Round 1: Bar-raiser (external interviewer)
Questions:
Question
-
Reverse string (without reversing special characters)
Input: I am$&## Groot
Output: toorG ma$&## I -
Third highest salary
-
Write Selenium code to open browser and navigate to URL. Suppose an alert is opened in the webpage. Then how will you send text to alert, accept alert, and close alert?
-
With RestAssured, write code to get response from API, verify status code, and extract value from JSON body.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 2: Technical round (Internal)
Questions:
Specific question not provided.
Below are some questions:
- a) How to set up Jenkins on cloud?
- b) What is the difference between Docker and microservices?
- c) What is Microservice architecture?
- d) What are the design patterns 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 is POJO class 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 supports both old/new API? (I told to use 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.)
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.