Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Static block is used to initialize static variables. Program to find duplicates in a string involves using a HashMap to store characters and their counts.
Create a HashMap to store characters and their counts
Iterate through the string and update the counts in the HashMap
Iterate through the HashMap and print characters with count > 1 as duplicates
I applied via Naukri.com and was interviewed in Mar 2022. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Oct 2021. There was 1 interview round.
Sort an array of strings in ascending order
Use built-in sorting function like Array.sort()
Provide a compare function to sort based on string values
Use the ASCII values of characters to compare strings
What people are saying about EPAM Systems
I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.
We are using the Selenium framework for automation testing in our project.
Selenium is a popular open-source automation testing framework
It supports multiple programming languages like Java, Python, C#, etc.
Selenium WebDriver is used for automating web applications
It provides features for browser automation, testing across different browsers, and parallel test execution
Framework structure refers to the organization and layout of the automation framework components.
Framework structure includes modules, libraries, test scripts, configuration files, and test data.
It follows a hierarchical structure with layers such as driver scripts, reusable libraries, and test cases.
Frameworks can be structured as linear, modular, data-driven, keyword-driven, or hybrid.
Example: In a data-driven framew...
findelement returns the first matching element on a webpage, findelements returns a list of all matching elements.
findelement returns a single WebElement, findelements returns a list of WebElements
findelement throws NoSuchElementException if no element is found, findelements returns an empty list
Example: driver.findElement(By.id("exampleId")) vs driver.findElements(By.className("exampleClass"))
Handling multiple tabs in Selenium involves switching between tabs and performing actions on each tab.
Use getWindowHandles() to get a set of window handles
Switch to a specific tab using switchTo().window(handle)
Perform actions on the tab
Close the tab if needed using driver.close()
Hashmaps are data structures that store key-value pairs and allow for efficient retrieval of values based on keys.
Hashmaps are also known as dictionaries, maps, or associative arrays.
They use a hash function to map keys to indices in an underlying array.
Hashmaps offer constant-time average case complexity for insertion, deletion, and lookup operations.
Example: HashMap
Try and catch blocks are used in programming to handle exceptions and prevent the program from crashing.
Try block is used to enclose the code that might throw an exception
Catch block is used to handle the exception thrown in the try block
It prevents the program from crashing and allows for graceful error handling
Can also include finally block to execute code regardless of whether an exception is thrown
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can access the properties and methods of the base class
Example: Class 'Car' can inherit from class 'Vehicle'
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Use Selenium WebDriver to find all web elements in a web page
Instantiate a WebDriver object using Selenium
Use findElements method to locate all elements on the page
Store the found elements in a list for further processing
Code to find implicit and explicit wait in automation testing
For implicit wait, set a global timeout for the driver to wait for elements to be available before throwing an error
Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
For explicit wait, wait for a specific condition to be met before proceeding with the test
Example: WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedCo...
Code to find occurrence of a character in a given string
Iterate through each character in the string
Count occurrences of the specified character
Return the total count of occurrences
I applied via Job Portal and was interviewed in Aug 2023. There was 1 interview round.
posted on 24 Aug 2024
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
I applied via Approached by Company
Project structure refers to the organization of files, folders, and resources within a software project.
Main folders like src (source code), test (test cases), lib (libraries), docs (documentation)
Subfolders for specific modules or components
Configuration files like pom.xml, package.json, etc.
Build scripts like Jenkinsfile, Dockerfile
Version control files like .gitignore, .gitattributes
README.md file for project overvi
I applied via LinkedIn and was interviewed in Sep 2024. There was 1 interview round.
Hard assert is a type of assertion in test automation that stops the test execution immediately when a failure occurs.
Hard assert is used to validate the expected outcome of a test case
If the assertion fails, the test execution is halted and marked as failed
It is commonly used in automated test scripts to ensure the correctness of the application under test
Soft assert is a way to continue the execution of a test case even after an assertion failure.
Soft assert does not stop the execution of the test case when an assertion fails.
It is useful when you want to log the failure but continue with the remaining test steps.
Soft assert is commonly used in test automation frameworks like TestNG in Java.
posted on 12 Aug 2024
I applied via Job Portal and was interviewed in Jul 2024. There were 2 interview rounds.
Senior Software Engineer
2.6k
salaries
| ₹11 L/yr - ₹42 L/yr |
Software Engineer
1.7k
salaries
| ₹5.7 L/yr - ₹24 L/yr |
Lead Software Engineer
844
salaries
| ₹18 L/yr - ₹52 L/yr |
Senior Systems Engineer
297
salaries
| ₹14 L/yr - ₹36.3 L/yr |
Software Test Automation Engineer
270
salaries
| ₹6 L/yr - ₹20 L/yr |
TCS
Infosys
Wipro
HCLTech