Filter interviews by
I applied via Naukri.com and was interviewed in Nov 2021. There were 3 interview rounds.
Top trending discussions
I applied via Monster and was interviewed before Oct 2020. There were 3 interview rounds.
I applied via Job Portal
Time frame one hour, 60 questions
I applied via Job Portal and was interviewed before Jun 2023. There was 1 interview round.
Hashmap is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
Hashmap is implemented using an array of linked lists or buckets to handle collisions.
Each key is hashed to determine its index in the array.
Common operations include put(key, value), get(key), and remove(key).
Example: HashMap
getWindowHandles returns all open window handles, getWindowHandle returns handle of current window
getWindowHandles returns a set of all window handles currently open in the browser
getWindowHandle returns the handle of the current window being focused on
Example: driver.getWindowHandles() vs driver.getWindowHandle()
I applied via Approached by Company and was interviewed before Apr 2023. There were 3 interview rounds.
Basic selenium automation coding question and QA related MCQs
Count duplicates in a string
Iterate through the string and store each character in a hashmap with its count
Return the count of characters with count greater than 1
Program to sort array of strings
Use a sorting algorithm like bubble sort, selection sort, or merge sort
Compare strings using strcmp() function in C or compareTo() method in Java
Handle edge cases like empty array or array with only one element
I applied via Referral and was interviewed in Dec 2024. There was 1 interview round.
Extract the 14 characters before @ in a given URL
Use string manipulation to extract characters before @ symbol
Consider edge cases like no @ symbol or less than 14 characters before @
Handle special characters like %20 or %40
Regex pattern to match at least one capital letter, one small case letter, one digit, and one special character.
Use the regex pattern: (?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[^A-Za-z0-9])
Example: Password@123
Code to output each word with vowel count in a given string.
Split the string into words using space as delimiter
Iterate through each word and count the number of vowels
Store the word and its vowel count in an array of strings
To find the maximum diagonal sum in a 2X2 Matrix, sum the elements of the main diagonal and the opposite diagonal.
Sum the elements of the main diagonal (top left to bottom right) and the opposite diagonal (top right to bottom left).
Compare the sums of both diagonals and return the maximum sum.
Example: For a 2X2 Matrix [[1, 2], [3, 4]], the main diagonal sum is 1+4=5 and the opposite diagonal sum is 2+3=5. The maximum d
To find the selected option text from a dropdown in Selenium, you can use the getFirstSelectedOption() method.
Use the Select class to work with dropdown elements in Selenium
Use the getFirstSelectedOption() method to get the selected option
Retrieve the text of the selected option using getText() method
Find duplicates in a dropdown along with their occurrence/frequency.
Iterate through the dropdown options and store each option in a hashmap with its frequency.
Identify options with frequency greater than 1 as duplicates.
Return the duplicates along with their occurrence/frequency.
Resolve merge conflicts in git by using git commands and tools.
Pull the latest changes from the remote repository
Use 'git status' to identify conflicting files
Open the conflicting files and manually resolve the conflicts
Add the resolved files to the staging area using 'git add'
Commit the changes with a merge message using 'git commit'
Use git cherry-pick command to bring specific commit changes to your branch.
Identify the commit hash of the specific changes you want to bring to your branch.
Checkout to the branch where you want to apply the changes.
Use 'git cherry-pick <commit-hash>' command to apply the specific commit changes to your branch.
To switch to a frame in Selenium, use driver.switchTo().frame() method. To come out of a frame, use driver.switchTo().defaultContent() method.
Use driver.switchTo().frame() method to switch to a frame
Use driver.switchTo().defaultContent() method to come out of a frame
Example: driver.switchTo().frame("frameName");
Example: driver.switchTo().defaultContent();
Java code to find a substring in an array of strings
Use the contains() method to check if a string contains the substring
Iterate through the array of strings and check each string for the substring
Use the indexOf() method to find the index of the substring within the string
Write getter setter for a scenario in a Senior QA Engineer interview
Create private variables for the data you want to get and set
Create public getter methods to access the private variables
Create public setter methods to modify the private variables
I applied via Referral and was interviewed in Mar 2024. There was 1 interview round.
posted on 19 Jul 2024
Implement log rotation, set up log expiration policies, compress logs, use log aggregation services.
Implement log rotation to limit the size of individual log files.
Set up log expiration policies to automatically delete old logs.
Compress logs before storing them in AWS to reduce storage space.
Use log aggregation services like AWS CloudWatch Logs to centralize and manage logs efficiently.
I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.
Senior Software Engineer
46
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Analyst
30
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
27
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
24
salaries
| ₹0 L/yr - ₹0 L/yr |
System Analyst
18
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
Tech Mahindra