Filter interviews by
I applied via Naukri.com and was interviewed in Feb 2021. There were 4 interview rounds.
Top trending discussions
I applied via Instahyre and was interviewed before Oct 2023. There were 6 interview rounds.
CSE core concepts and basic aptitude, few code snippet analysis
Kind of to explain selenium framework in detail.
I applied via Referral and was interviewed in Feb 2022. There was 1 interview round.
Sort a given array of strings
Use built-in sorting functions in programming languages
Implement sorting algorithms like bubble sort, merge sort, etc.
Consider case sensitivity and special characters
The maximum number of repeating characters in a string needs to be determined.
Iterate through each character in the string and keep track of the count of consecutive repeating characters.
Update the maximum count whenever a new maximum is found.
Return the maximum count at the end of the iteration.
Explaining type script and java script arrow function loops with if else condition.
TypeScript and JavaScript both support arrow functions for concise syntax.
Arrow functions can be used in loops to simplify code.
If-else conditions can be used with arrow functions to add logic.
Example: const numbers = [1, 2, 3]; numbers.forEach(num => {if(num % 2 === 0) {console.log(num + ' is even');} else {console.log(num + ' is odd');
Selenium is widely used for web automation while Cypress is a newer tool with better performance and debugging capabilities.
Selenium supports multiple programming languages while Cypress only supports JavaScript.
Cypress has a built-in test runner and debugger while Selenium requires third-party tools.
Selenium is better for cross-browser testing while Cypress is better for end-to-end testing.
Choose Selenium for larger a...
Comparator and Comparable are interfaces used for sorting objects in Java.
Comparator interface is used to sort objects based on custom criteria.
Comparable interface is used to sort objects based on their natural order.
Comparator interface has two methods: compare() and equals().
Comparable interface has one method: compareTo().
I applied via Naukri.com and was interviewed in Nov 2021. There was 1 interview round.
Reverse a given string
Create a new empty string to store the reversed string
Iterate through the original string from end to start and append each character to the new string
Return the reversed string
posted on 24 Apr 2024
I applied via Approached by Company and was interviewed in Mar 2024. There was 1 interview round.
Use Newton's method to find square root without Math.sqrt() in Java.
Initialize a variable to store the guess value of square root
Iterate until the difference between the guess and actual square root is within a desired threshold
Update the guess value using the formula: guess = (guess + number/guess) / 2
Java code to add digits of a number until the sum is a single digit
Create a function that takes an integer as input
Use a while loop to keep adding the digits until the sum is a single digit
Convert the number to a string to easily access individual digits
Java code to print a particular pattern using loops
Use nested loops to iterate through rows and columns
Print specific characters based on the row and column index
Example: Printing a pyramid pattern
Coding test on hackerrank. Solve 30 day code challange on haackerrank and you will be able to clear it.
posted on 12 Jun 2023
I applied via LinkedIn and was interviewed in Dec 2022. There was 1 interview round.
Oops Concepts of Java are fundamental principles of object-oriented programming.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability of a method to do different things based on the object it is acting upon.
Abstraction: Hiding the implementation details and showing only the necessary fe
To validate the correct URL loaded, check the current URL in the browser.
Get the current URL from the browser using driver.getCurrentUrl() method in Selenium.
Compare the current URL with the expected URL to validate correctness.
Use assertions or conditional statements to confirm if the URL is correct.
Consider handling any redirects or dynamic URLs that may affect validation.
Utilize regular expressions for more flexible
Alert handling in Selenium involves handling pop-up alerts, confirmation alerts, and prompt alerts.
Use driver.switchTo().alert() method to handle alerts
To accept an alert, use alert.accept() method
To dismiss an alert, use alert.dismiss() method
To get text from an alert, use alert.getText() method
To send text to a prompt alert, use alert.sendKeys() method
Mouse actions can be performed using Selenium WebDriver by using Actions class
Create an instance of Actions class
Use methods like moveToElement, click, doubleClick, contextClick, dragAndDrop, etc.
Perform the desired action by calling the respective method on the Actions object
You can read data from an Excel file using Apache POI library in Selenium.
Use Apache POI library to interact with Excel files
Create a FileInputStream object to read the Excel file
Create a Workbook object to represent the Excel file
Get the desired sheet from the Workbook
Iterate through rows and cells to read data
Waits in Selenium are used to make the automation script wait for a certain condition to be met before proceeding.
Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit Wait: Waits for a certain condition to be met before proceeding.
Fluent Wait: Waits for a condition with a defined maximum amount of time.
Thread.sleep(): Pauses the execution for a specified amount of time.
posted on 12 Mar 2023
I applied via LinkedIn and was interviewed in Feb 2023. There were 2 interview rounds.
based on 1 review
Rating in categories
Software Development Engineer II
82
salaries
| ₹10 L/yr - ₹15.5 L/yr |
Devops Engineer
44
salaries
| ₹6.4 L/yr - ₹18 L/yr |
Development Engineer 3
38
salaries
| ₹13.5 L/yr - ₹23 L/yr |
Software Developer
36
salaries
| ₹6 L/yr - ₹24.5 L/yr |
Engineer III
30
salaries
| ₹10 L/yr - ₹20 L/yr |
Cisco
Microsoft Corporation
Intel
IBM