Filter interviews by
I applied via Job Fair and was interviewed before Jul 2021. There were 2 interview rounds.
What is meant by string
Inheritance
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
Yes, constructors are non-static methods used to initialize objects of a class.
Constructors are special methods used to initialize objects of a class.
They are non-static, meaning they are called on an instance of the class.
Constructors have the same name as the class and do not have a return type.
Example: public class Test { public Test() { // constructor code } }
To get elements from a drop down, I use Selenium WebDriver's Select class
Use Select class from Selenium WebDriver to interact with drop down elements
Identify the drop down element using its locator
Instantiate a Select object with the drop down element
Use Select object's methods like selectByVisibleText(), selectByValue(), selectByIndex() to choose an option
Select is a class in Selenium WebDriver.
Select is used for handling dropdowns in Selenium WebDriver.
It provides methods to select options by visible text, value, or index.
Example: Select dropdown = new Select(driver.findElement(By.id("dropdown")));
Example: dropdown.selectByVisibleText("Option 1");
To read data from Excel, use libraries like Apache POI or Openpyxl in Python.
Use libraries like Apache POI or Openpyxl in Python to read data from Excel files
Identify the Excel file and specify the sheet and cell from which to read data
Use appropriate methods provided by the library to extract data from the specified cell or range
I have used various types of test automation frameworks including data-driven, keyword-driven, and behavior-driven frameworks.
Data-driven framework: Used to separate test data from test scripts, allowing for easier maintenance and scalability. Example: TestNG with Excel or CSV files.
Keyword-driven framework: Utilizes keywords to represent actions or operations, making test scripts more readable and reusable. Example: R...
Array is a fixed-size data structure while ArrayList is a dynamic-size data structure in Java.
Array is a fixed-size data structure in Java, while ArrayList is a dynamic-size data structure.
Arrays can hold primitive data types and objects, while ArrayList can only hold objects.
Arrays require a specified size during initialization, while ArrayList can dynamically resize itself.
Arrays use square brackets [] for declaratio...
Array list stores elements in contiguous memory locations, while linked list stores elements in nodes with pointers to the next node.
Array list allows random access to elements based on index, while linked list requires traversal from the beginning to access elements.
Insertions and deletions are faster in linked list as it only requires updating pointers, while in array list it may require shifting elements.
Array list ...
Challenges in automation include complex test scenarios, maintenance of scripts, and compatibility issues.
Complex test scenarios require thorough planning and execution.
Maintenance of scripts is essential to keep them up-to-date with application changes.
Compatibility issues arise when automation tools do not support all technologies used in the application.
Different types of exceptions include checked, unchecked, runtime, and custom exceptions.
Checked exceptions are checked at compile time and must be handled using try-catch or throws keyword.
Unchecked exceptions are not checked at compile time and can be handled using try-catch or left unhandled.
Runtime exceptions are unchecked exceptions that occur at runtime, such as NullPointerException or ArrayIndexOutOfBoundsExcept...
I use a combination of tools such as Jira, TestRail, and Excel for reporting.
Jira for tracking bugs and issues
TestRail for test case management and execution results
Excel for creating customized reports and data analysis
Assert is used to validate the expected result while verify is used to check the actual result without stopping the execution.
Assert is used to validate the expected result and if the assertion fails, the test is marked as failed and stops execution.
Verify is used to check the actual result against the expected result but does not stop the execution even if the verification fails.
Assert is commonly used for critical ch...
Pushing code to GitHub involves using Git commands to add, commit, and push changes to a remote repository.
Use 'git add .' to stage all changes
Use 'git commit -m 'Your commit message here'' to commit changes
Use 'git push origin master' to push changes to the master branch on GitHub
Selenium is a popular open-source automation testing tool used for web application testing.
Selenium is used for automating web browsers.
It supports multiple programming languages like Java, C#, Python, etc.
Selenium WebDriver is the most commonly used component for writing test scripts.
Selenium IDE is a record and playback tool for creating quick tests.
Selenium Grid is used for parallel testing across different browsers
In Selenium, waits are used to make the automation scripts wait for a certain amount of time before executing the next step.
Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit Wait: Waits for a certain condition to occur before proceeding further.
Fluent Wait: Waits for a condition to be true with a specified polling frequency.
Thread.sleep(): Pauses the execution for a spe
Oops concepts in Java are the principles of Object Oriented Programming such as Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Allows objects to be treated as instances of their parent class.
Encapsulation: Hides the internal state of an object and only exposes necessary functionality.
Abstraction: Shows only essent...
Program to duplicate elements in array of strings
Iterate through the array and check for duplicate elements
Store duplicate elements in a separate array
Return the array of duplicate elements
I applied via Naukri.com and was interviewed in Aug 2023. There were 2 interview rounds.
My framework is a combination of tools, libraries, coding standards, and guidelines used for automation testing.
My framework is based on the Page Object Model design pattern.
It uses Selenium WebDriver for browser automation.
It includes test data management using Excel or CSV files.
It has reporting capabilities using tools like ExtentReports or Allure.
It supports parallel execution of test cases using TestNG or JUnit.
The program removes duplicates from a given string using a Set data structure.
Create a LinkedHashSet to maintain the order of characters while removing duplicates
Iterate through each character in the input string and add it to the set
Convert the set back to a string and return the result
I have used Java Collections such as ArrayList, HashMap, and HashSet in my project.
ArrayList: Used to store and manipulate a list of elements.
HashMap: Used to store key-value pairs for efficient retrieval.
HashSet: Used to store unique elements without duplicates.
File uploads in Selenium can be handled using the sendKeys() method to input the file path.
Use the sendKeys() method to input the file path in the file upload field
Make sure the file path is correct and accessible
Verify the file upload by checking for the presence of the uploaded file on the page
Resolve merge conflicts in git by using git commands and tools.
Use 'git status' to identify conflicted files
Open conflicted file(s) in text editor and resolve conflicts manually
Use 'git add' to stage resolved files
Commit changes using 'git commit'
Use 'git merge --abort' to abort merge if needed
Various Git commands used for version control and collaboration
git clone: to clone a repository from a remote server
git add: to stage changes for commit
git commit: to save changes to the local repository
git push: to push changes to a remote repository
git pull: to fetch and merge changes from a remote repository
git branch: to create, list, delete, or switch branches
git merge: to merge changes from one branch into anothe...
Code to reverse a string using building function
I applied via Naukri.com and was interviewed in Sep 2023. There were 3 interview rounds.
I applied via Company Website and was interviewed in Oct 2023. There were 2 interview rounds.
Aptitude test were not competitive. They ask average questions.
In group discussion they ask testing and product based related questions.but iam a developer so it's difficult to handle.
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
based on 2 reviews
Rating in categories
Software Engineer
115
salaries
| ₹3.2 L/yr - ₹9 L/yr |
Softwaretest Engineer
70
salaries
| ₹3.8 L/yr - ₹8 L/yr |
Software Developer
56
salaries
| ₹3.2 L/yr - ₹8.5 L/yr |
Devops Engineer
39
salaries
| ₹4 L/yr - ₹7.8 L/yr |
Test Engineer
24
salaries
| ₹4 L/yr - ₹6.8 L/yr |
TCS
Accenture
Cognizant
Infosys